| Index: third_party/WebKit/LayoutTests/imported/wpt/html/dom/documents/dom-tree-accessors/document.forms.html
|
| diff --git a/third_party/WebKit/LayoutTests/imported/wpt/html/dom/documents/dom-tree-accessors/document.forms.html b/third_party/WebKit/LayoutTests/imported/wpt/html/dom/documents/dom-tree-accessors/document.forms.html
|
| index 29a91e0e21b3328e42999de028b2e8a277c97d0e..3bb89f498c14c40281904854d144af08e93e7f6d 100644
|
| --- a/third_party/WebKit/LayoutTests/imported/wpt/html/dom/documents/dom-tree-accessors/document.forms.html
|
| +++ b/third_party/WebKit/LayoutTests/imported/wpt/html/dom/documents/dom-tree-accessors/document.forms.html
|
| @@ -53,6 +53,13 @@ test(function() {
|
| for (var p in document.forms) {
|
| result.push(p);
|
| }
|
| + // http://heycam.github.io/webidl/#property-enumeration
|
| + // If the object supports indexed properties, then the object’s supported
|
| + // property indices are enumerated first, in numerical order.
|
| + assert_array_equals(result.splice(0, 2), ["0", "1", "2"]);
|
| + // [...]
|
| + // Finally, any enumerable own properties or properties from the object’s
|
| + // prototype chain are then enumerated, in no defined order.
|
| assert_array_equals(result.sort(), ["0", "1", "2", "item", "namedItem", "length"].sort())
|
| }, "document.forms iteration")
|
|
|
|
|