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 src="resources/location-tests-functions.js"></script> | 4 <script src="resources/location-tests-functions.js"></script> |
5 </head> | 5 </head> |
6 <body> | 6 <body> |
7 <script> | 7 <script> |
8 if (window.testRunner) | 8 if (window.testRunner) |
9 testRunner.waitUntilDone(); | 9 testRunner.waitUntilDone(); |
10 | 10 |
11 var result; | 11 var result; |
12 function frameLoaded() | 12 function frameLoaded() |
13 { | 13 { |
14 result = normalizeURL(String(window.frames[0].location)); | 14 result = normalizeURL(String(window.frames[0].location)); |
15 shouldBe("result", "'pass.html'"); | 15 shouldBe("result", "'pass.html'"); |
16 if (window.testRunner) | 16 if (window.testRunner) |
17 testRunner.notifyDone(); | 17 testRunner.notifyDone(); |
18 } | 18 } |
19 </script> | 19 </script> |
20 <iframe onload="frameLoaded()" src="resources/window-shadow-location-using-strin
g-iframe.html"></iframe> | 20 <iframe onload="frameLoaded()" src="resources/window-shadow-location-using-strin
g-iframe.html"></iframe> |
21 </body> | 21 </body> |
22 </html> | 22 </html> |
OLD | NEW |