Pass | If there is one object, it should be returned (name) | Asserts runPass | assert_equals("test1", "test1")
at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-07.html:38:3) | Pass | assert_true(true, "\"test1\" in document should be true")
at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-07.html:40:3) | Pass | assert_equals(Element node <object name="test1"></object>, Element node <object name="test1"></object>)
at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-07.html:41:3) |
|
Pass | If there are two objects, a collection should be returned. (name) | Asserts runPass | assert_equals("test2", "test2")
at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-07.html:46:3) | Pass | assert_equals("test2", "test2")
at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-07.html:48:3) | Pass | assert_true(true, "\"test2\" in document should be true")
at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-07.html:50:3) | Pass | assert_class_string(object "[object HTMLCollection]", "HTMLCollection", "collection should be an HTMLCollection")
at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-07.html:52:3) | Pass | assert_array_equals(object "[object HTMLCollection]", [Element node <object name="test2"></object>, Element node <object name="test2"></object>])
at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-07.html:53:3) |
|
Pass | If there is one object, it should be returned (id) | Asserts runPass | assert_equals("test3", "test3")
at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-07.html:58:3) | Pass | assert_true(true, "\"test3\" in document should be true")
at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-07.html:60:3) | Pass | assert_equals(Element node <object id="test3"></object>, Element node <object id="test3"></object>)
at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-07.html:61:3) |
|
Pass | If there are two objects, a collection should be returned. (id) | Asserts runPass | assert_equals("test4", "test4")
at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-07.html:66:3) | Pass | assert_equals("test4", "test4")
at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-07.html:68:3) | Pass | assert_true(true, "\"test4\" in document should be true")
at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-07.html:70:3) | Pass | assert_class_string(object "[object HTMLCollection]", "HTMLCollection", "collection should be an HTMLCollection")
at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-07.html:72:3) | Pass | assert_array_equals(object "[object HTMLCollection]", [Element node <object id="test4"></object>, Element node <object id="test4"></object>])
at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-07.html:73:3) |
|
Pass | If there are two objects, a collection should be returned. (name and id) | Asserts runPass | assert_equals("test5", "test5")
at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-07.html:78:3) | Pass | assert_equals("test5", "test5")
at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-07.html:80:3) | Pass | assert_true(true, "\"test5\" in document should be true")
at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-07.html:82:3) | Pass | assert_class_string(object "[object HTMLCollection]", "HTMLCollection", "collection should be an HTMLCollection")
at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-07.html:84:3) | Pass | assert_array_equals(object "[object HTMLCollection]", [Element node <object name="test5"></object>, Element node <object id="test5"></object>])
at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-07.html:85:3) |
|
Pass | If there are two objects, a collection should be returned. (id and name) | Asserts runPass | assert_equals("test6", "test6")
at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-07.html:90:3) | Pass | assert_equals("test6", "test6")
at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-07.html:92:3) | Pass | assert_true(true, "\"test6\" in document should be true")
at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-07.html:94:3) | Pass | assert_class_string(object "[object HTMLCollection]", "HTMLCollection", "collection should be an HTMLCollection")
at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-07.html:96:3) | Pass | assert_array_equals(object "[object HTMLCollection]", [Element node <object id="test6"></object>, Element node <object name="test6"></object>])
at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-07.html:97:3) |
|
Pass | Dynamically removing the name attribute from object elements, should not be accessible. | Asserts runPass | assert_equals("test7", "test7")
at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-07.html:102:3) | Pass | assert_true(true, "test7 in document should be true")
at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-07.html:104:3) | Pass | assert_equals(Element node <object name="test7"></object>, Element node <object name="test7"></object>)
at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-07.html:105:3) | Pass | assert_equals(Element node <object name="test7"></object>, Element node <object name="test7"></object>)
at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-07.html:106:3) | Pass | assert_false(false, "test7 in document should be false")
at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-07.html:109:3) | Pass | assert_equals(undefined, undefined)
at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-07.html:110:3) | Pass | assert_equals(undefined, undefined)
at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-07.html:111:3) |
|
Pass | Dynamically removing the id attribute from object elements, should not be accessible. | Asserts runPass | assert_equals("test8", "test8")
at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-07.html:116:3) | Pass | assert_true(true, "test8 in document should be true")
at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-07.html:118:3) | Pass | assert_equals(Element node <object id="test8"></object>, Element node <object id="test8"></object>)
at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-07.html:119:3) | Pass | assert_equals(Element node <object id="test8"></object>, Element node <object id="test8"></object>)
at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-07.html:120:3) | Pass | assert_false(false, "test8 in document should be false")
at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-07.html:123:3) | Pass | assert_equals(undefined, undefined)
at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-07.html:124:3) | Pass | assert_equals(undefined, undefined)
at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-07.html:125:3) |
|
Pass | Dynamically updating the name attribute from object elements, should be accessible by its name and id. | Asserts runPass | assert_equals("test9a", "test9a")
at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-07.html:130:3) | Pass | assert_true(true, "test9a in document should be true")
at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-07.html:131:3) | Pass | assert_equals(Element node <object id="test9a"></object>, Element node <object id="test9a"></object>)
at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-07.html:132:3) | Pass | assert_equals(Element node <object id="test9a"></object>, Element node <object id="test9a"></object>)
at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-07.html:133:3) | Pass | assert_true(true, "test9a in document should be true")
at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-07.html:136:3) | Pass | assert_equals(Element node <object id="test9a" name="test9a"></object>, Element node <object id="test9a" name="test9a"></object>)
at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-07.html:137:3) | Pass | assert_equals(Element node <object id="test9a" name="test9a"></object>, Element node <object id="test9a" name="test9a"></object>)
at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-07.html:138:3) | Pass | assert_true(true, "test9a in document should be true")
at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-07.html:141:3) | Pass | assert_equals(Element node <object id="test9a" name="test9b"></object>, Element node <object id="test9a" name="test9b"></object>)
at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-07.html:142:3) | Pass | assert_equals(Element node <object id="test9a" name="test9b"></object>, Element node <object id="test9a" name="test9b"></object>)
at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-07.html:143:3) | Pass | assert_true(true, "test9b in document should be true")
at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-07.html:144:3) | Pass | assert_equals(Element node <object id="test9a" name="test9b"></object>, Element node <object id="test9a" name="test9b"></object>)
at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-07.html:145:3) | Pass | assert_equals(Element node <object id="test9a" name="test9b"></object>, Element node <object id="test9a" name="test9b"></object>)
at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-07.html:146:3) | Pass | assert_true(true, "test9a in document should be true")
at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-07.html:149:3) | Pass | assert_equals(Element node <object id="test9a" name="test9c"></object>, Element node <object id="test9a" name="test9c"></object>)
at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-07.html:150:3) | Pass | assert_equals(Element node <object id="test9a" name="test9c"></object>, Element node <object id="test9a" name="test9c"></object>)
at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-07.html:151:3) | Pass | assert_false(false, "test9b in document should be false")
at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-07.html:152:3) | Pass | assert_equals(undefined, undefined)
at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-07.html:153:3) | Pass | assert_equals(undefined, undefined)
at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-07.html:154:3) | Pass | assert_true(true, "test9c in document should be true")
at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-07.html:155:3) | Pass | assert_equals(Element node <object id="test9a" name="test9c"></object>, Element node <object id="test9a" name="test9c"></object>)
at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-07.html:156:3) | Pass | assert_equals(Element node <object id="test9a" name="test9c"></object>, Element node <object id="test9a" name="test9c"></object>)
at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-07.html:157:3) |
|
Pass | Dynamically updating the id attribute from object elements, should be accessible by its name and id. | Asserts runPass | assert_equals("test10a", "test10a")
at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-07.html:162:3) | Pass | assert_true(true, "test11a in document should be true")
at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-07.html:163:3) | Pass | assert_equals(Element node <object name="test10a"></object>, Element node <object name="test10a"></object>)
at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-07.html:164:3) | Pass | assert_equals(Element node <object name="test10a"></object>, Element node <object name="test10a"></object>)
at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-07.html:165:3) | Pass | assert_true(true, "test10a in document should be true")
at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-07.html:168:3) | Pass | assert_equals(Element node <object name="test10a" id="test10a"></object>, Element node <object name="test10a" id="test10a"></object>)
at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-07.html:169:3) | Pass | assert_equals(Element node <object name="test10a" id="test10a"></object>, Element node <object name="test10a" id="test10a"></object>)
at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-07.html:170:3) | Pass | assert_true(true, "test10a in document should be true")
at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-07.html:173:3) | Pass | assert_equals(Element node <object name="test10a" id="test10b"></object>, Element node <object name="test10a" id="test10b"></object>)
at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-07.html:174:3) | Pass | assert_equals(Element node <object name="test10a" id="test10b"></object>, Element node <object name="test10a" id="test10b"></object>)
at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-07.html:175:3) | Pass | assert_true(true, "test10b in document should be false")
at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-07.html:176:3) | Pass | assert_equals(Element node <object name="test10a" id="test10b"></object>, Element node <object name="test10a" id="test10b"></object>)
at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-07.html:177:3) | Pass | assert_equals(Element node <object name="test10a" id="test10b"></object>, Element node <object name="test10a" id="test10b"></object>)
at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-07.html:178:3) | Pass | assert_true(true, "test10a in document should be true")
at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-07.html:181:3) | Pass | assert_equals(Element node <object name="test10a" id="test10c"></object>, Element node <object name="test10a" id="test10c"></object>)
at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-07.html:182:3) | Pass | assert_equals(Element node <object name="test10a" id="test10c"></object>, Element node <object name="test10a" id="test10c"></object>)
at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-07.html:183:3) | Pass | assert_false(false, "test10b in document should be false")
at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-07.html:184:3) | Pass | assert_equals(undefined, undefined)
at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-07.html:185:3) | Pass | assert_equals(undefined, undefined)
at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-07.html:186:3) | Pass | assert_true(true, "test10b in document should be false")
at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-07.html:187:3) | Pass | assert_equals(Element node <object name="test10a" id="test10c"></object>, Element node <object name="test10a" id="test10c"></object>)
at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-07.html:188:3) | Pass | assert_equals(Element node <object name="test10a" id="test10c"></object>, Element node <object name="test10a" id="test10c"></object>)
at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-07.html:189:3) |
|
Pass | object elements that is removed, should not be accessible. | Asserts runPass | assert_equals("test11a", "test11a")
at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-07.html:194:3) | Pass | assert_equals("test11b", "test11b")
at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-07.html:195:3) | Pass | assert_true(true, "test11a in document should be true")
at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-07.html:197:3) | Pass | assert_equals(Element node <object name="test11a" id="test11b"></object>, Element node <object name="test11a" id="test11b"></object>)
at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-07.html:198:3) | Pass | assert_equals(Element node <object name="test11a" id="test11b"></object>, Element node <object name="test11a" id="test11b"></object>)
at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-07.html:199:3) | Pass | assert_true(true, "test11b in document should be true")
at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-07.html:200:3) | Pass | assert_equals(Element node <object name="test11a" id="test11b"></object>, Element node <object name="test11a" id="test11b"></object>)
at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-07.html:201:3) | Pass | assert_equals(Element node <object name="test11a" id="test11b"></object>, Element node <object name="test11a" id="test11b"></object>)
at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-07.html:202:3) | Pass | assert_false(false, "test11a in document should be false")
at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-07.html:205:3) | Pass | assert_equals(undefined, undefined)
at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-07.html:206:3) | Pass | assert_equals(undefined, undefined)
at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-07.html:207:3) | Pass | assert_false(false, "test11b in document should be false")
at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-07.html:208:3) | Pass | assert_equals(undefined, undefined)
at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-07.html:209:3) | Pass | assert_equals(undefined, undefined)
at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-07.html:210:3) |
|