OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <script src="../../resources/js-test.js"></script> | 2 <script src="../../resources/js-test.js"></script> |
3 <base href="foo/bar/"> | 3 <base href="foo/bar/"> |
4 <body></body> | 4 <body></body> |
5 <script> | 5 <script> |
6 | 6 |
7 if (window.testRunner) { | 7 if (window.testRunner) { |
8 // FIXME: setCanOpenWindows needs the test to be async or the Apple port cra
shes. | 8 // FIXME: setCanOpenWindows needs the test to be async or the Apple port cra
shes. |
9 // https://bugs.webkit.org/show_bug.cgi?id=99465 | 9 // https://bugs.webkit.org/show_bug.cgi?id=99465 |
10 window.jsTestIsAsync = true; | 10 window.jsTestIsAsync = true; |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
47 base.setAttribute('href', 'foo/bar/'); | 47 base.setAttribute('href', 'foo/bar/'); |
48 shouldBeEqualToString("newWindow.document.querySelector('base').href", ''); | 48 shouldBeEqualToString("newWindow.document.querySelector('base').href", ''); |
49 newWindow.close(); | 49 newWindow.close(); |
50 | 50 |
51 </script> | 51 </script> |
52 <script> | 52 <script> |
53 | 53 |
54 finishJSTest(); | 54 finishJSTest(); |
55 | 55 |
56 </script> | 56 </script> |
OLD | NEW |