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 16 matching lines...) Expand all Loading... |
30 | 30 |
31 </script> | 31 </script> |
32 </head> | 32 </head> |
33 <body> | 33 <body> |
34 <script> | 34 <script> |
35 description("This tests that an iframe with no src attribute uses the parent doc
ument's URL as a base when resolving non-fully-qualified URLs set by JavaScript.
"); | 35 description("This tests that an iframe with no src attribute uses the parent doc
ument's URL as a base when resolving non-fully-qualified URLs set by JavaScript.
"); |
36 </script> | 36 </script> |
37 <iframe id="theFrame" onload="runTest()"></iframe> | 37 <iframe id="theFrame" onload="runTest()"></iframe> |
38 </body> | 38 </body> |
39 </html> | 39 </html> |
OLD | NEW |