mirror of
https://github.com/servo/servo.git
synced 2025-08-04 05:00:08 +01:00
Store lifecycle callbacks when CEs are defined
This implements steps 10.3 - 10.4 of the CustomElementRegistry.define steps.
This commit is contained in:
parent
347cbb0635
commit
901a2028f1
3 changed files with 84 additions and 69 deletions
|
@ -1,14 +1,5 @@
|
|||
[CustomElementRegistry.html]
|
||||
type: testharness
|
||||
[customElements.define must get callbacks of the constructor prototype]
|
||||
expected: FAIL
|
||||
|
||||
[customElements.define must rethrow an exception thrown while getting callbacks on the constructor prototype]
|
||||
expected: FAIL
|
||||
|
||||
[customElements.define must rethrow an exception thrown while converting a callback value to Function callback type]
|
||||
expected: FAIL
|
||||
|
||||
[customElements.define must get "observedAttributes" property on the constructor prototype when "attributeChangedCallback" is present]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -3,51 +3,3 @@
|
|||
[If constructor is arrow function, should throw a TypeError]
|
||||
expected: FAIL
|
||||
|
||||
[If constructor.prototype.connectedCallback throws, should rethrow]
|
||||
expected: FAIL
|
||||
|
||||
[If constructor.prototype.connectedCallback is null, should throw a TypeError]
|
||||
expected: FAIL
|
||||
|
||||
[If constructor.prototype.connectedCallback is object, should throw a TypeError]
|
||||
expected: FAIL
|
||||
|
||||
[If constructor.prototype.connectedCallback is integer, should throw a TypeError]
|
||||
expected: FAIL
|
||||
|
||||
[If constructor.prototype.disconnectedCallback throws, should rethrow]
|
||||
expected: FAIL
|
||||
|
||||
[If constructor.prototype.disconnectedCallback is null, should throw a TypeError]
|
||||
expected: FAIL
|
||||
|
||||
[If constructor.prototype.disconnectedCallback is object, should throw a TypeError]
|
||||
expected: FAIL
|
||||
|
||||
[If constructor.prototype.disconnectedCallback is integer, should throw a TypeError]
|
||||
expected: FAIL
|
||||
|
||||
[If constructor.prototype.adoptedCallback throws, should rethrow]
|
||||
expected: FAIL
|
||||
|
||||
[If constructor.prototype.adoptedCallback is null, should throw a TypeError]
|
||||
expected: FAIL
|
||||
|
||||
[If constructor.prototype.adoptedCallback is object, should throw a TypeError]
|
||||
expected: FAIL
|
||||
|
||||
[If constructor.prototype.adoptedCallback is integer, should throw a TypeError]
|
||||
expected: FAIL
|
||||
|
||||
[If constructor.prototype.attributeChangedCallback throws, should rethrow]
|
||||
expected: FAIL
|
||||
|
||||
[If constructor.prototype.attributeChangedCallback is null, should throw a TypeError]
|
||||
expected: FAIL
|
||||
|
||||
[If constructor.prototype.attributeChangedCallback is object, should throw a TypeError]
|
||||
expected: FAIL
|
||||
|
||||
[If constructor.prototype.attributeChangedCallback is integer, should throw a TypeError]
|
||||
expected: FAIL
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue