Pass | Object.getOwnPropertyNames on HTMLCollection | Asserts runPass | assert_array_equals(["0", "1", "2", "3", "4", "5", "6", "7", "some-id", "some-name", "another-id", "another-name"], ["0", "1", "2", "3", "4", "5", "6", "7", "some-id", "some-name", "another-id", "another-name"])
at Test.<anonymous> ( /dom/collections/HTMLCollection-supported-property-names.html:28:3) |
|
Pass | Object.getOwnPropertyNames on HTMLCollection with non-HTML namespace | Asserts runPass | assert_array_equals(["0"], ["0"])
at Test.<anonymous> ( /dom/collections/HTMLCollection-supported-property-names.html:41:3) |
|
Pass | Object.getOwnPropertyNames on HTMLCollection with expando object | Asserts runPass | assert_array_equals(["0", "someProperty"], ["0", "someProperty"])
at Test.<anonymous> ( /dom/collections/HTMLCollection-supported-property-names.html:52:3) |
|
Pass | Trying to set an expando that would shadow an already-existing named property | Asserts runPass | assert_equals(Element node <span id="some-id"></span>, Element node <span id="some-id"></span>)
at Test.<anonymous> ( /dom/collections/HTMLCollection-supported-property-names.html:59:3) | Pass | assert_false(false)
at Test.<anonymous> ( /dom/collections/HTMLCollection-supported-property-names.html:60:3) | Pass | assert_true(true)
at Test.<anonymous> ( /dom/collections/HTMLCollection-supported-property-names.html:61:3) | Pass | assert_false(false)
at Test.<anonymous> ( /dom/collections/HTMLCollection-supported-property-names.html:62:3) | Pass | assert_equals(Element node <span id="some-id"></span>, Element node <span id="some-id"></span>)
at Test.<anonymous> ( /dom/collections/HTMLCollection-supported-property-names.html:65:3) | Pass | assert_throws_js(function "function TypeError() { [native code] }", function "function() { "use strict"; elements["some-id"] = 5; }")
at Test.<anonymous> ( /dom/collections/HTMLCollection-supported-property-names.html:66:3) | Pass | assert_throws_js(function "function TypeError() { [native code] }", function "function() { Object.defineProperty(elements, "some-id", { value: 5 }); }")
at Test.<anonymous> ( /dom/collections/HTMLCollection-supported-property-names.html:70:3) | Pass | assert_equals(Element node <span id="some-id"></span>, Element node <span id="some-id"></span>)
at Test.<anonymous> ( /dom/collections/HTMLCollection-supported-property-names.html:75:3) | Pass | assert_throws_js(function "function TypeError() { [native code] }", function "function() { "use strict"; delete elements["some-id"]; }")
at Test.<anonymous> ( /dom/collections/HTMLCollection-supported-property-names.html:77:3) | Pass | assert_equals(Element node <span id="some-id"></span>, Element node <span id="some-id"></span>)
at Test.<anonymous> ( /dom/collections/HTMLCollection-supported-property-names.html:81:3) |
|
Pass | Trying to set an expando that shadows a named property that gets added later | Asserts runPass | assert_equals(undefined, undefined)
at Test.<anonymous> ( /dom/collections/HTMLCollection-supported-property-names.html:89:3) | Pass | assert_equals(undefined, undefined)
at Test.<anonymous> ( /dom/collections/HTMLCollection-supported-property-names.html:90:3) | Pass | assert_equals(5, 5)
at Test.<anonymous> ( /dom/collections/HTMLCollection-supported-property-names.html:93:3) | Pass | assert_equals(Element node <span id="new-id"></span>, Element node <span id="new-id"></span>)
at Test.<anonymous> ( /dom/collections/HTMLCollection-supported-property-names.html:100:3) | Pass | assert_equals(5, 5)
at Test.<anonymous> ( /dom/collections/HTMLCollection-supported-property-names.html:101:3) | Pass | assert_equals(Element node <span id="new-id"></span>, Element node <span id="new-id"></span>)
at Test.<anonymous> ( /dom/collections/HTMLCollection-supported-property-names.html:104:3) |
|
Pass | Trying to set a non-configurable expando that shadows a named property that gets added later | Asserts runPass | assert_equals(undefined, undefined)
at Test.<anonymous> ( /dom/collections/HTMLCollection-supported-property-names.html:111:3) | Pass | assert_equals(undefined, undefined)
at Test.<anonymous> ( /dom/collections/HTMLCollection-supported-property-names.html:112:3) | Pass | assert_equals(5, 5)
at Test.<anonymous> ( /dom/collections/HTMLCollection-supported-property-names.html:116:3) | Pass | assert_equals(Element node <span id="new-id2"></span>, Element node <span id="new-id2"></span>)
at Test.<anonymous> ( /dom/collections/HTMLCollection-supported-property-names.html:123:3) | Pass | assert_equals(5, 5)
at Test.<anonymous> ( /dom/collections/HTMLCollection-supported-property-names.html:124:3) | Pass | assert_equals(5, 5)
at Test.<anonymous> ( /dom/collections/HTMLCollection-supported-property-names.html:127:3) | Pass | assert_throws_js(function "function TypeError() { [native code] }", function "function() { "use strict"; delete elements["new-id2"]; }")
at Test.<anonymous> ( /dom/collections/HTMLCollection-supported-property-names.html:129:3) | Pass | assert_equals(5, 5)
at Test.<anonymous> ( /dom/collections/HTMLCollection-supported-property-names.html:133:3) |
|