3 <script src="../fast/js/resources/js-test-pre.js"></script>
4 <script src="resources/web-intents-testing.js"></script>
8 function buttonClicked() {
9 frames[0].startIntent();
12 function frameloaded() {
19 debug("* loaded replacement page");
21 if (window.layoutTestController) {
22 window.layoutTestController.notifyDone();
26 function startTest() {
27 if (window.layoutTestController) {
28 window.layoutTestController.waitUntilDone();
29 window.layoutTestController.dumpChildFramesAsText();
31 alert('This test needs to run in DRT');
36 simulateButtonPress();
37 debug("* sent mouseup");
42 <input type="button" id="button" value="Start Web Intent" onmouseup="buttonClicked()">
43 <iframe id="frame" onload="frameloaded()" src="resources/web-intents-reload-orig.html"></iframe>