Summary

Harness status: OK

Found 7 tests

Details

ResultTest NameMessage
PassHandling of property names that look like negative integers
Asserts run
Pass
assert_equals(null, null)
    at Test.<anonymous> ( /dom/collections/HTMLCollection-supported-property-indices.html:35:3)
Pass
assert_equals(null, null)
    at Test.<anonymous> ( /dom/collections/HTMLCollection-supported-property-indices.html:36:3)
Pass
assert_equals(Element node <foo id="-2"></foo>, Element node <foo id="-2"></foo>)
    at Test.<anonymous> ( /dom/collections/HTMLCollection-supported-property-indices.html:37:3)
Pass
assert_equals(Element node <foo id="-1"></foo>, Element node <foo id="-1"></foo>)
    at Test.<anonymous> ( /dom/collections/HTMLCollection-supported-property-indices.html:38:3)
Pass
assert_equals(Element node <foo id="-2"></foo>, Element node <foo id="-2"></foo>)
    at Test.<anonymous> ( /dom/collections/HTMLCollection-supported-property-indices.html:39:3)
Pass
assert_equals(Element node <foo id="-1"></foo>, Element node <foo id="-1"></foo>)
    at Test.<anonymous> ( /dom/collections/HTMLCollection-supported-property-indices.html:40:3)
PassHandling of property names that look like small nonnegative integers
Asserts run
Pass
assert_equals(Element node <foo id="-2"></foo>, Element node <foo id="-2"></foo>)
    at Test.<anonymous> ( /dom/collections/HTMLCollection-supported-property-indices.html:45:3)
Pass
assert_equals(Element node <foo id="-1"></foo>, Element node <foo id="-1"></foo>)
    at Test.<anonymous> ( /dom/collections/HTMLCollection-supported-property-indices.html:46:3)
Pass
assert_equals(Element node <foo id="0"></foo>, Element node <foo id="0"></foo>)
    at Test.<anonymous> ( /dom/collections/HTMLCollection-supported-property-indices.html:47:3)
Pass
assert_equals(Element node <foo id="1"></foo>, Element node <foo id="1"></foo>)
    at Test.<anonymous> ( /dom/collections/HTMLCollection-supported-property-indices.html:48:3)
Pass
assert_equals(Element node <foo id="-2"></foo>, Element node <foo id="-2"></foo>)
    at Test.<anonymous> ( /dom/collections/HTMLCollection-supported-property-indices.html:49:3)
Pass
assert_equals(Element node <foo id="-1"></foo>, Element node <foo id="-1"></foo>)
    at Test.<anonymous> ( /dom/collections/HTMLCollection-supported-property-indices.html:50:3)
PassHandling of property names that look like integers around 2^31
Asserts run
Pass
assert_equals(null, null)
    at Test.<anonymous> ( /dom/collections/HTMLCollection-supported-property-indices.html:55:3)
Pass
assert_equals(null, null)
    at Test.<anonymous> ( /dom/collections/HTMLCollection-supported-property-indices.html:56:3)
Pass
assert_equals(null, null)
    at Test.<anonymous> ( /dom/collections/HTMLCollection-supported-property-indices.html:57:3)
Pass
assert_equals(null, null)
    at Test.<anonymous> ( /dom/collections/HTMLCollection-supported-property-indices.html:58:3)
Pass
assert_equals(null, null)
    at Test.<anonymous> ( /dom/collections/HTMLCollection-supported-property-indices.html:59:3)
Pass
assert_equals(Element node <foo id="2147483645"></foo>, Element node <foo id="2147483645"></foo>)
    at Test.<anonymous> ( /dom/collections/HTMLCollection-supported-property-indices.html:60:3)
Pass
assert_equals(Element node <foo id="2147483646"></foo>, Element node <foo id="2147483646"></foo>)
    at Test.<anonymous> ( /dom/collections/HTMLCollection-supported-property-indices.html:62:3)
Pass
assert_equals(Element node <foo id="2147483647"></foo>, Element node <foo id="2147483647"></foo>)
    at Test.<anonymous> ( /dom/collections/HTMLCollection-supported-property-indices.html:64:3)
Pass
assert_equals(Element node <foo id="2147483648"></foo>, Element node <foo id="2147483648"></foo>)
    at Test.<anonymous> ( /dom/collections/HTMLCollection-supported-property-indices.html:66:3)
Pass
assert_equals(Element node <foo id="2147483649"></foo>, Element node <foo id="2147483649"></foo>)
    at Test.<anonymous> ( /dom/collections/HTMLCollection-supported-property-indices.html:68:3)
Pass
assert_equals(undefined, undefined)
    at Test.<anonymous> ( /dom/collections/HTMLCollection-supported-property-indices.html:70:3)
Pass
assert_equals(undefined, undefined)
    at Test.<anonymous> ( /dom/collections/HTMLCollection-supported-property-indices.html:71:3)
Pass
assert_equals(undefined, undefined)
    at Test.<anonymous> ( /dom/collections/HTMLCollection-supported-property-indices.html:72:3)
Pass
assert_equals(undefined, undefined)
    at Test.<anonymous> ( /dom/collections/HTMLCollection-supported-property-indices.html:73:3)
Pass
assert_equals(undefined, undefined)
    at Test.<anonymous> ( /dom/collections/HTMLCollection-supported-property-indices.html:74:3)
PassHandling of property names that look like integers around 2^32
Asserts run
Pass
assert_equals(null, null)
    at Test.<anonymous> ( /dom/collections/HTMLCollection-supported-property-indices.html:79:3)
Pass
assert_equals(null, null)
    at Test.<anonymous> ( /dom/collections/HTMLCollection-supported-property-indices.html:80:3)
Pass
assert_equals(null, null)
    at Test.<anonymous> ( /dom/collections/HTMLCollection-supported-property-indices.html:81:3)
Pass
assert_equals(Element node <foo id="-2"></foo>, Element node <foo id="-2"></foo>)
    at Test.<anonymous> ( /dom/collections/HTMLCollection-supported-property-indices.html:82:3)
Pass
assert_equals(Element node <foo id="-1"></foo>, Element node <foo id="-1"></foo>)
    at Test.<anonymous> ( /dom/collections/HTMLCollection-supported-property-indices.html:83:3)
Pass
assert_equals(Element node <foo id="4294967293"></foo>, Element node <foo id="4294967293"></foo>)
    at Test.<anonymous> ( /dom/collections/HTMLCollection-supported-property-indices.html:84:3)
Pass
assert_equals(Element node <foo id="4294967294"></foo>, Element node <foo id="4294967294"></foo>)
    at Test.<anonymous> ( /dom/collections/HTMLCollection-supported-property-indices.html:86:3)
Pass
assert_equals(Element node <foo id="4294967295"></foo>, Element node <foo id="4294967295"></foo>)
    at Test.<anonymous> ( /dom/collections/HTMLCollection-supported-property-indices.html:88:3)
Pass
assert_equals(Element node <foo id="4294967296"></foo>, Element node <foo id="4294967296"></foo>)
    at Test.<anonymous> ( /dom/collections/HTMLCollection-supported-property-indices.html:90:3)
Pass
assert_equals(Element node <foo id="4294967297"></foo>, Element node <foo id="4294967297"></foo>)
    at Test.<anonymous> ( /dom/collections/HTMLCollection-supported-property-indices.html:92:3)
Pass
assert_equals(undefined, undefined)
    at Test.<anonymous> ( /dom/collections/HTMLCollection-supported-property-indices.html:94:3)
Pass
assert_equals(undefined, undefined)
    at Test.<anonymous> ( /dom/collections/HTMLCollection-supported-property-indices.html:95:3)
Pass
assert_equals(Element node <foo id="4294967295"></foo>, Element node <foo id="4294967295"></foo>)
    at Test.<anonymous> ( /dom/collections/HTMLCollection-supported-property-indices.html:96:3)
Pass
assert_equals(Element node <foo id="4294967296"></foo>, Element node <foo id="4294967296"></foo>)
    at Test.<anonymous> ( /dom/collections/HTMLCollection-supported-property-indices.html:97:3)
Pass
assert_equals(Element node <foo id="4294967297"></foo>, Element node <foo id="4294967297"></foo>)
    at Test.<anonymous> ( /dom/collections/HTMLCollection-supported-property-indices.html:98:3)
PassTrying to set an expando that would shadow an already-existing indexed property
Asserts run
Pass
assert_equals(Element node <foo id="-2"></foo>, Element node <foo id="-2"></foo>)
    at Test.<anonymous> ( /dom/collections/HTMLCollection-supported-property-indices.html:105:3)
Pass
assert_true(true)
    at Test.<anonymous> ( /dom/collections/HTMLCollection-supported-property-indices.html:106:3)
Pass
assert_true(true)
    at Test.<anonymous> ( /dom/collections/HTMLCollection-supported-property-indices.html:107:3)
Pass
assert_false(false)
    at Test.<anonymous> ( /dom/collections/HTMLCollection-supported-property-indices.html:108:3)
Pass
assert_equals(Element node <foo id="-2"></foo>, Element node <foo id="-2"></foo>)
    at Test.<anonymous> ( /dom/collections/HTMLCollection-supported-property-indices.html:111:3)
Pass
assert_throws_js(function "function TypeError() { [native code] }", function "function() {     "use strict";     elements[0] = 5;   }")
    at Test.<anonymous> ( /dom/collections/HTMLCollection-supported-property-indices.html:112:3)
Pass
assert_throws_js(function "function TypeError() { [native code] }", function "function() {     Object.defineProperty(elements, 0, { value: 5 });   }")
    at Test.<anonymous> ( /dom/collections/HTMLCollection-supported-property-indices.html:116:3)
Pass
assert_equals(Element node <foo id="-2"></foo>, Element node <foo id="-2"></foo>)
    at Test.<anonymous> ( /dom/collections/HTMLCollection-supported-property-indices.html:121:3)
Pass
assert_throws_js(function "function TypeError() { [native code] }", function "function() {     "use strict";     delete elements[0];   }")
    at Test.<anonymous> ( /dom/collections/HTMLCollection-supported-property-indices.html:123:3)
Pass
assert_equals(Element node <foo id="-2"></foo>, Element node <foo id="-2"></foo>)
    at Test.<anonymous> ( /dom/collections/HTMLCollection-supported-property-indices.html:127:3)
PassTrying to set an expando with an indexed property name past the end of the list
Asserts run
Pass
assert_equals(undefined, undefined)
    at Test.<anonymous> ( /dom/collections/HTMLCollection-supported-property-indices.html:135:3)
Pass
assert_equals(undefined, undefined)
    at Test.<anonymous> ( /dom/collections/HTMLCollection-supported-property-indices.html:136:3)
Pass
assert_equals(undefined, undefined)
    at Test.<anonymous> ( /dom/collections/HTMLCollection-supported-property-indices.html:140:3)
Pass
assert_throws_js(function "function TypeError() { [native code] }", function "function() {     "use strict";     elements[idx] = 5;   }")
    at Test.<anonymous> ( /dom/collections/HTMLCollection-supported-property-indices.html:141:3)
Pass
assert_throws_js(function "function TypeError() { [native code] }", function "function() {     Object.defineProperty(elements, idx, { value: 5 });   }")
    at Test.<anonymous> ( /dom/collections/HTMLCollection-supported-property-indices.html:145:3)
PassTrying to delete an indexed property name should never work
Asserts run
Pass
assert_equals(Element node <foo id="-2"></foo>, Element node <foo id="-2"></foo>)
    at Test.<anonymous> ( /dom/collections/HTMLCollection-supported-property-indices.html:161:3)
Pass
assert_true(true)
    at Test.<anonymous> ( /dom/collections/HTMLCollection-supported-property-indices.html:162:3)
Pass
assert_true(true)
    at Test.<anonymous> ( /dom/collections/HTMLCollection-supported-property-indices.html:163:3)
Pass
assert_false(false)
    at Test.<anonymous> ( /dom/collections/HTMLCollection-supported-property-indices.html:164:3)
Pass
assert_equals(Element node <foo id="-2"></foo>, Element node <foo id="-2"></foo>)
    at Test.<anonymous> ( /dom/collections/HTMLCollection-supported-property-indices.html:168:3)
Pass
assert_equals(Element node <foo id="-2"></foo>, Element node <foo id="-2"></foo>)
    at Test.<anonymous> ( /dom/collections/HTMLCollection-supported-property-indices.html:171:3)
Pass
assert_throws_js(function "function TypeError() { [native code] }", function "function() {     "use strict";     delete elements[0];   }")
    at Test.<anonymous> ( /dom/collections/HTMLCollection-supported-property-indices.html:173:3)
Pass
assert_equals(Element node <foo id="-2"></foo>, Element node <foo id="-2"></foo>)
    at Test.<anonymous> ( /dom/collections/HTMLCollection-supported-property-indices.html:177:3)