Implement HTMLConstructor

This commit is contained in:
Connor Brewster 2017-06-07 13:55:42 -06:00
parent d883f55d0c
commit 2333b39569
7 changed files with 204 additions and 83 deletions

View file

@ -27,9 +27,6 @@
[customElements.define must rethrow an exception thrown while retrieving Symbol.iterator on observedAttributes]
expected: FAIL
[customElements.define must define an instantiatable custom element]
expected: FAIL
[customElements.define must upgrade elements in the shadow-including tree order]
expected: FAIL

View file

@ -1,11 +0,0 @@
[HTMLElement-constructor.html]
type: testharness
[HTMLElement constructor must infer the tag name from the element interface]
expected: FAIL
[HTMLElement constructor must allow subclassing a custom element]
expected: FAIL
[HTMLElement constructor must allow subclassing an user-defined subclass of HTMLElement]
expected: FAIL

View file

@ -1,32 +0,0 @@
[newtarget.html]
type: testharness
[Use NewTarget's prototype, not the one stored at definition time]
expected: FAIL
[Rethrow any exceptions thrown while getting the prototype]
expected: FAIL
[If prototype is not object (null), derives the fallback from NewTarget's realm (autonomous custom elements)]
expected: FAIL
[If prototype is not object (undefined), derives the fallback from NewTarget's realm (autonomous custom elements)]
expected: FAIL
[If prototype is not object (5), derives the fallback from NewTarget's realm (autonomous custom elements)]
expected: FAIL
[If prototype is not object (string), derives the fallback from NewTarget's realm (autonomous custom elements)]
expected: FAIL
[If prototype is not object (null), derives the fallback from NewTarget's realm (customized built-in elements)]
expected: FAIL
[If prototype is not object (undefined), derives the fallback from NewTarget's realm (customized built-in elements)]
expected: FAIL
[If prototype is not object (5), derives the fallback from NewTarget's realm (customized built-in elements)]
expected: FAIL
[If prototype is not object (string), derives the fallback from NewTarget's realm (customized built-in elements)]
expected: FAIL