Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(82)

Side by Side Diff: third_party/WebKit/LayoutTests/imported/wpt/custom-elements/htmlconstructor/newtarget-expected.txt

Issue 2441943002: Retrieve prototype during custom element construction. (Closed)
Patch Set: Update after https://codereview.chromium.org/2443543002 Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 This is a testharness.js-based test. 1 This is a testharness.js-based test.
2 FAIL Use NewTarget's prototype, not the one stored at definition time assert_equ als: Must use the value returned from new.target.prototype expected object "[obj ect Object]" but got object "[object Object]" 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 FAIL If prototype is not object (null), derives the fallback from NewTarget's re alm (autonomous custom elements) assert_equals: Must use the HTMLElement from th e realm of NewTarget expected object "[object HTMLElement]" but got object "[obj ect Object]" 4 PASS If prototype is not object (null), derives the fallback from NewTarget's re alm (autonomous custom elements)
5 FAIL If prototype is not object (undefined), derives the fallback from NewTarget 's realm (autonomous custom elements) assert_equals: Must use the HTMLElement fr om the realm of NewTarget expected object "[object HTMLElement]" but got object "[object Object]" 5 PASS If prototype is not object (undefined), derives the fallback from NewTarget 's realm (autonomous custom elements)
6 FAIL If prototype is not object (5), derives the fallback from NewTarget's realm (autonomous custom elements) assert_equals: Must use the HTMLElement from the r ealm of NewTarget expected object "[object HTMLElement]" but got object "[object Object]" 6 PASS If prototype is not object (5), derives the fallback from NewTarget's realm (autonomous custom elements)
7 FAIL If prototype is not object (string), derives the fallback from NewTarget's realm (autonomous custom elements) assert_equals: Must use the HTMLElement from the realm of NewTarget expected object "[object HTMLElement]" but got object "[o bject Object]" 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) promise_test: Unhandled rejection with value: object "TypeError: Illegal constructor" 8 FAIL If prototype is not object (null), derives the fallback from NewTarget's re alm (customized built-in elements) promise_test: Unhandled rejection with value: object "TypeError: Illegal constructor"
9 FAIL If prototype is not object (undefined), derives the fallback from NewTarget 's realm (customized built-in elements) promise_test: Unhandled rejection with v alue: object "TypeError: Illegal constructor" 9 FAIL If prototype is not object (undefined), derives the fallback from NewTarget 's realm (customized built-in elements) promise_test: Unhandled rejection with v alue: object "TypeError: Illegal constructor"
10 FAIL If prototype is not object (5), derives the fallback from NewTarget's realm (customized built-in elements) promise_test: Unhandled rejection with value: ob ject "TypeError: Illegal constructor" 10 FAIL If prototype is not object (5), derives the fallback from NewTarget's realm (customized built-in elements) promise_test: Unhandled rejection with value: ob ject "TypeError: Illegal constructor"
11 FAIL If prototype is not object (string), derives the fallback from NewTarget's realm (customized built-in elements) promise_test: Unhandled rejection with valu e: object "TypeError: Illegal constructor" 11 FAIL If prototype is not object (string), derives the fallback from NewTarget's realm (customized built-in elements) promise_test: Unhandled rejection with valu e: object "TypeError: Illegal constructor"
12 Harness: the test ran to completion. 12 Harness: the test ran to completion.
13 13
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698