Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(633)

Side by Side Diff: LayoutTests/fast/dom/HTMLBaseElement/href-attribute-resolves-with-respect-to-document.html

Issue 58533003: Move fast/js/resources files to resources. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <script src="../../js/resources/js-test-pre.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;
11 testRunner.waitUntilDone(); 11 testRunner.waitUntilDone();
12 testRunner.setCanOpenWindows(); 12 testRunner.setCanOpenWindows();
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 base.setAttribute('href', 'foo/bar/'); 48 base.setAttribute('href', 'foo/bar/');
49 shouldBeEqualToString("newWindow.document.querySelector('base').href", ''); 49 shouldBeEqualToString("newWindow.document.querySelector('base').href", '');
50 newWindow.close(); 50 newWindow.close();
51 51
52 </script> 52 </script>
53 <script> 53 <script>
54 54
55 finishJSTest(); 55 finishJSTest();
56 56
57 </script> 57 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698