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

Side by Side Diff: third_party/WebKit/LayoutTests/imported/wpt/dom/nodes/Node-childNodes.html

Issue 2408083002: Revert of Import wpt@357b83b809e3cbc7a1805e7c3ca108a7980d782f (Closed)
Patch Set: Created 4 years, 2 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 <meta charset=utf-8> 2 <meta charset=utf-8>
3 <title>Node.childNodes</title> 3 <title>Node.childNodes</title>
4 <link rel=help href="https://dom.spec.whatwg.org/#dom-node-childnodes"> 4 <link rel=help href="https://dom.spec.whatwg.org/#dom-node-childnodes">
5 <link rel=author title="Tim Taubert" href="mailto:ttaubert@mozilla.com"> 5 <link rel=author title="Tim Taubert" href="mailto:ttaubert@mozilla.com">
6 <link rel=author title="Ms2ger" href="mailto:Ms2ger@gmail.com"> 6 <link rel=author title="Ms2ger" href="mailto:Ms2ger@gmail.com">
7 <script src="/resources/testharness.js"></script> 7 <script src="/resources/testharness.js"></script>
8 <script src="/resources/testharnessreport.js"></script> 8 <script src="/resources/testharnessreport.js"></script>
9 <div id="log"></div> 9 <div id="log"></div>
10 <script> 10 <script>
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 assert_equals(listObj, list); 83 assert_equals(listObj, list);
84 assert_equals(this, thisObj); 84 assert_equals(this, thisObj);
85 assert_equals(value, values[cur]); 85 assert_equals(value, values[cur]);
86 assert_equals(key, keys[cur]); 86 assert_equals(key, keys[cur]);
87 cur++; 87 cur++;
88 }, thisObj); 88 }, thisObj);
89 assert_equals(cur, entries.length); 89 assert_equals(cur, entries.length);
90 90
91 assert_equals(list[Symbol.iterator], Array.prototype[Symbol.iterator]); 91 assert_equals(list[Symbol.iterator], Array.prototype[Symbol.iterator]);
92 assert_equals(list.keys, Array.prototype.keys); 92 assert_equals(list.keys, Array.prototype.keys);
93 if (Array.prototype.values) { 93 assert_equals(list.values, Array.prototype.values);
94 assert_equals(list.values, Array.prototype.values);
95 }
96 assert_equals(list.entries, Array.prototype.entries); 94 assert_equals(list.entries, Array.prototype.entries);
97 assert_equals(list.forEach, Array.prototype.forEach); 95 assert_equals(list.forEach, Array.prototype.forEach);
98 }, "Iterator behavior of Node.childNodes"); 96 }, "Iterator behavior of Node.childNodes");
99 </script> 97 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698