Summary

Harness status: OK

Found 7 tests

Details

ResultTest NameMessage
Passimg elements that have a name and id attribute, should be accessible by both values.
Asserts run
Pass
assert_equals(Element node <img id="a" name="b"></img>, Element node <img id="a" name="b"></img>)
    at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-01.html:21:3)
Pass
assert_equals(Element node <img id="a" name="b"></img>, Element node <img id="a" name="b"></img>)
    at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-01.html:22:3)
Pass
assert_equals(Element node <img id="a" name="b"></img>, Element node <img id="a" name="b"></img>)
    at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-01.html:23:3)
Pass
assert_equals(Element node <img id="a" name="b"></img>, Element node <img id="a" name="b"></img>)
    at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-01.html:24:3)
Passimg elements that have a name and id attribute with same value.
Asserts run
Pass
assert_equals(Element node <img id="test" name="test"></img>, Element node <img id="test" name="test"></img>)
    at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-01.html:29:3)
Pass
assert_equals(Element node <img id="test" name="test"></img>, Element node <img id="test" name="test"></img>)
    at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-01.html:30:3)
PassDynamically removing the name attribute from img elements, should not be accessible.
Asserts run
Pass
assert_equals(Element node <img id="test2a" name="test2b"></img>, Element node <img id="test2a" name="test2b"></img>)
    at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-01.html:35:3)
Pass
assert_equals(Element node <img id="test2a" name="test2b"></img>, Element node <img id="test2a" name="test2b"></img>)
    at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-01.html:36:3)
Pass
assert_equals(Element node <img id="test2a" name="test2b"></img>, Element node <img id="test2a" name="test2b"></img>)
    at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-01.html:37:3)
Pass
assert_equals(Element node <img id="test2a" name="test2b"></img>, Element node <img id="test2a" name="test2b"></img>)
    at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-01.html:38:3)
Pass
assert_equals(undefined, undefined)
    at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-01.html:41:3)
Pass
assert_equals(undefined, undefined)
    at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-01.html:42:3)
Pass
assert_equals(undefined, undefined)
    at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-01.html:43:3)
Pass
assert_equals(undefined, undefined)
    at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-01.html:44:3)
PassDynamically removing the id attribute from img elements, should still be accessible by name value.
Asserts run
Pass
assert_equals(Element node <img id="test3a" name="test3b"></img>, Element node <img id="test3a" name="test3b"></img>)
    at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-01.html:49:3)
Pass
assert_equals(Element node <img id="test3a" name="test3b"></img>, Element node <img id="test3a" name="test3b"></img>)
    at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-01.html:50:3)
Pass
assert_equals(Element node <img id="test3a" name="test3b"></img>, Element node <img id="test3a" name="test3b"></img>)
    at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-01.html:51:3)
Pass
assert_equals(Element node <img id="test3a" name="test3b"></img>, Element node <img id="test3a" name="test3b"></img>)
    at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-01.html:52:3)
Pass
assert_equals(undefined, undefined)
    at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-01.html:55:3)
Pass
assert_equals(undefined, undefined)
    at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-01.html:56:3)
Pass
assert_equals(Element node <img name="test3b"></img>, Element node <img name="test3b"></img>)
    at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-01.html:57:3)
Pass
assert_equals(Element node <img name="test3b"></img>, Element node <img name="test3b"></img>)
    at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-01.html:58:3)
PassDynamically updating the name attribute from img elements, should be accessible by values.
Asserts run
Pass
assert_equals(Element node <img id="test4a" name="test4b"></img>, Element node <img id="test4a" name="test4b"></img>)
    at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-01.html:63:3)
Pass
assert_equals(Element node <img id="test4a" name="test4b"></img>, Element node <img id="test4a" name="test4b"></img>)
    at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-01.html:64:3)
Pass
assert_equals(Element node <img id="test4a" name="test4b"></img>, Element node <img id="test4a" name="test4b"></img>)
    at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-01.html:65:3)
Pass
assert_equals(Element node <img id="test4a" name="test4b"></img>, Element node <img id="test4a" name="test4b"></img>)
    at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-01.html:66:3)
Pass
assert_equals(Element node <img id="test4a" name="test4a"></img>, Element node <img id="test4a" name="test4a"></img>)
    at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-01.html:69:3)
Pass
assert_equals(Element node <img id="test4a" name="test4a"></img>, Element node <img id="test4a" name="test4a"></img>)
    at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-01.html:70:3)
Pass
assert_equals(undefined, undefined)
    at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-01.html:71:3)
Pass
assert_equals(undefined, undefined)
    at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-01.html:72:3)
Pass
assert_equals(Element node <img id="test4a" name="test4c"></img>, Element node <img id="test4a" name="test4c"></img>)
    at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-01.html:75:3)
Pass
assert_equals(Element node <img id="test4a" name="test4c"></img>, Element node <img id="test4a" name="test4c"></img>)
    at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-01.html:76:3)
Pass
assert_equals(undefined, undefined)
    at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-01.html:77:3)
Pass
assert_equals(undefined, undefined)
    at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-01.html:78:3)
Pass
assert_equals(Element node <img id="test4a" name="test4c"></img>, Element node <img id="test4a" name="test4c"></img>)
    at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-01.html:79:3)
Pass
assert_equals(Element node <img id="test4a" name="test4c"></img>, Element node <img id="test4a" name="test4c"></img>)
    at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-01.html:80:3)
PassDynamically updating the id attribute from img elements, should be accessible by values.
Asserts run
Pass
assert_equals(Element node <img id="test5a" name="test5b"></img>, Element node <img id="test5a" name="test5b"></img>)
    at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-01.html:85:3)
Pass
assert_equals(Element node <img id="test5a" name="test5b"></img>, Element node <img id="test5a" name="test5b"></img>)
    at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-01.html:86:3)
Pass
assert_equals(Element node <img id="test5a" name="test5b"></img>, Element node <img id="test5a" name="test5b"></img>)
    at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-01.html:87:3)
Pass
assert_equals(Element node <img id="test5a" name="test5b"></img>, Element node <img id="test5a" name="test5b"></img>)
    at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-01.html:88:3)
Pass
assert_equals(undefined, undefined)
    at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-01.html:91:3)
Pass
assert_equals(undefined, undefined)
    at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-01.html:92:3)
Pass
assert_equals(Element node <img id="test5b" name="test5b"></img>, Element node <img id="test5b" name="test5b"></img>)
    at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-01.html:93:3)
Pass
assert_equals(Element node <img id="test5b" name="test5b"></img>, Element node <img id="test5b" name="test5b"></img>)
    at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-01.html:94:3)
Pass
assert_equals(undefined, undefined)
    at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-01.html:97:3)
Pass
assert_equals(undefined, undefined)
    at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-01.html:98:3)
Pass
assert_equals(Element node <img id="test5c" name="test5b"></img>, Element node <img id="test5c" name="test5b"></img>)
    at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-01.html:99:3)
Pass
assert_equals(Element node <img id="test5c" name="test5b"></img>, Element node <img id="test5c" name="test5b"></img>)
    at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-01.html:100:3)
Pass
assert_equals(Element node <img id="test5c" name="test5b"></img>, Element node <img id="test5c" name="test5b"></img>)
    at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-01.html:101:3)
Pass
assert_equals(Element node <img id="test5c" name="test5b"></img>, Element node <img id="test5c" name="test5b"></img>)
    at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-01.html:102:3)
Passimg elements that is removed, should not be accessible.
Asserts run
Pass
assert_equals(Element node <img id="test6a" name="test6b"></img>, Element node <img id="test6a" name="test6b"></img>)
    at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-01.html:107:3)
Pass
assert_equals(Element node <img id="test6a" name="test6b"></img>, Element node <img id="test6a" name="test6b"></img>)
    at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-01.html:108:3)
Pass
assert_equals(Element node <img id="test6a" name="test6b"></img>, Element node <img id="test6a" name="test6b"></img>)
    at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-01.html:109:3)
Pass
assert_equals(Element node <img id="test6a" name="test6b"></img>, Element node <img id="test6a" name="test6b"></img>)
    at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-01.html:110:3)
Pass
assert_equals(undefined, undefined)
    at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-01.html:113:3)
Pass
assert_equals(undefined, undefined)
    at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-01.html:114:3)
Pass
assert_equals(undefined, undefined)
    at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-01.html:115:3)
Pass
assert_equals(undefined, undefined)
    at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-01.html:116:3)