Summary

Harness status: OK

Found 5 tests

Details

ResultTest NameMessage
PassThe method must exist
Asserts run
Pass
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)
PassIt must return null when there are no matches
Asserts run
Pass
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)
PassIt must return the first element when there are matches
Asserts run
Pass
assert_equals(Element node <div id="foo"></div>, Element node <div id="foo"></div>)
    at Test.<anonymous> ( /dom/nodes/DocumentFragment-getElementById.html:42:3)
PassEmpty string ID values
Asserts run
Pass
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)
PassIt must return the first element when there are matches, using a template
Asserts run
Pass
assert_true(true)
    at Test.<anonymous> ( /dom/nodes/DocumentFragment-getElementById.html:60:3)