OLD | NEW |
1 This is a testharness.js-based test. | 1 This is a testharness.js-based test. |
2 PASS Use NewTarget's prototype, not the one stored at definition time | 2 PASS Use NewTarget's prototype, not the one stored at definition time |
3 PASS Rethrow any exceptions thrown while getting the prototype | 3 PASS Rethrow any exceptions thrown while getting the prototype |
4 PASS If prototype is not object (null), derives the fallback from NewTarget's re
alm (autonomous custom elements) | 4 PASS If prototype is not object (null), derives the fallback from NewTarget's re
alm (autonomous custom elements) |
5 PASS If prototype is not object (undefined), derives the fallback from NewTarget
's realm (autonomous custom elements) | 5 PASS If prototype is not object (undefined), derives the fallback from NewTarget
's realm (autonomous custom elements) |
6 PASS If prototype is not object (5), derives the fallback from NewTarget's realm
(autonomous custom elements) | 6 PASS If prototype is not object (5), derives the fallback from NewTarget's realm
(autonomous custom elements) |
7 PASS If prototype is not object (string), derives the fallback from NewTarget's
realm (autonomous custom elements) | 7 PASS If prototype is not object (string), derives the fallback from NewTarget's
realm (autonomous custom elements) |
8 FAIL If prototype is not object (null), derives the fallback from NewTarget's re
alm (customized built-in elements) assert_equals: Must use the HTMLParagraphElem
ent from the realm of NewTarget expected (function) function "function HTMLParag
raphElement() { [native code] }" but got (object) object "[object HTMLElement]" | 8 FAIL If prototype is not object (null), derives the fallback from NewTarget's re
alm (customized built-in elements) assert_equals: Must use the HTMLParagraphElem
ent from the realm of NewTarget expected object "[object HTMLParagraphElement]"
but got object "[object HTMLElement]" |
9 FAIL If prototype is not object (undefined), derives the fallback from NewTarget
's realm (customized built-in elements) assert_equals: Must use the HTMLParagrap
hElement from the realm of NewTarget expected (function) function "function HTML
ParagraphElement() { [native code] }" but got (object) object "[object HTMLEleme
nt]" | 9 FAIL If prototype is not object (undefined), derives the fallback from NewTarget
's realm (customized built-in elements) assert_equals: Must use the HTMLParagrap
hElement from the realm of NewTarget expected object "[object HTMLParagraphEleme
nt]" but got object "[object HTMLElement]" |
10 FAIL If prototype is not object (5), derives the fallback from NewTarget's realm
(customized built-in elements) assert_equals: Must use the HTMLParagraphElement
from the realm of NewTarget expected (function) function "function HTMLParagrap
hElement() { [native code] }" but got (object) object "[object HTMLElement]" | 10 FAIL If prototype is not object (5), derives the fallback from NewTarget's realm
(customized built-in elements) assert_equals: Must use the HTMLParagraphElement
from the realm of NewTarget expected object "[object HTMLParagraphElement]" but
got object "[object HTMLElement]" |
11 FAIL If prototype is not object (string), derives the fallback from NewTarget's
realm (customized built-in elements) assert_equals: Must use the HTMLParagraphEl
ement from the realm of NewTarget expected (function) function "function HTMLPar
agraphElement() { [native code] }" but got (object) object "[object HTMLElement]
" | 11 FAIL If prototype is not object (string), derives the fallback from NewTarget's
realm (customized built-in elements) assert_equals: Must use the HTMLParagraphEl
ement from the realm of NewTarget expected object "[object HTMLParagraphElement]
" but got object "[object HTMLElement]" |
12 Harness: the test ran to completion. | 12 Harness: the test ran to completion. |
13 | 13 |
OLD | NEW |