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

Side by Side Diff: third_party/WebKit/LayoutTests/imported/wpt/dom/nodes/Element-children.html

Issue 1988983002: Move the dom directory from web-platform-tests/ to wpt/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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>HTMLCollection edge cases</title> 2 <title>HTMLCollection edge cases</title>
3 <script src="../../../../resources/testharness.js"></script> 3 <script src="../../../../resources/testharness.js"></script>
4 <script src="../../../../resources/testharnessreport.js"></script> 4 <script src="../../../../resources/testharnessreport.js"></script>
5 <div id="log"></div> 5 <div id="log"></div>
6 <div id="test"><img><img id=foo><img id=foo><img name="bar"></div> 6 <div id="test"><img><img id=foo><img id=foo><img name="bar"></div>
7 <script> 7 <script>
8 setup(function() { 8 setup(function() {
9 // Add some non-HTML elements in there to test what happens with those. 9 // Add some non-HTML elements in there to test what happens with those.
10 var container = document.getElementById("test"); 10 var container = document.getElementById("test");
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 49
50 var unexposedNames = ['qux']; 50 var unexposedNames = ['qux'];
51 for (var unexposedName of unexposedNames) { 51 for (var unexposedName of unexposedNames) {
52 assert_false(unexposedName in list); 52 assert_false(unexposedName in list);
53 assert_false(list.hasOwnProperty(unexposedName)); 53 assert_false(list.hasOwnProperty(unexposedName));
54 assert_equals(list[unexposedName], undefined); 54 assert_equals(list[unexposedName], undefined);
55 assert_equals(list.namedItem(unexposedName), null); 55 assert_equals(list.namedItem(unexposedName), null);
56 } 56 }
57 }); 57 });
58 </script> 58 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698