Pass | an attribute set by setAttribute should be accessible as a field on the `attributes` field of an Element | Asserts runPass | assert_equals(1, 1, "one attribute")
at Test.<anonymous> ( /dom/nodes/attributes-namednodemap.html:18:3) | Pass | assert_equals("first", "first")
at Test.<anonymous> ( /dom/nodes/attributes-namednodemap.html:19:3) |
|
Pass | setNamedItem and removeNamedItem on `attributes` should add and remove fields from `attributes` | Asserts runPass | assert_equals(0, 0)
at Test.<anonymous> ( /dom/nodes/attributes-namednodemap.html:28:3) | Pass | assert_equals(Node object of unknown type, Node object of unknown type)
at Test.<anonymous> ( /dom/nodes/attributes-namednodemap.html:32:3) | Pass | assert_equals(1, 1)
at Test.<anonymous> ( /dom/nodes/attributes-namednodemap.html:33:3) | Pass | assert_equals(Node object of unknown type, Node object of unknown type)
at Test.<anonymous> ( /dom/nodes/attributes-namednodemap.html:37:3) | Pass | assert_equals(2, 2)
at Test.<anonymous> ( /dom/nodes/attributes-namednodemap.html:38:3) | Pass | assert_equals(Node object of unknown type, Node object of unknown type)
at Test.<anonymous> ( /dom/nodes/attributes-namednodemap.html:41:3) | Pass | assert_equals(1, 1)
at Test.<anonymous> ( /dom/nodes/attributes-namednodemap.html:42:3) | Pass | assert_equals(Node object of unknown type, Node object of unknown type)
at Test.<anonymous> ( /dom/nodes/attributes-namednodemap.html:45:3) | Pass | assert_equals(0, 0)
at Test.<anonymous> ( /dom/nodes/attributes-namednodemap.html:46:3) |
|
Pass | setNamedItem and removeNamedItem on `attributes` should not interfere with existing method names | Asserts runPass | assert_equals(Node object of unknown type, Node object of unknown type)
at Test.<anonymous> ( /dom/nodes/attributes-namednodemap.html:61:3) | Pass | assert_equals(function "function item() { [native code] }", function "function item() { [native code] }")
at Test.<anonymous> ( /dom/nodes/attributes-namednodemap.html:62:3) | Pass | assert_equals("function", "function")
at Test.<anonymous> ( /dom/nodes/attributes-namednodemap.html:63:3) | Pass | assert_equals(function "function item() { [native code] }", function "function item() { [native code] }")
at Test.<anonymous> ( /dom/nodes/attributes-namednodemap.html:66:3) | Pass | assert_equals("function", "function")
at Test.<anonymous> ( /dom/nodes/attributes-namednodemap.html:67:3) |
|
Pass | an attribute with a null namespace should be accessible as a field on the `attributes` field of an Element | Asserts runPass | assert_equals(1, 1, "one attribute")
at Test.<anonymous> ( /dom/nodes/attributes-namednodemap.html:76:3) | Pass | assert_equals("first", "first")
at Test.<anonymous> ( /dom/nodes/attributes-namednodemap.html:77:3) |
|
Pass | an attribute with a set namespace should be accessible as a field on the `attributes` field of an Element | Asserts runPass | assert_equals(1, 1, "one attribute")
at Test.<anonymous> ( /dom/nodes/attributes-namednodemap.html:86:3) | Pass | assert_equals("first", "first")
at Test.<anonymous> ( /dom/nodes/attributes-namednodemap.html:87:3) |
|
Pass | setting an attribute should not overwrite the methods of an `NamedNodeMap` object | Asserts runPass | assert_equals(1, 1, "one attribute")
at Test.<anonymous> ( /dom/nodes/attributes-namednodemap.html:96:3) | Pass | assert_equals("function", "function")
at Test.<anonymous> ( /dom/nodes/attributes-namednodemap.html:97:3) |
|
Pass | setting an attribute should not overwrite the methods defined by prototype ancestors of an `NamedNodeMap` object | Asserts runPass | assert_equals(1, 1, "one attribute")
at Test.<anonymous> ( /dom/nodes/attributes-namednodemap.html:106:3) | Pass | assert_equals("function", "function")
at Test.<anonymous> ( /dom/nodes/attributes-namednodemap.html:107:3) |
|
Pass | setting an attribute should not overwrite the length property of an `NamedNodeMap` object | Asserts runPass | assert_equals(1, 1, "one attribute")
at Test.<anonymous> ( /dom/nodes/attributes-namednodemap.html:116:3) |
|