| 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 window.onload = function() |
| 6 { | 6 { |
| 7 if (window.testRunner) { | 7 if (window.testRunner) { |
| 8 testRunner.dumpAsText(); | 8 testRunner.dumpAsText(); |
| 9 testRunner.dumpChildFramesAsText(); | 9 testRunner.dumpChildFramesAsText(); |
| 10 testRunner.setDumpConsoleMessages(false); |
| 10 testRunner.waitUntilDone(); | 11 testRunner.waitUntilDone(); |
| 11 testRunner.setCanOpenWindows(); | 12 testRunner.setCanOpenWindows(); |
| 12 testRunner.setCloseRemainingWindowsWhenComplete(true); | 13 testRunner.setCloseRemainingWindowsWhenComplete(true); |
| 13 } | 14 } |
| 14 window.frames[0].postMessage('run test', '*'); | 15 window.frames[0].postMessage('run test', '*'); |
| 15 } | 16 } |
| 16 </script> | 17 </script> |
| 17 </head> | 18 </head> |
| 18 <body> | 19 <body> |
| 19 <pre id='console'></pre> | 20 <pre id='console'></pre> |
| 20 <iframe src="http://localhost:8000/security/frameNavigation/resources/frame-with
-link-to-navigate.html"></iframe> | 21 <iframe src="http://localhost:8000/security/frameNavigation/resources/frame-with
-link-to-navigate.html"></iframe> |
| 21 <iframe name="toNavigate" src="http://127.0.0.1:8000/security/resources/cross-fr
ame-iframe.html"></iframe> | 22 <iframe name="toNavigate" src="http://127.0.0.1:8000/security/resources/cross-fr
ame-iframe.html"></iframe> |
| 22 </body> | 23 </body> |
| 23 </html> | 24 </html> |
| OLD | NEW |