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

Side by Side Diff: third_party/WebKit/LayoutTests/imported/wpt/dom/collections/HTMLCollection-supported-property-indices.html

Issue 1984023002: Move web-platform-tests to wpt (part 1 of 2) (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 <meta charset=utf-8> 2 <meta charset=utf-8>
3 <title></title> 3 <title></title>
4 <script src=../../../../resources/testharness.js></script> 4 <script src=../../../../resources/testharness.js></script>
5 <script src=../../../../resources/testharnessreport.js></script> 5 <script src=../../../../resources/testharnessreport.js></script>
6 <!-- We want to use a tag name that will not interact with our test harness, 6 <!-- We want to use a tag name that will not interact with our test harness,
7 so just make one up. "foo" is a good one --> 7 so just make one up. "foo" is a good one -->
8 8
9 <!-- Ids that look like negative indices. These should come first, so we can 9 <!-- Ids that look like negative indices. These should come first, so we can
10 assert that lookups for nonnegative indices find these by index --> 10 assert that lookups for nonnegative indices find these by index -->
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 document.getElementById("4294967296")); 91 document.getElementById("4294967296"));
92 assert_equals(collection.namedItem(4294967297), 92 assert_equals(collection.namedItem(4294967297),
93 document.getElementById("4294967297")); 93 document.getElementById("4294967297"));
94 assert_equals(collection[4294967293], undefined); 94 assert_equals(collection[4294967293], undefined);
95 assert_equals(collection[4294967294], undefined); 95 assert_equals(collection[4294967294], undefined);
96 assert_equals(collection[4294967295], document.getElementById("4294967295")); 96 assert_equals(collection[4294967295], document.getElementById("4294967295"));
97 assert_equals(collection[4294967296], document.getElementById("4294967296")); 97 assert_equals(collection[4294967296], document.getElementById("4294967296"));
98 assert_equals(collection[4294967297], document.getElementById("4294967297")); 98 assert_equals(collection[4294967297], document.getElementById("4294967297"));
99 }, "Handling of property names that look like integers around 2^32"); 99 }, "Handling of property names that look like integers around 2^32");
100 </script> 100 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698