Summary

Harness status: OK

Found 2 tests

Details

ResultTest NameMessage
PassHTML parser must NOT create a custom element before customElements.define is called
Asserts run
Pass
assert_true(true, "An unresolved custom element must be an instance of HTMLElement")
    at Test.<anonymous> ( /custom-elements/parser/parser-constructs-custom-elements.html:22:5)
Pass
assert_false(false, "An unresolved custom element must NOT be an instance of that custom element")
    at Test.<anonymous> ( /custom-elements/parser/parser-constructs-custom-elements.html:23:5)
Pass
assert_equals("my-custom-element", "my-custom-element")
    at Test.<anonymous> ( /custom-elements/parser/parser-constructs-custom-elements.html:24: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.html:25:5)
PassHTML parser must create a defined custom element before executing inline scripts
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.html:38: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.html:39: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.html:40:5)
Pass
assert_equals("my-custom-element", "my-custom-element")
    at Test.<anonymous> ( /custom-elements/parser/parser-constructs-custom-elements.html:41: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.html:42:5)