| 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 21 matching lines...) Expand all Loading... |
| 37 shouldBeTrue("canGet('targetWindow.location.replace')"); | 37 shouldBeTrue("canGet('targetWindow.location.replace')"); |
| 38 shouldBe("toString('targetWindow.location.replace')", "toString('win
dow.location.replace')"); | 38 shouldBe("toString('targetWindow.location.replace')", "toString('win
dow.location.replace')"); |
| 39 } | 39 } |
| 40 </script> | 40 </script> |
| 41 </head> | 41 </head> |
| 42 <body> | 42 <body> |
| 43 <iframe src="http://localhost:8000/security/resources/cross-frame-iframe-for-loc
ation-get-override-test.html"></iframe> | 43 <iframe src="http://localhost:8000/security/resources/cross-frame-iframe-for-loc
ation-get-override-test.html"></iframe> |
| 44 <pre id="console"></pre> | 44 <pre id="console"></pre> |
| 45 </body> | 45 </body> |
| 46 </html> | 46 </html> |
| OLD | NEW |