Summary

Harness status: OK

Found 2 tests

Details

ResultTest NameMessage
PassHTML parser must create a defined autonomous custom element when customElements.define comes after HTML parser creation
Asserts run
Pass
assert_true(true, "A resolved custom element must be an instance of HTMLElement")
    at Test.<anonymous> ( /custom-elements/parser/parser-constructs-custom-elements-with-is.html:26:5)
Pass
assert_false(false, "A resolved custom element must NOT be an instance of HTMLUnknownElement")
    at Test.<anonymous> ( /custom-elements/parser/parser-constructs-custom-elements-with-is.html:27:5)
Pass
assert_true(true, "A resolved custom element must be an instance of that custom element")
    at Test.<anonymous> ( /custom-elements/parser/parser-constructs-custom-elements-with-is.html:28:5)
Pass
assert_equals("autonomous-custom-element", "autonomous-custom-element")
    at Test.<anonymous> ( /custom-elements/parser/parser-constructs-custom-elements-with-is.html:29:5)
Pass
assert_equals("http://www.w3.org/1999/xhtml", "http://www.w3.org/1999/xhtml", "A custom element HTML must use HTML namespace")
    at Test.<anonymous> ( /custom-elements/parser/parser-constructs-custom-elements-with-is.html:30:5)
PassHTML parser must create a defined autonomous custom element when customElements.define comes before HTML parser creation
Asserts run
Pass
assert_true(true, "A resolved custom element must be an instance of HTMLElement")
    at Test.<anonymous> ( /custom-elements/parser/parser-constructs-custom-elements-with-is.html:41:5)
Pass
assert_false(false, "A resolved custom element must NOT be an instance of HTMLUnknownElement")
    at Test.<anonymous> ( /custom-elements/parser/parser-constructs-custom-elements-with-is.html:42:5)
Pass
assert_true(true, "A resolved custom element must be an instance of that custom element")
    at Test.<anonymous> ( /custom-elements/parser/parser-constructs-custom-elements-with-is.html:43:5)
Pass
assert_equals("autonomous-custom-element", "autonomous-custom-element")
    at Test.<anonymous> ( /custom-elements/parser/parser-constructs-custom-elements-with-is.html:44:5)
Pass
assert_equals("http://www.w3.org/1999/xhtml", "http://www.w3.org/1999/xhtml", "A custom element HTML must use HTML namespace")
    at Test.<anonymous> ( /custom-elements/parser/parser-constructs-custom-elements-with-is.html:45:5)