Pass | The method must exist | Asserts runPass | assert_equals("function", "function", "It must exist on the prototype")
at Test.<anonymous> ( /dom/nodes/DocumentFragment-getElementById.html:26:3) | Pass | assert_equals("function", "function", "It must exist on an instance")
at Test.<anonymous> ( /dom/nodes/DocumentFragment-getElementById.html:27:3) |
|
Pass | It must return null when there are no matches | Asserts runPass | assert_equals(null, null)
at Test.<anonymous> ( /dom/nodes/DocumentFragment-getElementById.html:31:3) | Pass | assert_equals(null, null)
at Test.<anonymous> ( /dom/nodes/DocumentFragment-getElementById.html:32:3) |
|
Pass | It must return the first element when there are matches | Asserts runPass | assert_equals(Element node <div id="foo"></div>, Element node <div id="foo"></div>)
at Test.<anonymous> ( /dom/nodes/DocumentFragment-getElementById.html:42:3) |
|
Pass | Empty string ID values | Asserts runPass | assert_equals(null, null, "Even if there is an element with an empty-string ID attribute, it must not be returned")
at Test.<anonymous> ( /dom/nodes/DocumentFragment-getElementById.html:50:3) |
|
Pass | It must return the first element when there are matches, using a template | Asserts runPass | assert_true(true)
at Test.<anonymous> ( /dom/nodes/DocumentFragment-getElementById.html:60:3) |
|