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

Side by Side Diff: third_party/WebKit/LayoutTests/imported/wpt/dom/traversal/NodeIterator-removal.html

Issue 2012333004: Fix testharness paths in imported/wpt/{dom,html}. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 months 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
OLDNEW
1 <!doctype html> 1 <!doctype html>
2 <title>NodeIterator removal tests</title> 2 <title>NodeIterator removal tests</title>
3 <link rel="author" title="Aryeh Gregor" href=ayg@aryeh.name> 3 <link rel="author" title="Aryeh Gregor" href=ayg@aryeh.name>
4 <meta name=timeout content=long> 4 <meta name=timeout content=long>
5 <div id=log></div> 5 <div id=log></div>
6 <script src=../../../../resources/testharness.js></script> 6 <script src=/resources/testharness.js></script>
7 <script src=../../../../resources/testharnessreport.js></script> 7 <script src=/resources/testharnessreport.js></script>
8 <script src=../common.js></script> 8 <script src=../common.js></script>
9 <script> 9 <script>
10 "use strict"; 10 "use strict";
11 11
12 for (var i = 0; i < testNodes.length; i++) { 12 for (var i = 0; i < testNodes.length; i++) {
13 var node = eval(testNodes[i]); 13 var node = eval(testNodes[i]);
14 if (!node.parentNode) { 14 if (!node.parentNode) {
15 // Nothing to test 15 // Nothing to test
16 continue; 16 continue;
17 } 17 }
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 assert_equals(iter.pointerBeforeReferenceNode, expectedPointers[j], 91 assert_equals(iter.pointerBeforeReferenceNode, expectedPointers[j],
92 ".pointerBeforeReferenceNode of " + descs[j]); 92 ".pointerBeforeReferenceNode of " + descs[j]);
93 } 93 }
94 94
95 oldParent.insertBefore(node, oldSibling); 95 oldParent.insertBefore(node, oldSibling);
96 }, "Test removing node " + testNodes[i]); 96 }, "Test removing node " + testNodes[i]);
97 } 97 }
98 98
99 testDiv.style.display = "none"; 99 testDiv.style.display = "none";
100 </script> 100 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698