Summary

Harness status: OK

Found 4 tests

Details

ResultTest NameMessage
Passdocument.createElement must create an instance of autonomous custom elements when it has is attribute
Asserts run
Pass
assert_true(true)
    at Test.<anonymous> ( /custom-elements/Document-createElement-customized-builtins.html:36:5)
Pass
assert_equals("autonomous-custom-element", "autonomous-custom-element")
    at Test.<anonymous> ( /custom-elements/Document-createElement-customized-builtins.html:37: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/Document-createElement-customized-builtins.html:38:5)
Pass
assert_false(false)
    at Test.<anonymous> ( /custom-elements/Document-createElement-customized-builtins.html:41:5)
Pass
assert_true(true)
    at Test.<anonymous> ( /custom-elements/Document-createElement-customized-builtins.html:45:5)
Faildocument.createElement()'s second argument is to be ignored when it's a stringassert_false: expected false got true
    at Test.<anonymous> (https://www1.wpt.live/custom-elements/Document-createElement-customized-builtins.html:59:5)
    at Test.step (https://www1.wpt.live/resources/testharness.js:2638:25)
    at test (https://www1.wpt.live/resources/testharness.js:633:30)
    at https://www1.wpt.live/custom-elements/Document-createElement-customized-builtins.html:48:1
Asserts run
Pass
assert_true(true)
    at Test.<anonymous> ( /custom-elements/Document-createElement-customized-builtins.html:53:5)
Pass
assert_true(true)
    at Test.<anonymous> ( /custom-elements/Document-createElement-customized-builtins.html:54:5)
Pass
assert_equals("p", "p")
    at Test.<anonymous> ( /custom-elements/Document-createElement-customized-builtins.html:55:5)
Pass
assert_true(true)
    at Test.<anonymous> ( /custom-elements/Document-createElement-customized-builtins.html:58:5)
Fail
assert_false(true)
    at Test.<anonymous> ( /custom-elements/Document-createElement-customized-builtins.html:59:5)
Passdocument.createElement must report an exception thrown by a custom built-in element constructor
Asserts run
Pass
assert_throws_exactly(object "[object Object]", function "function () { new ThrowCustomBuiltinElement; }")
    at Test.<anonymous> ( /custom-elements/Document-createElement-customized-builtins.html:75:5)
Pass
assert_equals("exception thrown by a custom constructor", "exception thrown by a custom constructor", undefined)
    at assert_reports ( /custom-elements/Document-createElement-customized-builtins.html:21:9)
Pass
assert_equals("div", "div")
    at Test.<anonymous> ( /custom-elements/Document-createElement-customized-builtins.html:78:5)
Pass
assert_true(true)
    at Test.<anonymous> ( /custom-elements/Document-createElement-customized-builtins.html:79:5)
Pass
assert_true(true)
    at Test.<anonymous> ( /custom-elements/Document-createElement-customized-builtins.html:83:5)
Pass
assert_equals("div", "div")
    at Test.<anonymous> ( /custom-elements/Document-createElement-customized-builtins.html:84:5)
Passdocument.createElement with unknown "is" value should create "undefined" state element
Asserts run
Pass
assert_false(false)
    at Test.<anonymous> ( /custom-elements/Document-createElement-customized-builtins.html:94:3)
Pass
assert_false(false)
    at Test.<anonymous> ( /custom-elements/Document-createElement-customized-builtins.html:95:3)
Pass
assert_true(true, "Undefined element is upgraded on connecting to a document")
    at Test.<anonymous> ( /custom-elements/Document-createElement-customized-builtins.html:99:3)