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

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

Issue 906963002: layout tests: Fixes property enumeration tests. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 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 | LayoutTests/fast/dom/htmlcollection-enumerated-properties.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/dom/htmlallcollection-enumerated-properties.html
diff --git a/LayoutTests/fast/dom/htmlallcollection-enumerated-properties.html b/LayoutTests/fast/dom/htmlallcollection-enumerated-properties.html
index d819990b42a9bebbe903b7b7010f0f432654a3c2..061d379467d7a6060d5835dbb2a1d16b386ef17c 100644
--- a/LayoutTests/fast/dom/htmlallcollection-enumerated-properties.html
+++ b/LayoutTests/fast/dom/htmlallcollection-enumerated-properties.html
@@ -35,12 +35,13 @@ shouldBe("htmlAllCollection.length", "35");
// embed, form, frame, frameset, iframe, img, and object elements represented by the collection, in tree order,
// ignoring later duplicates, with the id of an element preceding its name if it contributes both, they differ from
// each other, and neither is the duplicate of an earlier entry.
-var expectedEnumeratedProperties = ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20", "21", "22", "23", "24", "25", "26", "27", "28", "29", "30", "31", "32", "33", "34", "35", "36", "37", "38", "length", "description", "console", "aId1", "aName1", "appletId1", "appletName1", "mapId1", "areaId1", "areaName1", "areaId2", "areaName2", "embedId1", "embedName1", "formId1", "formName1", "inputId1", "inputName1", "inputId2", "iframeId1", "iframeName1", "imgId8", "imgName8", "objectId1", "objectName1", "selectId1", "selectName1", "optionId1", "item", "namedItem"];
+var expectedEnumeratedProperties = ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20", "21", "22", "23", "24", "25", "26", "27", "28", "29", "30", "31", "32", "33", "34", "35", "36", "37", "38", "length", "description", "console", "aId1", "aName1", "appletId1", "appletName1", "mapId1", "areaId1", "areaName1", "areaId2", "areaName2", "embedId1", "embedName1", "formId1", "formName1", "inputId1", "inputName1", "inputId2", "iframeId1", "iframeName1", "imgId8", "imgName8", "objectId1", "objectName1", "selectId1", "selectName1", "optionId1", "item", "namedItem"].sort();
var enumeratedProperties = [];
for (var property in htmlAllCollection) {
enumeratedProperties[enumeratedProperties.length] = property;
}
+enumeratedProperties.sort();
shouldBe("enumeratedProperties", "expectedEnumeratedProperties");
</script>
</body>
« no previous file with comments | « no previous file | LayoutTests/fast/dom/htmlcollection-enumerated-properties.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698