OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <script src="../js/resources/js-test-pre.js"></script> | 4 <script src="../../resources/js-test.js"></script> |
5 </head> | 5 </head> |
6 <body> | 6 <body> |
7 <script> | 7 <script> |
8 window.jsTestIsAsync = true; | 8 window.jsTestIsAsync = true; |
9 description("Tests that properties of various events do not leak between isolate
d worlds (bug 85158)."); | 9 description("Tests that properties of various events do not leak between isolate
d worlds (bug 85158)."); |
10 | 10 |
11 function addListener(eventType, prop) { | 11 function addListener(eventType, prop) { |
12 document.addEventListener(eventType, function(event) { | 12 document.addEventListener(eventType, function(event) { |
13 documentObject = event[prop]; | 13 documentObject = event[prop]; |
14 | 14 |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 runScript(evt.eventType, evt.prop); | 61 runScript(evt.eventType, evt.prop); |
62 }; | 62 }; |
63 | 63 |
64 // This test is meaningless without testRunner. | 64 // This test is meaningless without testRunner. |
65 if (window.testRunner) { | 65 if (window.testRunner) { |
66 runNextTest(); | 66 runNextTest(); |
67 } | 67 } |
68 </script> | 68 </script> |
69 </body> | 69 </body> |
70 </html> | 70 </html> |
OLD | NEW |