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

Unified Diff: LayoutTests/fast/dom/htmlcollection-enumerated-properties.html

Issue 157813013: Update the order of named properties on HTMLCollection objects (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Reup Created 6 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | Source/core/html/HTMLCollection.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/dom/htmlcollection-enumerated-properties.html
diff --git a/LayoutTests/fast/dom/htmlcollection-enumerated-properties.html b/LayoutTests/fast/dom/htmlcollection-enumerated-properties.html
index fa3c6aefb57399ecfb1ef8e52a5ea8b5188615a0..c9addb127ba180a782a524078f8fbd0d088d5949 100644
--- a/LayoutTests/fast/dom/htmlcollection-enumerated-properties.html
+++ b/LayoutTests/fast/dom/htmlcollection-enumerated-properties.html
@@ -24,11 +24,11 @@ shouldBe("htmlCollection.length", "6");
// - The supported property names are the values from the list returned by these steps:
// 1. Let result be an empty list.
// 2. For each element represented by the collection, in tree order, run these substeps:
-// 1. If element is in the HTML namespace and has a name attribute whose value is neither the empty string
+// 1. If element has an ID which is neither the empty string nor is in result, append element's ID to result.
+// 2. If element is in the HTML namespace and has a name attribute whose value is neither the empty string
// nor is in result, append element's name attribute value to result.
-// 2. If element has an ID which is neither the empty string nor is in result, append element's ID to result.
// 3. Return result.
-var expectedEnumeratedProperties = ["0", "1" , "2", "3", "4", "5", "length", "name1", "id1", "id2", "id3", "name4", "id4", "name5", "name6", "item", "namedItem"];
+var expectedEnumeratedProperties = ["0", "1" , "2", "3", "4", "5", "length", "id1", "name1", "id2", "id3", "id4", "name4", "name5", "name6", "item", "namedItem"];
var enumeratedProperties = [];
for (var property in htmlCollection) {
« no previous file with comments | « no previous file | Source/core/html/HTMLCollection.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698