mirror of
https://github.com/servo/servo.git
synced 2025-08-13 01:15:34 +01:00
Auto merge of #17614 - cbrewster:custom_element_reactions, r=jdm
Implement custom element reactions <!-- Please describe your changes on the following line: --> Initial work for implementing custom element reactions: https://html.spec.whatwg.org/multipage/custom-elements.html#custom-element-reactions --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [X] These changes fix #17433 (github issue number if applicable). <!-- Either: --> - [X] There are tests for these changes OR - [ ] These changes do not require tests because _____ <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/17614) <!-- Reviewable:end -->
This commit is contained in:
commit
7b134440fc
18 changed files with 616 additions and 262 deletions
|
@ -31,9 +31,9 @@ macro_rules! sizeof_checker (
|
|||
// Update the sizes here
|
||||
sizeof_checker!(size_event_target, EventTarget, 40);
|
||||
sizeof_checker!(size_node, Node, 184);
|
||||
sizeof_checker!(size_element, Element, 376);
|
||||
sizeof_checker!(size_htmlelement, HTMLElement, 392);
|
||||
sizeof_checker!(size_div, HTMLDivElement, 392);
|
||||
sizeof_checker!(size_span, HTMLSpanElement, 392);
|
||||
sizeof_checker!(size_element, Element, 424);
|
||||
sizeof_checker!(size_htmlelement, HTMLElement, 440);
|
||||
sizeof_checker!(size_div, HTMLDivElement, 440);
|
||||
sizeof_checker!(size_span, HTMLSpanElement, 440);
|
||||
sizeof_checker!(size_text, Text, 216);
|
||||
sizeof_checker!(size_characterdata, CharacterData, 216);
|
||||
|
|
|
@ -1,29 +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
|
||||
|
||||
[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
|
||||
|
||||
|
|
|
@ -1,14 +1,5 @@
|
|||
[adopted-callback.html]
|
||||
type: testharness
|
||||
[Inserting a custom element into the owner document must not enqueue and invoke adoptedCallback]
|
||||
expected: FAIL
|
||||
|
||||
[Inserting a custom element into the document of the template elements must enqueue and invoke adoptedCallback]
|
||||
expected: FAIL
|
||||
|
||||
[Moving a custom element from the owner document into the document of the template elements must enqueue and invoke adoptedCallback]
|
||||
expected: FAIL
|
||||
|
||||
[Inserting an ancestor of custom element into the document of the template elements must enqueue and invoke adoptedCallback]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -27,12 +18,6 @@
|
|||
[Inserting a custom element into a detached shadow tree that belongs to the document of the template elements must enqueue and invoke adoptedCallback]
|
||||
expected: FAIL
|
||||
|
||||
[Inserting a custom element into a new document must enqueue and invoke adoptedCallback]
|
||||
expected: FAIL
|
||||
|
||||
[Moving a custom element from the owner document into a new document must enqueue and invoke adoptedCallback]
|
||||
expected: FAIL
|
||||
|
||||
[Inserting an ancestor of custom element into a new document must enqueue and invoke adoptedCallback]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -51,12 +36,6 @@
|
|||
[Inserting a custom element into a detached shadow tree that belongs to a new document must enqueue and invoke adoptedCallback]
|
||||
expected: FAIL
|
||||
|
||||
[Inserting a custom element into a cloned document must enqueue and invoke adoptedCallback]
|
||||
expected: FAIL
|
||||
|
||||
[Moving a custom element from the owner document into a cloned document must enqueue and invoke adoptedCallback]
|
||||
expected: FAIL
|
||||
|
||||
[Inserting an ancestor of custom element into a cloned document must enqueue and invoke adoptedCallback]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -75,12 +54,6 @@
|
|||
[Inserting a custom element into a detached shadow tree that belongs to a cloned document must enqueue and invoke adoptedCallback]
|
||||
expected: FAIL
|
||||
|
||||
[Inserting a custom element into a document created by createHTMLDocument must enqueue and invoke adoptedCallback]
|
||||
expected: FAIL
|
||||
|
||||
[Moving a custom element from the owner document into a document created by createHTMLDocument must enqueue and invoke adoptedCallback]
|
||||
expected: FAIL
|
||||
|
||||
[Inserting an ancestor of custom element into a document created by createHTMLDocument must enqueue and invoke adoptedCallback]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -99,12 +72,6 @@
|
|||
[Inserting a custom element into a detached shadow tree that belongs to a document created by createHTMLDocument must enqueue and invoke adoptedCallback]
|
||||
expected: FAIL
|
||||
|
||||
[Inserting a custom element into an HTML document created by createDocument must enqueue and invoke adoptedCallback]
|
||||
expected: FAIL
|
||||
|
||||
[Moving a custom element from the owner document into an HTML document created by createDocument must enqueue and invoke adoptedCallback]
|
||||
expected: FAIL
|
||||
|
||||
[Inserting an ancestor of custom element into an HTML document created by createDocument must enqueue and invoke adoptedCallback]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -123,12 +90,6 @@
|
|||
[Inserting a custom element into a detached shadow tree that belongs to an HTML document created by createDocument must enqueue and invoke adoptedCallback]
|
||||
expected: FAIL
|
||||
|
||||
[Inserting a custom element into the document of an iframe must enqueue and invoke adoptedCallback]
|
||||
expected: FAIL
|
||||
|
||||
[Moving a custom element from the owner document into the document of an iframe must enqueue and invoke adoptedCallback]
|
||||
expected: FAIL
|
||||
|
||||
[Inserting an ancestor of custom element into the document of an iframe must enqueue and invoke adoptedCallback]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -147,12 +108,6 @@
|
|||
[Inserting a custom element into a detached shadow tree that belongs to the document of an iframe must enqueue and invoke adoptedCallback]
|
||||
expected: FAIL
|
||||
|
||||
[Inserting a custom element into an HTML document fetched by XHR must enqueue and invoke adoptedCallback]
|
||||
expected: FAIL
|
||||
|
||||
[Moving a custom element from the owner document into an HTML document fetched by XHR must enqueue and invoke adoptedCallback]
|
||||
expected: FAIL
|
||||
|
||||
[Inserting an ancestor of custom element into an HTML document fetched by XHR must enqueue and invoke adoptedCallback]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -174,3 +129,48 @@
|
|||
[Custom Elements: adoptedCallback]
|
||||
expected: FAIL
|
||||
|
||||
[Inserting a custom element into the owner document must not enqueue and invoke adoptedCallback]
|
||||
expected: FAIL
|
||||
|
||||
[Inserting a custom element into the document of the template elements must enqueue and invoke adoptedCallback]
|
||||
expected: FAIL
|
||||
|
||||
[Moving a custom element from the owner document into the document of the template elements must enqueue and invoke adoptedCallback]
|
||||
expected: FAIL
|
||||
|
||||
[Inserting a custom element into a new document must enqueue and invoke adoptedCallback]
|
||||
expected: FAIL
|
||||
|
||||
[Moving a custom element from the owner document into a new document must enqueue and invoke adoptedCallback]
|
||||
expected: FAIL
|
||||
|
||||
[Inserting a custom element into a cloned document must enqueue and invoke adoptedCallback]
|
||||
expected: FAIL
|
||||
|
||||
[Moving a custom element from the owner document into a cloned document must enqueue and invoke adoptedCallback]
|
||||
expected: FAIL
|
||||
|
||||
[Inserting a custom element into a document created by createHTMLDocument must enqueue and invoke adoptedCallback]
|
||||
expected: FAIL
|
||||
|
||||
[Moving a custom element from the owner document into a document created by createHTMLDocument must enqueue and invoke adoptedCallback]
|
||||
expected: FAIL
|
||||
|
||||
[Inserting a custom element into an HTML document created by createDocument must enqueue and invoke adoptedCallback]
|
||||
expected: FAIL
|
||||
|
||||
[Moving a custom element from the owner document into an HTML document created by createDocument must enqueue and invoke adoptedCallback]
|
||||
expected: FAIL
|
||||
|
||||
[Inserting a custom element into the document of an iframe must enqueue and invoke adoptedCallback]
|
||||
expected: FAIL
|
||||
|
||||
[Moving a custom element from the owner document into the document of an iframe must enqueue and invoke adoptedCallback]
|
||||
expected: FAIL
|
||||
|
||||
[Inserting a custom element into an HTML document fetched by XHR must enqueue and invoke adoptedCallback]
|
||||
expected: FAIL
|
||||
|
||||
[Moving a custom element from the owner document into an HTML document fetched by XHR must enqueue and invoke adoptedCallback]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,8 +1,5 @@
|
|||
[connected-callbacks.html]
|
||||
type: testharness
|
||||
[Inserting a custom element into the document must enqueue and invoke connectedCallback]
|
||||
expected: FAIL
|
||||
|
||||
[Inserting an ancestor of custom element into the document must enqueue and invoke connectedCallback]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -15,9 +12,6 @@
|
|||
[Inserting a custom element into a detached shadow tree that belongs to the document must not enqueue and invoke connectedCallback]
|
||||
expected: FAIL
|
||||
|
||||
[Inserting a custom element into the document of the template elements must enqueue and invoke connectedCallback]
|
||||
expected: FAIL
|
||||
|
||||
[Inserting an ancestor of custom element into the document of the template elements must enqueue and invoke connectedCallback]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -30,9 +24,6 @@
|
|||
[Inserting a custom element into a detached shadow tree that belongs to the document of the template elements must not enqueue and invoke connectedCallback]
|
||||
expected: FAIL
|
||||
|
||||
[Inserting a custom element into a new document must enqueue and invoke connectedCallback]
|
||||
expected: FAIL
|
||||
|
||||
[Inserting an ancestor of custom element into a new document must enqueue and invoke connectedCallback]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -45,9 +36,6 @@
|
|||
[Inserting a custom element into a detached shadow tree that belongs to a new document must not enqueue and invoke connectedCallback]
|
||||
expected: FAIL
|
||||
|
||||
[Inserting a custom element into a cloned document must enqueue and invoke connectedCallback]
|
||||
expected: FAIL
|
||||
|
||||
[Inserting an ancestor of custom element into a cloned document must enqueue and invoke connectedCallback]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -60,9 +48,6 @@
|
|||
[Inserting a custom element into a detached shadow tree that belongs to a cloned document must not enqueue and invoke connectedCallback]
|
||||
expected: FAIL
|
||||
|
||||
[Inserting a custom element into a document created by createHTMLDocument must enqueue and invoke connectedCallback]
|
||||
expected: FAIL
|
||||
|
||||
[Inserting an ancestor of custom element into a document created by createHTMLDocument must enqueue and invoke connectedCallback]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -75,9 +60,6 @@
|
|||
[Inserting a custom element into a detached shadow tree that belongs to a document created by createHTMLDocument must not enqueue and invoke connectedCallback]
|
||||
expected: FAIL
|
||||
|
||||
[Inserting a custom element into an HTML document created by createDocument must enqueue and invoke connectedCallback]
|
||||
expected: FAIL
|
||||
|
||||
[Inserting an ancestor of custom element into an HTML document created by createDocument must enqueue and invoke connectedCallback]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -90,9 +72,6 @@
|
|||
[Inserting a custom element into a detached shadow tree that belongs to an HTML document created by createDocument must not enqueue and invoke connectedCallback]
|
||||
expected: FAIL
|
||||
|
||||
[Inserting a custom element into the document of an iframe must enqueue and invoke connectedCallback]
|
||||
expected: FAIL
|
||||
|
||||
[Inserting an ancestor of custom element into the document of an iframe must enqueue and invoke connectedCallback]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -105,9 +84,6 @@
|
|||
[Inserting a custom element into a detached shadow tree that belongs to the document of an iframe must not enqueue and invoke connectedCallback]
|
||||
expected: FAIL
|
||||
|
||||
[Inserting a custom element into an HTML document fetched by XHR must enqueue and invoke connectedCallback]
|
||||
expected: FAIL
|
||||
|
||||
[Inserting an ancestor of custom element into an HTML document fetched by XHR must enqueue and invoke connectedCallback]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -123,3 +99,27 @@
|
|||
[Custom Elements: connectedCallback]
|
||||
expected: FAIL
|
||||
|
||||
[Inserting a custom element into the document must enqueue and invoke connectedCallback]
|
||||
expected: FAIL
|
||||
|
||||
[Inserting a custom element into the document of the template elements must enqueue and invoke connectedCallback]
|
||||
expected: FAIL
|
||||
|
||||
[Inserting a custom element into a new document must enqueue and invoke connectedCallback]
|
||||
expected: FAIL
|
||||
|
||||
[Inserting a custom element into a cloned document must enqueue and invoke connectedCallback]
|
||||
expected: FAIL
|
||||
|
||||
[Inserting a custom element into a document created by createHTMLDocument must enqueue and invoke connectedCallback]
|
||||
expected: FAIL
|
||||
|
||||
[Inserting a custom element into an HTML document created by createDocument must enqueue and invoke connectedCallback]
|
||||
expected: FAIL
|
||||
|
||||
[Inserting a custom element into the document of an iframe must enqueue and invoke connectedCallback]
|
||||
expected: FAIL
|
||||
|
||||
[Inserting a custom element into an HTML document fetched by XHR must enqueue and invoke connectedCallback]
|
||||
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
|
||||
|
||||
|
|
|
@ -1,11 +1,5 @@
|
|||
[disconnected-callbacks.html]
|
||||
type: testharness
|
||||
[Removing a custom element from the document must enqueue and invoke disconnectedCallback]
|
||||
expected: FAIL
|
||||
|
||||
[Removing an ancestor of custom element from the document must enqueue and invoke disconnectedCallback]
|
||||
expected: FAIL
|
||||
|
||||
[Removing a custom element from a shadow tree in the document must enqueue and invoke disconnectedCallback]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -15,12 +9,6 @@
|
|||
[Removing a custom element from a detached shadow tree that belongs to the document must not enqueue and invoke disconnectedCallback]
|
||||
expected: FAIL
|
||||
|
||||
[Removing a custom element from the document of the template elements must enqueue and invoke disconnectedCallback]
|
||||
expected: FAIL
|
||||
|
||||
[Removing an ancestor of custom element from the document of the template elements must enqueue and invoke disconnectedCallback]
|
||||
expected: FAIL
|
||||
|
||||
[Removing a custom element from a shadow tree in the document of the template elements must enqueue and invoke disconnectedCallback]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -30,12 +18,6 @@
|
|||
[Removing a custom element from a detached shadow tree that belongs to the document of the template elements must not enqueue and invoke disconnectedCallback]
|
||||
expected: FAIL
|
||||
|
||||
[Removing a custom element from a new document must enqueue and invoke disconnectedCallback]
|
||||
expected: FAIL
|
||||
|
||||
[Removing an ancestor of custom element from a new document must enqueue and invoke disconnectedCallback]
|
||||
expected: FAIL
|
||||
|
||||
[Removing a custom element from a shadow tree in a new document must enqueue and invoke disconnectedCallback]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -45,12 +27,6 @@
|
|||
[Removing a custom element from a detached shadow tree that belongs to a new document must not enqueue and invoke disconnectedCallback]
|
||||
expected: FAIL
|
||||
|
||||
[Removing a custom element from a cloned document must enqueue and invoke disconnectedCallback]
|
||||
expected: FAIL
|
||||
|
||||
[Removing an ancestor of custom element from a cloned document must enqueue and invoke disconnectedCallback]
|
||||
expected: FAIL
|
||||
|
||||
[Removing a custom element from a shadow tree in a cloned document must enqueue and invoke disconnectedCallback]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -60,12 +36,6 @@
|
|||
[Removing a custom element from a detached shadow tree that belongs to a cloned document must not enqueue and invoke disconnectedCallback]
|
||||
expected: FAIL
|
||||
|
||||
[Removing a custom element from a document created by createHTMLDocument must enqueue and invoke disconnectedCallback]
|
||||
expected: FAIL
|
||||
|
||||
[Removing an ancestor of custom element from a document created by createHTMLDocument must enqueue and invoke disconnectedCallback]
|
||||
expected: FAIL
|
||||
|
||||
[Removing a custom element from a shadow tree in a document created by createHTMLDocument must enqueue and invoke disconnectedCallback]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -75,12 +45,6 @@
|
|||
[Removing a custom element from a detached shadow tree that belongs to a document created by createHTMLDocument must not enqueue and invoke disconnectedCallback]
|
||||
expected: FAIL
|
||||
|
||||
[Removing a custom element from an HTML document created by createDocument must enqueue and invoke disconnectedCallback]
|
||||
expected: FAIL
|
||||
|
||||
[Removing an ancestor of custom element from an HTML document created by createDocument must enqueue and invoke disconnectedCallback]
|
||||
expected: FAIL
|
||||
|
||||
[Removing a custom element from a shadow tree in an HTML document created by createDocument must enqueue and invoke disconnectedCallback]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -90,12 +54,6 @@
|
|||
[Removing a custom element from a detached shadow tree that belongs to an HTML document created by createDocument must not enqueue and invoke disconnectedCallback]
|
||||
expected: FAIL
|
||||
|
||||
[Removing a custom element from the document of an iframe must enqueue and invoke disconnectedCallback]
|
||||
expected: FAIL
|
||||
|
||||
[Removing an ancestor of custom element from the document of an iframe must enqueue and invoke disconnectedCallback]
|
||||
expected: FAIL
|
||||
|
||||
[Removing a custom element from a shadow tree in the document of an iframe must enqueue and invoke disconnectedCallback]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -105,12 +63,6 @@
|
|||
[Removing a custom element from a detached shadow tree that belongs to the document of an iframe must not enqueue and invoke disconnectedCallback]
|
||||
expected: FAIL
|
||||
|
||||
[Removing a custom element from an HTML document fetched by XHR must enqueue and invoke disconnectedCallback]
|
||||
expected: FAIL
|
||||
|
||||
[Removing an ancestor of custom element from an HTML document fetched by XHR must enqueue and invoke disconnectedCallback]
|
||||
expected: FAIL
|
||||
|
||||
[Removing a custom element from a shadow tree in an HTML document fetched by XHR must enqueue and invoke disconnectedCallback]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -123,3 +75,51 @@
|
|||
[Custom Elements: disconnectedCallback]
|
||||
expected: FAIL
|
||||
|
||||
[Removing a custom element from the document must enqueue and invoke disconnectedCallback]
|
||||
expected: FAIL
|
||||
|
||||
[Removing an ancestor of custom element from the document must enqueue and invoke disconnectedCallback]
|
||||
expected: FAIL
|
||||
|
||||
[Removing a custom element from the document of the template elements must enqueue and invoke disconnectedCallback]
|
||||
expected: FAIL
|
||||
|
||||
[Removing an ancestor of custom element from the document of the template elements must enqueue and invoke disconnectedCallback]
|
||||
expected: FAIL
|
||||
|
||||
[Removing a custom element from a new document must enqueue and invoke disconnectedCallback]
|
||||
expected: FAIL
|
||||
|
||||
[Removing an ancestor of custom element from a new document must enqueue and invoke disconnectedCallback]
|
||||
expected: FAIL
|
||||
|
||||
[Removing a custom element from a cloned document must enqueue and invoke disconnectedCallback]
|
||||
expected: FAIL
|
||||
|
||||
[Removing an ancestor of custom element from a cloned document must enqueue and invoke disconnectedCallback]
|
||||
expected: FAIL
|
||||
|
||||
[Removing a custom element from a document created by createHTMLDocument must enqueue and invoke disconnectedCallback]
|
||||
expected: FAIL
|
||||
|
||||
[Removing an ancestor of custom element from a document created by createHTMLDocument must enqueue and invoke disconnectedCallback]
|
||||
expected: FAIL
|
||||
|
||||
[Removing a custom element from an HTML document created by createDocument must enqueue and invoke disconnectedCallback]
|
||||
expected: FAIL
|
||||
|
||||
[Removing an ancestor of custom element from an HTML document created by createDocument must enqueue and invoke disconnectedCallback]
|
||||
expected: FAIL
|
||||
|
||||
[Removing a custom element from the document of an iframe must enqueue and invoke disconnectedCallback]
|
||||
expected: FAIL
|
||||
|
||||
[Removing an ancestor of custom element from the document of an iframe must enqueue and invoke disconnectedCallback]
|
||||
expected: FAIL
|
||||
|
||||
[Removing a custom element from an HTML document fetched by XHR must enqueue and invoke disconnectedCallback]
|
||||
expected: FAIL
|
||||
|
||||
[Removing an ancestor of custom element from an HTML document fetched by XHR must enqueue and invoke disconnectedCallback]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,14 +1,8 @@
|
|||
[Document.html]
|
||||
type: testharness
|
||||
[adoptNode on Document must enqueue an adopted reaction when importing a custom element]
|
||||
expected: FAIL
|
||||
|
||||
[execCommand on Document must enqueue a disconnected reaction when deleting a custom element from a contenteditable element]
|
||||
expected: FAIL
|
||||
|
||||
[title on Document must enqueue disconnectedCallback when removing a custom element]
|
||||
expected: FAIL
|
||||
|
||||
[body on Document must enqueue disconnectedCallback when removing a custom element]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -21,15 +15,21 @@
|
|||
[write on Document must enqueue disconnectedCallback when removing a custom element]
|
||||
expected: FAIL
|
||||
|
||||
[write on Document must enqueue connectedCallback after constructing a custom element]
|
||||
expected: FAIL
|
||||
|
||||
[writeln on Document must enqueue disconnectedCallback when removing a custom element]
|
||||
expected: FAIL
|
||||
|
||||
[writeln on Document must enqueue connectedCallback after constructing a custom element]
|
||||
expected: FAIL
|
||||
|
||||
[importNode on Document must construct a new custom element when importing a custom element from a template]
|
||||
expected: FAIL
|
||||
|
||||
[adoptNode on Document must enqueue an adopted reaction when importing a custom element]
|
||||
expected: FAIL
|
||||
|
||||
[title on Document must enqueue disconnectedCallback when removing a custom element]
|
||||
expected: FAIL
|
||||
|
||||
[write on Document must enqueue connectedCallback after constructing a custom element]
|
||||
expected: FAIL
|
||||
|
||||
[writeln on Document must enqueue connectedCallback after constructing a custom element]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -51,33 +51,33 @@
|
|||
[removeAttributeNode on Element must enqueue an attributeChanged reaction when removing an existing attribute]
|
||||
expected: FAIL
|
||||
|
||||
[insertAdjacentElement on Element must enqueue a connected reaction]
|
||||
expected: FAIL
|
||||
|
||||
[insertAdjacentElement on Element must enqueue a disconnected reaction, an adopted reaction, and a connected reaction when the custom element was in another document]
|
||||
expected: FAIL
|
||||
|
||||
[innerHTML on Element must enqueue a connected reaction for a newly constructed custom element]
|
||||
expected: FAIL
|
||||
|
||||
[innerHTML on Element must enqueue a attributeChanged reaction for a newly constructed custom element]
|
||||
expected: FAIL
|
||||
|
||||
[innerHTML on Element must enqueue a disconnected reaction]
|
||||
expected: FAIL
|
||||
|
||||
[outerHTML on Element must enqueue a connected reaction for a newly constructed custom element]
|
||||
expected: FAIL
|
||||
|
||||
[outerHTML on Element must enqueue a attributeChanged reaction for a newly constructed custom element]
|
||||
expected: FAIL
|
||||
|
||||
[outerHTML on Element must enqueue a disconnected reaction]
|
||||
expected: FAIL
|
||||
|
||||
[insertAdjacentHTML on Element must enqueue a connected reaction for a newly constructed custom element]
|
||||
expected: FAIL
|
||||
|
||||
[insertAdjacentHTML on Element must enqueue a attributeChanged reaction for a newly constructed custom element]
|
||||
expected: FAIL
|
||||
|
||||
[insertAdjacentElement on Element must enqueue a connected reaction]
|
||||
expected: FAIL
|
||||
|
||||
[insertAdjacentElement on Element must enqueue a disconnected reaction, an adopted reaction, and a connected reaction when the custom element was in another document]
|
||||
expected: FAIL
|
||||
|
||||
[innerHTML on Element must enqueue a disconnected reaction]
|
||||
expected: FAIL
|
||||
|
||||
[outerHTML on Element must enqueue a disconnected reaction]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,17 +1,17 @@
|
|||
[HTMLOptionsCollection.html]
|
||||
type: testharness
|
||||
[length on HTMLOptionsCollection must enqueue disconnectedCallback when removing a custom element]
|
||||
expected: FAIL
|
||||
|
||||
[The indexed setter on HTMLOptionsCollection must enqueue connectedCallback when inserting a custom element]
|
||||
expected: FAIL
|
||||
|
||||
[The indexed setter on HTMLOptionsCollection must enqueue disconnectedCallback when removing a custom element]
|
||||
expected: FAIL
|
||||
|
||||
[add on HTMLOptionsCollection must enqueue connectedCallback when inserting a custom element]
|
||||
expected: FAIL
|
||||
|
||||
[length on HTMLOptionsCollection must enqueue disconnectedCallback when removing a custom element]
|
||||
expected: FAIL
|
||||
|
||||
[The indexed setter on HTMLOptionsCollection must enqueue disconnectedCallback when removing a custom element]
|
||||
expected: FAIL
|
||||
|
||||
[remove on HTMLOptionsCollection must enqueue disconnectedCallback when removing a custom element]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,8 +1,5 @@
|
|||
[HTMLSelectElement.html]
|
||||
type: testharness
|
||||
[length on HTMLSelectElement must enqueue disconnectedCallback when removing a custom element]
|
||||
expected: FAIL
|
||||
|
||||
[The indexed setter on HTMLSelectElement must enqueue connectedCallback when inserting a custom element]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -12,6 +9,9 @@
|
|||
[add on HTMLSelectElement must enqueue connectedCallback when inserting a custom element]
|
||||
expected: FAIL
|
||||
|
||||
[length on HTMLSelectElement must enqueue disconnectedCallback when removing a custom element]
|
||||
expected: FAIL
|
||||
|
||||
[remove on HTMLSelectElement must enqueue disconnectedCallback when removing a custom element]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,8 +1,5 @@
|
|||
[Range.html]
|
||||
type: testharness
|
||||
[deleteContents on Range must enqueue a disconnected reaction]
|
||||
expected: FAIL
|
||||
|
||||
[extractContents on Range must enqueue a disconnected reaction]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -15,6 +12,12 @@
|
|||
[cloneContents on Range must enqueue an attributeChanged reaction when cloning an element only for observed attributes]
|
||||
expected: FAIL
|
||||
|
||||
[createContextualFragment on Range must construct a custom element]
|
||||
expected: FAIL
|
||||
|
||||
[deleteContents on Range must enqueue a disconnected reaction]
|
||||
expected: FAIL
|
||||
|
||||
[insertNode on Range must enqueue a connected reaction]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -27,6 +30,3 @@
|
|||
[surroundContents on Range must enqueue a disconnected reaction, an adopted reaction, and a connected reaction when the custom element was in another document]
|
||||
expected: FAIL
|
||||
|
||||
[createContextualFragment on Range must construct a custom element]
|
||||
expected: FAIL
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue