<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) { | |
window.testRunner.sendWebIntentResponse("reply"); | |
} | |
} | |
</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> |