Summary

Harness status: OK

Found 3 tests

Details

ResultTest NameMessage
PassLABEL association
Asserts run
Pass
assert_equals(Element node <my-control></my-control>, Element node <my-control></my-control>)
    at Test.<anonymous> ( /custom-elements/form-associated/ElementInternals-labels.html:24:3)
Pass
assert_true(true)
    at Test.<anonymous> ( /custom-elements/form-associated/ElementInternals-labels.html:25:3)
Pass
assert_array_equals(object "[object NodeList]", [Element node <label><span><my-control></my-control></span></label>])
    at Test.<anonymous> ( /custom-elements/form-associated/ElementInternals-labels.html:26:3)
Pass
assert_equals(Element node <my-control id="mc"></my-control>, Element node <my-control id="mc"></my-control>)
    at Test.<anonymous> ( /custom-elements/form-associated/ElementInternals-labels.html:31:3)
Pass
assert_equals(Element node <form><my-control id="mc"></my-control></form>, Element node <form><my-control id="mc"></my-control></form>)
    at Test.<anonymous> ( /custom-elements/form-associated/ElementInternals-labels.html:32:3)
Pass
assert_array_equals(object "[object NodeList]", [Element node <label for="mc"></label>])
    at Test.<anonymous> ( /custom-elements/form-associated/ElementInternals-labels.html:33:3)
Pass
assert_array_equals(object "[object NodeList]", object "[object NodeList]")
    at Test.<anonymous> ( /custom-elements/form-associated/ElementInternals-labels.html:38:3)
Pass
assert_array_equals(object "[object NodeList]", [])
    at Test.<anonymous> ( /custom-elements/form-associated/ElementInternals-labels.html:42:3)
Pass
assert_equals(null, null)
    at Test.<anonymous> ( /custom-elements/form-associated/ElementInternals-labels.html:46:3)
PassLABEL click
Asserts run
Pass
assert_equals(1, 1)
    at Test.<anonymous> ( /custom-elements/form-associated/ElementInternals-labels.html:55:3)
PassElementInternals.labels should throw NotSupportedError if the target element is not a form-associated custom element
Asserts run
Pass
assert_throws_dom("NotSupportedError", function "() => i.labels")
    at Test.<anonymous> ( /custom-elements/form-associated/ElementInternals-labels.html:63:3)