| <html> |
| <head> |
| <script src="../fast/js/resources/js-test-pre.js"></script> |
| <script src="resources/web-intents-testing.js"></script> |
| <script> |
| function buttonClicked() { |
| startIntentWithCallbacks(); |
| |
| if (window.testRunner) { |
| // Empty args will send failure message. |
| window.testRunner.sendWebIntentResponse(); |
| } |
| } |
| </script> |
| </head> |
| <body onload="simulateButtonPress()"> |
| <input type="button" id="button" value="Start Web Intent" onmouseup="buttonClicked()"> |
| <script src="../fast/js/resources/js-test-post.js"></script> |
| </body> |
| </html> |