Summary

Harness status: OK

Found 4 tests

Details

ResultTest NameMessage
Passcannot find the class name
Asserts run
Pass
assert_array_equals(object "[object HTMLCollection]", [])
    at Test.<anonymous> ( /dom/nodes/getElementsByClassName-32.html:26:3)
Passfinds the class name
Asserts run
Pass
assert_array_equals(object "[object HTMLCollection]", [Element node <p class="first-p"></p>])
    at Test.<anonymous> ( /dom/nodes/getElementsByClassName-32.html:37:3)
Passfinds the same element with multiple class names
Asserts run
Pass
assert_array_equals(object "[object HTMLCollection]", [Element node <p class="the-p second third"></p>])
    at Test.<anonymous> ( /dom/nodes/getElementsByClassName-32.html:49:3)
Pass
assert_array_equals(object "[object HTMLCollection]", [Element node <p class="the-p second third"></p>])
    at Test.<anonymous> ( /dom/nodes/getElementsByClassName-32.html:52:3)
Pass
assert_array_equals(object "[object HTMLCollection]", [Element node <p class="the-p second third"></p>])
    at Test.<anonymous> ( /dom/nodes/getElementsByClassName-32.html:55:3)
Passdoes not get confused by numeric IDs
Asserts run
Pass
assert_equals(3, 3)
    at Test.<anonymous> ( /dom/nodes/getElementsByClassName-32.html:63:3)
Pass
assert_array_equals(["1", "2", "3"], ["1", "2", "3"])
    at Test.<anonymous> ( /dom/nodes/getElementsByClassName-32.html:64:3)