Get observed attributes when a CE is defined

Implements steps 10.5 - 10.6 of CustomElementRegistry.define
This commit is contained in:
Connor Brewster 2017-06-19 14:34:31 -06:00
parent 901a2028f1
commit 596ed557d2
2 changed files with 57 additions and 25 deletions

View file

@ -1,20 +1,5 @@
[CustomElementRegistry.html]
type: testharness
[customElements.define must get "observedAttributes" property on the constructor prototype when "attributeChangedCallback" is present]
expected: FAIL
[customElements.define must rethrow an exception thrown while getting observedAttributes on the constructor prototype]
expected: FAIL
[customElements.define must rethrow an exception thrown while converting the value of observedAttributes to sequence<DOMString>]
expected: FAIL
[customElements.define must rethrow an exception thrown while iterating over observedAttributes to sequence<DOMString>]
expected: FAIL
[customElements.define must rethrow an exception thrown while retrieving Symbol.iterator on observedAttributes]
expected: FAIL
[customElements.define must upgrade elements in the shadow-including tree order]
expected: FAIL