3 <script src="../fast/js/resources/js-test-pre.js"></script>
4 <script src="resources/web-intents-testing.js"></script>
6 function buttonClicked() {
7 startIntentWithCallbacks();
9 if (window.layoutTestController) {
10 // Empty args will send failure message.
11 window.layoutTestController.sendWebIntentResponse();
16 <body onload="simulateButtonPress()">
17 <input type="button" id="button" value="Start Web Intent" onmouseup="buttonClicked()">
18 <script src="../fast/js/resources/js-test-post.js"></script>