Pass | If there is one form, it should be returned (name) | Asserts runPass | assert_equals("test1", "test1")
at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-04.html:41:3) | Pass | assert_true(true, "\"test1\" in document should be true")
at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-04.html:43:3) | Pass | assert_equals(Element node <form name="test1"></form>, Element node <form name="test1"></form>)
at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-04.html:44:3) |
|
Pass | If there are two forms, a collection should be returned. (name) | Asserts runPass | assert_equals("test2", "test2")
at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-04.html:49:3) | Pass | assert_equals("test2", "test2")
at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-04.html:51:3) | Pass | assert_true(true, "\"test2\" in document should be true")
at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-04.html:53:3) | Pass | assert_class_string(object "[object HTMLCollection]", "HTMLCollection", "collection should be an HTMLCollection")
at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-04.html:55:3) | Pass | assert_array_equals(object "[object HTMLCollection]", [Element node <form name="test2"></form>, Element node <form name="test2"></form>])
at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-04.html:56:3) |
|
Pass | If there is one form, it should not be returned (id) | Asserts runPass | assert_equals("test3", "test3")
at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-04.html:61:3) | Pass | assert_false(false, "\"test3\" in document should be false")
at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-04.html:63:3) | Pass | assert_equals(undefined, undefined)
at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-04.html:64:3) |
|
Pass | If there are two forms, nothing should be returned. (id) | Asserts runPass | assert_equals("test4", "test4")
at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-04.html:69:3) | Pass | assert_equals("test4", "test4")
at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-04.html:71:3) | Pass | assert_false(false, "\"test4\" in document should be false")
at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-04.html:73:3) | Pass | assert_equals(undefined, undefined)
at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-04.html:74:3) |
|
Pass | If there are two forms, a collection should be returned. (name and id) | Asserts runPass | assert_equals("test5", "test5")
at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-04.html:79:3) | Pass | assert_equals("test5", "test5")
at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-04.html:81:3) | Pass | assert_true(true, "\"test5\" in document should be true")
at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-04.html:83:3) | Pass | assert_equals(Element node <form name="test5"></form>, Element node <form name="test5"></form>)
at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-04.html:84:3) |
|
Pass | If there are two forms, a collection should be returned. (id and name) | Asserts runPass | assert_equals("test6", "test6")
at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-04.html:89:3) | Pass | assert_equals("test6", "test6")
at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-04.html:91:3) | Pass | assert_true(true, "\"test6\" in document should be true")
at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-04.html:93:3) | Pass | assert_equals(Element node <form name="test6"></form>, Element node <form name="test6"></form>)
at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-04.html:94:3) |
|
Pass | A name shouldn't affect getting an form by id | Asserts runPass | assert_equals("test7", "test7")
at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-04.html:99:3) | Pass | assert_false(false, "\"test7\" in document should be false")
at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-04.html:101:3) | Pass | assert_equals(undefined, undefined)
at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-04.html:102:3) |
|
Pass | An id shouldn't affect getting an form by name | Asserts runPass | assert_equals("test8", "test8")
at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-04.html:107:3) | Pass | assert_true(true, "\"test8\" in document should be true")
at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-04.html:109:3) | Pass | assert_equals(Element node <form name="test8" id="fail"></form>, Element node <form name="test8" id="fail"></form>)
at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-04.html:110:3) |
|
Pass | Dynamically removing the name attribute from form elements, should not be accessible. | Asserts runPass | assert_equals("test9", "test9")
at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-04.html:115:3) | Pass | assert_true(true, "test9 in document should be true")
at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-04.html:117:3) | Pass | assert_equals(Element node <form name="test9" id="test9"></form>, Element node <form name="test9" id="test9"></form>)
at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-04.html:118:3) | Pass | assert_equals(Element node <form name="test9" id="test9"></form>, Element node <form name="test9" id="test9"></form>)
at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-04.html:119:3) | Pass | assert_false(false, "test9 in document should be false")
at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-04.html:122:3) | Pass | assert_equals(undefined, undefined)
at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-04.html:123:3) | Pass | assert_equals(undefined, undefined)
at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-04.html:124:3) |
|
Pass | Dynamically updating the name attribute from form elements, should be accessible by its name. | Asserts runPass | assert_true(true, "test10a in document should be true")
at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-04.html:131:3) | Pass | assert_equals(Element node <form name="test10a"></form>, Element node <form name="test10a"></form>)
at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-04.html:132:3) | Pass | assert_equals(Element node <form name="test10a"></form>, Element node <form name="test10a"></form>)
at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-04.html:133:3) | Pass | assert_false(false, "test10a in document should be false")
at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-04.html:136:3) | Pass | assert_equals(undefined, undefined)
at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-04.html:137:3) | Pass | assert_equals(undefined, undefined)
at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-04.html:138:3) | Pass | assert_true(true, "test10b in document should be true")
at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-04.html:139:3) | Pass | assert_equals(Element node <form name="test10b"></form>, Element node <form name="test10b"></form>)
at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-04.html:140:3) | Pass | assert_equals(Element node <form name="test10b"></form>, Element node <form name="test10b"></form>)
at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-04.html:141:3) |
|
Pass | Dynamically updating the id attribute from form elements, should be accessible only by its name. | Asserts runPass | assert_equals("test11a", "test11a")
at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-04.html:146:3) | Pass | assert_true(true, "test11a in document should be true")
at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-04.html:148:3) | Pass | assert_equals(Element node <form name="test11a"></form>, Element node <form name="test11a"></form>)
at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-04.html:149:3) | Pass | assert_equals(Element node <form name="test11a"></form>, Element node <form name="test11a"></form>)
at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-04.html:150:3) | Pass | assert_true(true, "test11a in document should be true")
at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-04.html:153:3) | Pass | assert_equals(Element node <form name="test11a" id="test11a"></form>, Element node <form name="test11a" id="test11a"></form>)
at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-04.html:154:3) | Pass | assert_equals(Element node <form name="test11a" id="test11a"></form>, Element node <form name="test11a" id="test11a"></form>)
at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-04.html:155:3) | Pass | assert_true(true, "test11a in document should be true")
at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-04.html:158:3) | Pass | assert_equals(Element node <form name="test11a" id="test11b"></form>, Element node <form name="test11a" id="test11b"></form>)
at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-04.html:159:3) | Pass | assert_equals(Element node <form name="test11a" id="test11b"></form>, Element node <form name="test11a" id="test11b"></form>)
at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-04.html:160:3) | Pass | assert_false(false, "test11b in document should be false")
at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-04.html:161:3) | Pass | assert_equals(undefined, undefined)
at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-04.html:162:3) | Pass | assert_equals(undefined, undefined)
at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-04.html:163:3) |
|
Pass | form elements that is removed, should not be accessible. | Asserts runPass | assert_equals("test12", "test12")
at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-04.html:168:3) | Pass | assert_true(true, "test12 in document should be true")
at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-04.html:170:3) | Pass | assert_equals(Element node <form name="test12"></form>, Element node <form name="test12"></form>)
at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-04.html:171:3) | Pass | assert_equals(Element node <form name="test12"></form>, Element node <form name="test12"></form>)
at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-04.html:172:3) | Pass | assert_false(false, "test12 in document should be false")
at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-04.html:175:3) | Pass | assert_equals(undefined, undefined)
at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-04.html:176:3) | Pass | assert_equals(undefined, undefined)
at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/nameditem-04.html:177:3) |
|