| OLD | NEW |
| 1 <html> | 1 <html> |
| 2 <head> | 2 <head> |
| 3 <script src="../js/resources/js-test-pre.js"></script> | 3 <script src="../../resources/js-test.js"></script> |
| 4 <script> | 4 <script> |
| 5 if (window.testRunner) { | 5 if (window.testRunner) { |
| 6 testRunner.dumpAsText(); | 6 testRunner.dumpAsText(); |
| 7 testRunner.waitUntilDone(); | 7 testRunner.waitUntilDone(); |
| 8 } | 8 } |
| 9 | 9 |
| 10 var iframeHasLoadedFirstPage = false; | 10 var iframeHasLoadedFirstPage = false; |
| 11 | 11 |
| 12 function runTest() | 12 function runTest() |
| 13 { | 13 { |
| (...skipping 13 matching lines...) Expand all Loading... |
| 27 | 27 |
| 28 </script> | 28 </script> |
| 29 </head> | 29 </head> |
| 30 <body> | 30 <body> |
| 31 <script> | 31 <script> |
| 32 description("This tests that an iframe with no src attribute uses the parent doc
ument's origin when resolving links inserted into the frame via JavaScript."); | 32 description("This tests that an iframe with no src attribute uses the parent doc
ument's origin when resolving links inserted into the frame via JavaScript."); |
| 33 </script> | 33 </script> |
| 34 <iframe id="theFrame" onload="runTest()"></iframe> | 34 <iframe id="theFrame" onload="runTest()"></iframe> |
| 35 </body> | 35 </body> |
| 36 </html> | 36 </html> |
| OLD | NEW |