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

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

Issue 1291723004: Remove all support for <applet> handling in Chrome. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Hopefully all the tests Created 5 years, 4 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
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 061d379467d7a6060d5835dbb2a1d16b386ef17c..43ab04793d136a9bd0cabb8bc451b946bd9b780f 100644
--- a/LayoutTests/fast/dom/htmlallcollection-enumerated-properties.html
+++ b/LayoutTests/fast/dom/htmlallcollection-enumerated-properties.html
@@ -4,7 +4,6 @@
<script src="../../resources/js-test.js"></script>
<a href="#" id="aId1" name="aName1"></a>
-<applet code="#" width="0" height="0" id="appletId1" name="appletName1"></applet>
dcheng 2015/08/19 18:44:17 Since this test exercises the enumeration of the w
<map id="mapId1" name="mapName1">
<area shape="rect" coords="0,0,82,126" href="#" id="areaId1" name="areaName1"/>
<area shape="circle" coords="90,58,3" href="#" id="areaId2" name="areaName2"/>
@@ -27,15 +26,15 @@ description("This tests verifies the enumerated properties on HTMLAllCollection
var htmlAllCollection = document.all;
shouldBe("htmlAllCollection.__proto__", "HTMLAllCollection.prototype");
shouldBe("htmlAllCollection.__proto__.__proto__", "HTMLCollection.prototype");
-shouldBe("htmlAllCollection.length", "35");
+shouldBe("htmlAllCollection.length", "34");
// As per http://www.whatwg.org/specs/web-apps/current-work/multipage/common-dom-interfaces.html#htmlallcollection-0:
// The supported property names consist of the non-empty values of all the id attributes of all the elements
-// represented by the collection, and the non-empty values of all the name attributes of all the a, applet, area,
+// represented by the collection, and the non-empty values of all the name attributes of all the a, area,
// 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"].sort();
+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", "length", "description", "console", "aId1", "aName1", "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) {

Powered by Google App Engine
This is Rietveld 408576698