Summary

Harness status: OK

Found 2 tests

Details

ResultTest NameMessage
PassHTML parser must use the returned value of the custom element constructor instead of the one created before super() call
Asserts run
Pass
assert_true(true, "HTML parser must insert the synchronously constructed custom element")
    at Test.<anonymous> ( /custom-elements/parser/parser-uses-constructed-element.html:56:5)
Pass
assert_equals(Element node <instantiates-itself-before-super></instantiates-itself-b..., Element node <instantiates-itself-before-super></instantiates-itself-b..., "HTML parser must insert the element returned by the custom element constructor")
    at Test.<anonymous> ( /custom-elements/parser/parser-uses-constructed-element.html:57:5)
Pass
assert_not_equals(Element node <instantiates-itself-before-super></instantiates-itself-b..., Element node <instantiates-itself-before-super></instantiates-itself-b..., "HTML parser must not insert another instance of the custom element created before super() call")
    at Test.<anonymous> ( /custom-elements/parser/parser-uses-constructed-element.html:58:5)
Pass
assert_equals(null, null, "HTML parser must not insert another instance of the custom element created before super() call")
    at Test.<anonymous> ( /custom-elements/parser/parser-uses-constructed-element.html:59:5)
PassHTML parser must use the returned value of the custom element constructor instead using the one created in super() call
Asserts run
Pass
assert_true(true, "HTML parser must insert the synchronously constructed custom element")
    at Test.<anonymous> ( /custom-elements/parser/parser-uses-constructed-element.html:66:5)
Pass
assert_equals(Element node <returns-another-instance></returns-another-instance>, Element node <returns-another-instance></returns-another-instance>, "HTML parser must insert the element returned by the custom element constructor")
    at Test.<anonymous> ( /custom-elements/parser/parser-uses-constructed-element.html:67:5)
Pass
assert_not_equals(Element node <returns-another-instance></returns-another-instance>, Element node <returns-another-instance></returns-another-instance>, "HTML parser must not insert the element created by super() call if the constructor returned another element")
    at Test.<anonymous> ( /custom-elements/parser/parser-uses-constructed-element.html:68:5)
Pass
assert_equals(null, null, "HTML parser must not insert the element created by super() call if the constructor returned another element")
    at Test.<anonymous> ( /custom-elements/parser/parser-uses-constructed-element.html:69:5)