OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <title>Test how event handlers work with isolated Worlds</title> | 3 <title>Test how event handlers work with isolated Worlds</title> |
4 <script> | 4 <script> |
5 | 5 |
6 // This test is meaningless without testRunner. | 6 // This test is meaningless without testRunner. |
7 if (window.testRunner && window.eventSender) { | 7 if (window.testRunner && window.eventSender) { |
8 | 8 |
9 testRunner.dumpAsText(); | 9 testRunner.dumpAsText(); |
10 testRunner.waitUntilDone(); | 10 testRunner.waitUntilDone(); |
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
97 newTest("XHR attribute event listeners should fire in the world where th
ey were created"); | 97 newTest("XHR attribute event listeners should fire in the world where th
ey were created"); |
98 runTestInWorld(1, "xhrEventListener"); | 98 runTestInWorld(1, "xhrEventListener"); |
99 } | 99 } |
100 } | 100 } |
101 </script> | 101 </script> |
102 <body onload="runTest()"> | 102 <body onload="runTest()"> |
103 <div id="test"></div> | 103 <div id="test"></div> |
104 <div id="log"></div> | 104 <div id="log"></div> |
105 </body> | 105 </body> |
106 </html> | 106 </html> |
OLD | NEW |