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 { | 13 { |
14 runTest(); | 14 runTest(); |
15 if (window.testRunner) | 15 if (window.testRunner) |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
57 shouldBeTrue("canGet('targetWindow.location.replace')"); | 57 shouldBeTrue("canGet('targetWindow.location.replace')"); |
58 | 58 |
59 } | 59 } |
60 </script> | 60 </script> |
61 </head> | 61 </head> |
62 <body> | 62 <body> |
63 <iframe src="http://localhost:8000/security/resources/cross-frame-iframe-for
-location-get-test.html"></iframe> | 63 <iframe src="http://localhost:8000/security/resources/cross-frame-iframe-for
-location-get-test.html"></iframe> |
64 <pre id="console"></pre> | 64 <pre id="console"></pre> |
65 </body> | 65 </body> |
66 </html> | 66 </html> |
OLD | NEW |