Summary

Harness status: OK

Found 4 tests

Details

ResultTest NameMessage
PassCustomStateSet behavior of ElementInternals.states: Initial state
Asserts run
Pass
assert_true(true)
    at Test.<anonymous> ( /custom-elements/state/ElementInternals-states.html:21:3)
Pass
assert_equals(0, 0)
    at Test.<anonymous> ( /custom-elements/state/ElementInternals-states.html:22:3)
Pass
assert_false(false)
    at Test.<anonymous> ( /custom-elements/state/ElementInternals-states.html:23:3)
Pass
assert_false(false)
    at Test.<anonymous> ( /custom-elements/state/ElementInternals-states.html:24:3)
Pass
assert_equals("[object CustomStateSet]", "[object CustomStateSet]")
    at Test.<anonymous> ( /custom-elements/state/ElementInternals-states.html:25:3)
PassCustomStateSet behavior of ElementInternals.states: Exceptions
Asserts run
Pass
assert_throws_js(function "function TypeError() { [native code] }", function "() => { i.states.supports('foo'); }")
    at Test.<anonymous> ( /custom-elements/state/ElementInternals-states.html:30:3)
PassCustomStateSet behavior of ElementInternals.states: Modifications
Asserts run
Pass
assert_equals(2, 2)
    at Test.<anonymous> ( /custom-elements/state/ElementInternals-states.html:40:3)
Pass
assert_true(true)
    at Test.<anonymous> ( /custom-elements/state/ElementInternals-states.html:41:3)
Pass
assert_true(true)
    at Test.<anonymous> ( /custom-elements/state/ElementInternals-states.html:42:3)
Pass
assert_array_equals(["--foo", "--bar"], ["--foo", "--bar"])
    at Test.<anonymous> ( /custom-elements/state/ElementInternals-states.html:43:3)
Pass
assert_array_equals(["--bar"], ["--bar"])
    at Test.<anonymous> ( /custom-elements/state/ElementInternals-states.html:45:3)
Pass
assert_array_equals(["--bar", "--foo"], ["--bar", "--foo"])
    at Test.<anonymous> ( /custom-elements/state/ElementInternals-states.html:47:3)
Pass
assert_array_equals(["--foo", "--baz"], ["--foo", "--baz"])
    at Test.<anonymous> ( /custom-elements/state/ElementInternals-states.html:50:3)
PassUpdating a CustomStateSet while iterating it should work
Asserts run
Pass
assert_false(false)
    at Test.<anonymous> ( /custom-elements/state/ElementInternals-states.html:63:3)
Pass
assert_equals("--two", "--two")
    at Test.<anonymous> ( /custom-elements/state/ElementInternals-states.html:64:3)
Pass
assert_true(true)
    at Test.<anonymous> ( /custom-elements/state/ElementInternals-states.html:69:3)
Pass
assert_equals("--one", "--one")
    at Test.<anonymous> ( /custom-elements/state/ElementInternals-states.html:77:3)
Pass
assert_equals("--two", "--two")
    at Test.<anonymous> ( /custom-elements/state/ElementInternals-states.html:80:3)