OLD | NEW |
1 <html> | 1 <html> |
2 <head> | 2 <head> |
3 <script src="resources/cross-frame-access.js"></script> | 3 <script src="resources/cross-frame-access.js"></script> |
4 <script> | 4 <script> |
5 window.onload = function() | 5 // FIXME[11] window.onload = function() |
6 { | 6 { |
7 if (window.testRunner) { | 7 if (window.testRunner) { |
8 testRunner.dumpAsText(); | 8 testRunner.dumpAsText(); |
9 testRunner.waitUntilDone(); | 9 testRunner.waitUntilDone(); |
10 } | 10 } |
11 | 11 |
12 window.addEventListener('message', function () { | 12 window.addEventListener('message', function () { |
13 runTest(); | 13 runTest(); |
14 if (window.testRunner) | 14 if (window.testRunner) |
15 testRunner.notifyDone(); | 15 testRunner.notifyDone(); |
(...skipping 19 matching lines...) Expand all Loading... |
35 shouldBeTrue("canGet('targetWindow.close')"); | 35 shouldBeTrue("canGet('targetWindow.close')"); |
36 shouldBe("toString('targetWindow.close')", "toString('window.close')
"); | 36 shouldBe("toString('targetWindow.close')", "toString('window.close')
"); |
37 } | 37 } |
38 </script> | 38 </script> |
39 </head> | 39 </head> |
40 <body> | 40 <body> |
41 <iframe src="http://localhost:8000/security/resources/cross-frame-iframe-for-get
-override-test.html"></iframe> | 41 <iframe src="http://localhost:8000/security/resources/cross-frame-iframe-for-get
-override-test.html"></iframe> |
42 <pre id="console"></pre> | 42 <pre id="console"></pre> |
43 </body> | 43 </body> |
44 </html> | 44 </html> |
OLD | NEW |