Invoke backup element queue via a microtask

This commit is contained in:
Connor Brewster 2017-07-07 15:18:23 -06:00
parent 4665991503
commit 9b587a4f2d
15 changed files with 252 additions and 7 deletions

View file

@ -129,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

View file

@ -99,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

View file

@ -75,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

View file

@ -0,0 +1,23 @@
[ChildNode.html]
type: testharness
[before on ChildNode must enqueue a connected reaction]
expected: FAIL
[before on ChildNode must enqueue a disconnected reaction, an adopted reaction, and a connected reaction when the custom element was in another document]
expected: FAIL
[after on ChildNode must enqueue a connected reaction]
expected: FAIL
[after on ChildNode must enqueue a disconnected reaction, an adopted reaction, and a connected reaction when the custom element was in another document]
expected: FAIL
[replaceWith on ChildNode must enqueue a connected reaction]
expected: FAIL
[replaceWith on ChildNode must enqueue a disconnected reaction, an adopted reaction, and a connected reaction when the custom element was in another document]
expected: FAIL
[replaceWith on ChildNode must enqueue a disconnected reaction]
expected: FAIL

View file

@ -21,3 +21,15 @@
[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

View file

@ -69,3 +69,15 @@
[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

View file

@ -6,3 +6,12 @@
[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

View file

@ -9,3 +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

View file

@ -0,0 +1,5 @@
[HTMLTitleElement.html]
type: testharness
[text on HTMLTitleElement must enqueue disconnectedCallback when removing a custom element]
expected: FAIL

View file

@ -15,3 +15,24 @@
[cloneNode on Node must enqueue an attributeChanged reaction when cloning an element only for observed attributes]
expected: FAIL
[insertBefore on ChildNode must enqueue a connected reaction]
expected: FAIL
[insertBefore on ChildNode must enqueue a disconnected reaction, an adopted reaction, and a connected reaction when the custom element was in another document]
expected: FAIL
[appendChild on ChildNode must enqueue a connected reaction]
expected: FAIL
[appendChild on ChildNode must enqueue a disconnected reaction, an adopted reaction, and a connected reaction when the custom element was in another document]
expected: FAIL
[replaceChild on ChildNode must enqueue a connected reaction]
expected: FAIL
[replaceChild on ChildNode must enqueue a disconnected reaction, an adopted reaction, and a connected reaction when the custom element was in another document]
expected: FAIL
[removeChild on ChildNode must enqueue a disconnected reaction]
expected: FAIL

View file

@ -0,0 +1,14 @@
[ParentNode.html]
type: testharness
[prepend on ParentNode must enqueue a connected reaction]
expected: FAIL
[prepend on ParentNode must enqueue a disconnected reaction, an adopted reaction, and a connected reaction when the custom element was in another document]
expected: FAIL
[append on ParentNode must enqueue a connected reaction]
expected: FAIL
[append on ParentNode must enqueue a disconnected reaction, an adopted reaction, and a connected reaction when the custom element was in another document]
expected: FAIL

View file

@ -15,3 +15,18 @@
[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
[insertNode on Range must enqueue a disconnected reaction, an adopted reaction, and a connected reaction when the custom element was in another document]
expected: FAIL
[surroundContents on Range must enqueue a connected reaction]
expected: FAIL
[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