Summary

Harness status: OK

Found 4 tests

Details

ResultTest NameMessage
PassDOMStringList: length attribute
Asserts run
Pass
assert_equals(3, 3, "length attribute")
    at  /html/infrastructure/common-dom-interfaces/collections/domstringlist.html:30:3
PassDOMStringList: item() method
Asserts run
Pass
assert_equals("a", "a", "item method")
    at  /html/infrastructure/common-dom-interfaces/collections/domstringlist.html:34:3
Pass
assert_equals("b", "b", "item method")
    at  /html/infrastructure/common-dom-interfaces/collections/domstringlist.html:35:3
Pass
assert_equals("c", "c", "item method")
    at  /html/infrastructure/common-dom-interfaces/collections/domstringlist.html:36:3
Pass
assert_equals(null, null, "item method out of range")
    at  /html/infrastructure/common-dom-interfaces/collections/domstringlist.html:37:3
Pass
assert_equals(null, null, "item method out of range")
    at  /html/infrastructure/common-dom-interfaces/collections/domstringlist.html:38:3
Pass
assert_throws_js(function "function TypeError() { [native code] }", function "() => dsl.item()", "item method should throw if called without enough args")
    at  /html/infrastructure/common-dom-interfaces/collections/domstringlist.html:39:3
PassDOMStringList: indexed getter
Asserts run
Pass
assert_equals("a", "a", "indexed getter")
    at  /html/infrastructure/common-dom-interfaces/collections/domstringlist.html:44:3
Pass
assert_equals("b", "b", "indexed getter")
    at  /html/infrastructure/common-dom-interfaces/collections/domstringlist.html:45:3
Pass
assert_equals("c", "c", "indexed getter")
    at  /html/infrastructure/common-dom-interfaces/collections/domstringlist.html:46:3
Pass
assert_equals(undefined, undefined, "indexed getter out of range")
    at  /html/infrastructure/common-dom-interfaces/collections/domstringlist.html:47:3
Pass
assert_equals(undefined, undefined, "indexed getter out of range")
    at  /html/infrastructure/common-dom-interfaces/collections/domstringlist.html:48:3
PassDOMStringList: contains() method
Asserts run
Pass
assert_true(true, "contains method matched")
    at  /html/infrastructure/common-dom-interfaces/collections/domstringlist.html:52:3
Pass
assert_true(true, "contains method matched")
    at  /html/infrastructure/common-dom-interfaces/collections/domstringlist.html:53:3
Pass
assert_true(true, "contains method matched")
    at  /html/infrastructure/common-dom-interfaces/collections/domstringlist.html:54:3
Pass
assert_false(false, "contains method unmatched")
    at  /html/infrastructure/common-dom-interfaces/collections/domstringlist.html:55:3
Pass
assert_false(false, "contains method unmatched")
    at  /html/infrastructure/common-dom-interfaces/collections/domstringlist.html:56:3
Pass
assert_throws_js(function "function TypeError() { [native code] }", function "() => dsl.contains()", "contains method should throw if called without enough args")
    at  /html/infrastructure/common-dom-interfaces/collections/domstringlist.html:57:3