Add CEReactions where needed

This commit is contained in:
Connor Brewster 2017-07-10 14:47:03 -06:00
parent 438191e0b2
commit 2460997ee1
100 changed files with 1025 additions and 979 deletions

View file

@ -126,51 +126,3 @@
[Inserting a custom element into a detached shadow tree that belongs to an HTML document fetched by XHR must enqueue and invoke adoptedCallback]
expected: FAIL
[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

@ -3,15 +3,9 @@
[setAttribute and removeAttribute must enqueue and invoke attributeChangedCallback]
expected: FAIL
[setAttributeNS and removeAttributeNS must enqueue and invoke attributeChangedCallback]
expected: FAIL
[setAttributeNode and removeAttributeNode must enqueue and invoke attributeChangedCallback for an HTML attribute]
expected: FAIL
[setAttributeNode and removeAttributeNS must enqueue and invoke attributeChangedCallback for an SVG attribute]
expected: FAIL
[Mutating attributeChangedCallback after calling customElements.define must not affect the callback being invoked]
expected: FAIL
@ -30,6 +24,3 @@
[attributedChangedCallback must not be enqueued when mutating inline style declaration if the style attribute is not observed]
expected: FAIL
[Custom Elements: attributeChangedCallback]
expected: FAIL

View file

@ -96,30 +96,3 @@
[Inserting a custom element into a detached shadow tree that belongs to an HTML document fetched by XHR must not enqueue and invoke connectedCallback]
expected: FAIL
[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

@ -72,54 +72,3 @@
[Removing a custom element from a detached shadow tree that belongs to an HTML document fetched by XHR must not enqueue and invoke disconnectedCallback]
expected: FAIL
[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

@ -1,5 +0,0 @@
[parser-constructs-custom-element-in-document-write.html]
type: testharness
[Custom Elements: Changes to the HTML parser]
expected: FAIL

View file

@ -1,5 +0,0 @@
[parser-constructs-custom-element-synchronously.html]
type: testharness
[Custom Elements: Changes to the HTML parser]
expected: FAIL

View file

@ -1,5 +0,0 @@
[parser-sets-attributes-and-children.html]
type: testharness
[Custom Elements: Changes to the HTML parser]
expected: FAIL

View file

@ -1,5 +0,0 @@
[parser-uses-constructed-element.html]
type: testharness
[Custom Elements: HTML parser must construct a custom element instead of upgrading]
expected: FAIL

View file

@ -1,14 +1,11 @@
[parser-uses-registry-of-owner-document.html]
type: testharness
[HTML parser must not instantiate custom elements inside template elements]
expected: FAIL
[HTML parser must use the registry of the content document inside an iframe]
expected: FAIL
[HTML parser must use the registry of window.document in a document created by document.implementation.createHTMLDocument()]
expected: FAIL
[Custom Elements: HTML parser must use the owner document's custom element registry]
expected: FAIL
[HTML parser must not instantiate custom elements inside template elements]
expected: FAIL

View file

@ -1,11 +1,5 @@
[reaction-timing.html]
type: testharness
[setAttribute and removeAttribute must enqueue and invoke attributeChangedCallback]
expected: FAIL
[Custom Elements: Custom element reactions must be invoked before returning to author scripts]
expected: FAIL
[Calling Node.prototype.cloneNode(false) must push a new element queue to the processing stack]
expected: FAIL

View file

@ -1,23 +0,0 @@
[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

@ -1,5 +1,8 @@
[Document.html]
type: testharness
[importNode on Document must construct a new custom element when importing a custom element from a template]
expected: FAIL
[execCommand on Document must enqueue a disconnected reaction when deleting a custom element from a contenteditable element]
expected: FAIL
@ -18,18 +21,3 @@
[writeln on Document must enqueue disconnectedCallback when removing 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

View file

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

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

View file

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

@ -1,14 +0,0 @@
[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,18 +15,3 @@
[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

View file

@ -48,6 +48,3 @@
[Adopting and inserting an unresolved custom element into the document of an iframe must enqueue a custom element upgrade reaction]
expected: FAIL
[Custom Elements: Enqueue a custom element upgrade reaction]
expected: FAIL

View file

@ -1,5 +1,14 @@
[Node-cloneNode.html]
type: testharness
[Node.prototype.cloneNode(false) must be able to clone a custom element]
expected: FAIL
[Node.prototype.cloneNode(false) must be able to clone a custom element inside an iframe]
expected: FAIL
[Node.prototype.cloneNode(true) must be able to clone a descendent custom element]
expected: FAIL
[Node.prototype.cloneNode(true) must set parentNode, previousSibling, and nextSibling before upgrading custom elements]
expected: FAIL
@ -15,12 +24,3 @@
[Inserting an element must not try to upgrade a custom element when it had already failed to upgrade once]
expected: FAIL
[Node.prototype.cloneNode(false) must be able to clone a custom element]
expected: FAIL
[Node.prototype.cloneNode(false) must be able to clone a custom element inside an iframe]
expected: FAIL
[Node.prototype.cloneNode(true) must be able to clone a descendent custom element]
expected: FAIL

View file

@ -15,6 +15,7 @@
[Cross domain different protocol [no-cors mode\]]
expected: FAIL
[cors-basic.any.html]
type: testharness
[Same domain different port [no-cors mode\]]

View file

@ -6,6 +6,7 @@
[Include mode: remote cookies are not sent with local request]
expected: FAIL
[cors-cookies.any.worker.html]
type: testharness
[Include mode: 1 cookie]
@ -34,3 +35,4 @@
[Include mode: local cookies are not sent with remote request]
expected: FAIL