Summary

Harness status: OK

Found 6 tests

Details

ResultTest NameMessage
Passif only one item has a *name* or id value matching the parameter, return that object and stop
Asserts run
Pass
assert_equals("nameonly", "nameonly")
    at Test.<anonymous> ( /html/semantics/forms/the-select-element/common-HTMLOptionsCollection-namedItem.html:30:5)
Passif only one item has a name or *id* value matching the parameter, return that object and stop
Asserts run
Pass
assert_equals("2", "2")
    at Test.<anonymous> ( /html/semantics/forms/the-select-element/common-HTMLOptionsCollection-namedItem.html:34:5)
Passif no item has a name or id value matching the parameter, return null and stop
Asserts run
Pass
assert_equals(null, null)
    at Test.<anonymous> ( /html/semantics/forms/the-select-element/common-HTMLOptionsCollection-namedItem.html:38:5)
Passif multiple items have a name or *id* value matching the parameter, return the first object and stop
Asserts run
Pass
assert_equals("3", "3")
    at Test.<anonymous> ( /html/semantics/forms/the-select-element/common-HTMLOptionsCollection-namedItem.html:42:5)
Passif multiple items have a *name* or id value matching the parameter, return the first object and stop
Asserts run
Pass
assert_equals("4", "4")
    at Test.<anonymous> ( /html/semantics/forms/the-select-element/common-HTMLOptionsCollection-namedItem.html:46:5)
Passif multiple items have a *name* or *id* value matching the parameter, return the first object and stop
Asserts run
Pass
assert_equals("mixed ID", "mixed ID")
    at Test.<anonymous> ( /html/semantics/forms/the-select-element/common-HTMLOptionsCollection-namedItem.html:50:5)