Summary

Harness status: OK

Found 2 tests

Details

ResultTest NameMessage
FailHTMLElement constructor must not get .prototype until it finishes its extends sanity checks, calling proxy constructor directlyassert_equals: Should never have gotten .prototype expected 0 but got 1
    at Test.<anonymous> (https://www1.wpt.live/custom-elements/HTMLElement-constructor-customized-builtins.html:34: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/HTMLElement-constructor-customized-builtins.html:15:1
Asserts run
Pass
assert_throws_js(function "function TypeError() { [native code] }", function "function () { new countingProxy() }", "Should not be able to construct an HTMLElement named 'button'")
    at Test.<anonymous> ( /custom-elements/HTMLElement-constructor-customized-builtins.html:31:5)
Fail
assert_equals(1, 0, "Should never have gotten .prototype")
    at Test.<anonymous> ( /custom-elements/HTMLElement-constructor-customized-builtins.html:34:5)
FailHTMLElement constructor must not get .prototype until it finishes its extends sanity checks, calling via Reflectassert_equals: Should never have gotten .prototype expected 0 but got 1
    at Test.<anonymous> (https://www1.wpt.live/custom-elements/HTMLElement-constructor-customized-builtins.html:56: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/HTMLElement-constructor-customized-builtins.html:37:1
Asserts run
Pass
assert_throws_js(function "function TypeError() { [native code] }", function "function () { Reflect.construct(HTMLElement, [], countingProxy) }", "Should not be able to construct an HTMLElement named 'button'")
    at Test.<anonymous> ( /custom-elements/HTMLElement-constructor-customized-builtins.html:53:5)
Fail
assert_equals(1, 0, "Should never have gotten .prototype")
    at Test.<anonymous> ( /custom-elements/HTMLElement-constructor-customized-builtins.html:56:5)