Pass | Use NewTarget's prototype, not the one stored at definition time | Asserts runPass | assert_equals(object "[object Object]", object "[object Object]", "Must use the value returned from new.target.prototype")
at new TestElement ( /custom-elements/htmlconstructor/newtarget.html:19:5) | Pass | assert_not_equals(object "[object Object]", object "[object Object]", "Must not use the prototype stored at definition time")
at new TestElement ( /custom-elements/htmlconstructor/newtarget.html:21:5) |
|
Pass | Rethrow any exceptions thrown while getting the prototype | Asserts runPass | assert_throws_exactly(object "[object Object]", function "() => { Reflect.construct(w.HTMLElement, [], new.target); }")
at new TestElement ( /custom-elements/htmlconstructor/newtarget.html:46:5) |
|
Pass | If prototype is not object (null), derives the fallback from NewTarget's realm (autonomous custom elements) | Asserts runPass | assert_equals(function "function () { [native code] }", function "function () { [native code] }")
at new TestElement ( /custom-elements/htmlconstructor/newtarget.html:73:7) | Pass | assert_equals(object "[object HTMLElement]", object "[object HTMLElement]", "Must use the HTMLElement from the realm of NewTarget")
at new TestElement ( /custom-elements/htmlconstructor/newtarget.html:74:7) | Pass | assert_not_equals(object "[object HTMLElement]", object "[object HTMLElement]", "Must not use the HTMLElement from the realm of the active function object (w.HTMLElement)")
at new TestElement ( /custom-elements/htmlconstructor/newtarget.html:76:7) |
|
Fail | If prototype is not object (null), derives the fallback from NewTarget's GetFunctionRealm (autonomous custom elements) | assert_equals: Must use the HTMLElement from the realm of NewTarget expected object "[object HTMLElement]" but got object "[object HTMLElement]" at new TestElement (https://www1.wpt.live/custom-elements/htmlconstructor/newtarget.html:104:7)
at https://www1.wpt.live/custom-elements/htmlconstructor/newtarget.html:125:5
at https://www1.wpt.live/custom-elements/resources/custom-elements-helpers.js:33:7 Asserts runPass | assert_equals(function "function () { [native code] }", function "function () { [native code] }")
at new TestElement ( /custom-elements/htmlconstructor/newtarget.html:103:7) | Fail | assert_equals(object "[object HTMLElement]", object "[object HTMLElement]", "Must use the HTMLElement from the realm of NewTarget")
at new TestElement ( /custom-elements/htmlconstructor/newtarget.html:104:7) |
|
Pass | If prototype is not object (undefined), derives the fallback from NewTarget's realm (autonomous custom elements) | Asserts runPass | assert_equals(function "function () { [native code] }", function "function () { [native code] }")
at new TestElement ( /custom-elements/htmlconstructor/newtarget.html:73:7) | Pass | assert_equals(object "[object HTMLElement]", object "[object HTMLElement]", "Must use the HTMLElement from the realm of NewTarget")
at new TestElement ( /custom-elements/htmlconstructor/newtarget.html:74:7) | Pass | assert_not_equals(object "[object HTMLElement]", object "[object HTMLElement]", "Must not use the HTMLElement from the realm of the active function object (w.HTMLElement)")
at new TestElement ( /custom-elements/htmlconstructor/newtarget.html:76:7) |
|
Fail | If prototype is not object (undefined), derives the fallback from NewTarget's GetFunctionRealm (autonomous custom elements) | assert_equals: Must use the HTMLElement from the realm of NewTarget expected object "[object HTMLElement]" but got object "[object HTMLElement]" at new TestElement (https://www1.wpt.live/custom-elements/htmlconstructor/newtarget.html:104:7)
at https://www1.wpt.live/custom-elements/htmlconstructor/newtarget.html:125:5
at https://www1.wpt.live/custom-elements/resources/custom-elements-helpers.js:33:7 Asserts runPass | assert_equals(function "function () { [native code] }", function "function () { [native code] }")
at new TestElement ( /custom-elements/htmlconstructor/newtarget.html:103:7) | Fail | assert_equals(object "[object HTMLElement]", object "[object HTMLElement]", "Must use the HTMLElement from the realm of NewTarget")
at new TestElement ( /custom-elements/htmlconstructor/newtarget.html:104:7) |
|
Pass | If prototype is not object (5), derives the fallback from NewTarget's realm (autonomous custom elements) | Asserts runPass | assert_equals(function "function () { [native code] }", function "function () { [native code] }")
at new TestElement ( /custom-elements/htmlconstructor/newtarget.html:73:7) | Pass | assert_equals(object "[object HTMLElement]", object "[object HTMLElement]", "Must use the HTMLElement from the realm of NewTarget")
at new TestElement ( /custom-elements/htmlconstructor/newtarget.html:74:7) | Pass | assert_not_equals(object "[object HTMLElement]", object "[object HTMLElement]", "Must not use the HTMLElement from the realm of the active function object (w.HTMLElement)")
at new TestElement ( /custom-elements/htmlconstructor/newtarget.html:76:7) |
|
Fail | If prototype is not object (5), derives the fallback from NewTarget's GetFunctionRealm (autonomous custom elements) | assert_equals: Must use the HTMLElement from the realm of NewTarget expected object "[object HTMLElement]" but got object "[object HTMLElement]" at new TestElement (https://www1.wpt.live/custom-elements/htmlconstructor/newtarget.html:104:7)
at https://www1.wpt.live/custom-elements/htmlconstructor/newtarget.html:125:5
at https://www1.wpt.live/custom-elements/resources/custom-elements-helpers.js:33:7 Asserts runPass | assert_equals(function "function () { [native code] }", function "function () { [native code] }")
at new TestElement ( /custom-elements/htmlconstructor/newtarget.html:103:7) | Fail | assert_equals(object "[object HTMLElement]", object "[object HTMLElement]", "Must use the HTMLElement from the realm of NewTarget")
at new TestElement ( /custom-elements/htmlconstructor/newtarget.html:104:7) |
|
Pass | If prototype is not object (string), derives the fallback from NewTarget's realm (autonomous custom elements) | Asserts runPass | assert_equals(function "function () { [native code] }", function "function () { [native code] }")
at new TestElement ( /custom-elements/htmlconstructor/newtarget.html:73:7) | Pass | assert_equals(object "[object HTMLElement]", object "[object HTMLElement]", "Must use the HTMLElement from the realm of NewTarget")
at new TestElement ( /custom-elements/htmlconstructor/newtarget.html:74:7) | Pass | assert_not_equals(object "[object HTMLElement]", object "[object HTMLElement]", "Must not use the HTMLElement from the realm of the active function object (w.HTMLElement)")
at new TestElement ( /custom-elements/htmlconstructor/newtarget.html:76:7) |
|
Fail | If prototype is not object (string), derives the fallback from NewTarget's GetFunctionRealm (autonomous custom elements) | assert_equals: Must use the HTMLElement from the realm of NewTarget expected object "[object HTMLElement]" but got object "[object HTMLElement]" at new TestElement (https://www1.wpt.live/custom-elements/htmlconstructor/newtarget.html:104:7)
at https://www1.wpt.live/custom-elements/htmlconstructor/newtarget.html:125:5
at https://www1.wpt.live/custom-elements/resources/custom-elements-helpers.js:33:7 Asserts runPass | assert_equals(function "function () { [native code] }", function "function () { [native code] }")
at new TestElement ( /custom-elements/htmlconstructor/newtarget.html:103:7) | Fail | assert_equals(object "[object HTMLElement]", object "[object HTMLElement]", "Must use the HTMLElement from the realm of NewTarget")
at new TestElement ( /custom-elements/htmlconstructor/newtarget.html:104:7) |
|