diff options
Diffstat (limited to 'testing/web-platform/meta/custom-elements')
12 files changed, 0 insertions, 356 deletions
diff --git a/testing/web-platform/meta/custom-elements/CustomElementRegistry.html.ini b/testing/web-platform/meta/custom-elements/CustomElementRegistry.html.ini index 9e2bf7385..3f9f66d17 100644 --- a/testing/web-platform/meta/custom-elements/CustomElementRegistry.html.ini +++ b/testing/web-platform/meta/custom-elements/CustomElementRegistry.html.ini @@ -1,29 +1,11 @@ [CustomElementRegistry.html] type: testharness - [customElements.define must throw a NotSupportedError when there is already a custom element with the same class] - expected: FAIL - [customElements.define must get callbacks of the constructor prototype] 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 define an instantiatable custom element] - expected: FAIL - [customElements.define must upgrade elements in the shadow-including tree order] expected: FAIL diff --git a/testing/web-platform/meta/custom-elements/adopted-callback.html.ini b/testing/web-platform/meta/custom-elements/adopted-callback.html.ini index fdd258bd6..e35f704ac 100644 --- a/testing/web-platform/meta/custom-elements/adopted-callback.html.ini +++ b/testing/web-platform/meta/custom-elements/adopted-callback.html.ini @@ -1,20 +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 - - [Moving an ancestor of 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 shadow tree in the document of the template elements must enqueue and invoke adoptedCallback] expected: FAIL @@ -27,18 +12,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 - - [Moving an ancestor of custom element from the owner document into a new document must enqueue and invoke adoptedCallback] - expected: FAIL - [Inserting a custom element into a shadow tree in a new document must enqueue and invoke adoptedCallback] expected: FAIL @@ -51,18 +24,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 - - [Moving an ancestor of custom element from the owner document into a cloned document must enqueue and invoke adoptedCallback] - expected: FAIL - [Inserting a custom element into a shadow tree in a cloned document must enqueue and invoke adoptedCallback] expected: FAIL @@ -75,18 +36,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 - - [Moving an ancestor of custom element from the owner document into a document created by createHTMLDocument must enqueue and invoke adoptedCallback] - expected: FAIL - [Inserting a custom element into a shadow tree in a document created by createHTMLDocument must enqueue and invoke adoptedCallback] expected: FAIL @@ -99,18 +48,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 - - [Moving an ancestor of 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 a shadow tree in an HTML document created by createDocument must enqueue and invoke adoptedCallback] expected: FAIL @@ -123,18 +60,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 - - [Moving an ancestor of custom element from the owner document into the document of an iframe must enqueue and invoke adoptedCallback] - expected: FAIL - [Inserting a custom element into a shadow tree in the document of an iframe must enqueue and invoke adoptedCallback] expected: FAIL @@ -147,18 +72,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 - - [Moving an ancestor of custom element from the owner document into an HTML document fetched by XHR must enqueue and invoke adoptedCallback] - expected: FAIL - [Inserting a custom element into a shadow tree in an HTML document fetched by XHR must enqueue and invoke adoptedCallback] expected: FAIL diff --git a/testing/web-platform/meta/custom-elements/attribute-changed-callback.html.ini b/testing/web-platform/meta/custom-elements/attribute-changed-callback.html.ini index 10eea70b2..1b1bea6c9 100644 --- a/testing/web-platform/meta/custom-elements/attribute-changed-callback.html.ini +++ b/testing/web-platform/meta/custom-elements/attribute-changed-callback.html.ini @@ -12,21 +12,5 @@ [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 - - [attributedChangedCallback must not be invoked when the observed attributes does not contain the attribute] - expected: FAIL - - [Mutating observedAttributes after calling customElements.define must not affect the set of attributes for which attributedChangedCallback is invoked] - expected: FAIL - - [attributedChangedCallback must be enqueued for attributes specified in a non-Array iterable observedAttributes] - expected: FAIL - [attributedChangedCallback must be enqueued for style attribute change by mutating inline style declaration] expected: FAIL - - [attributedChangedCallback must not be enqueued when mutating inline style declaration if the style attribute is not observed] - expected: FAIL - diff --git a/testing/web-platform/meta/custom-elements/connected-callbacks.html.ini b/testing/web-platform/meta/custom-elements/connected-callbacks.html.ini index d57ab6bdb..c8a99d695 100644 --- a/testing/web-platform/meta/custom-elements/connected-callbacks.html.ini +++ b/testing/web-platform/meta/custom-elements/connected-callbacks.html.ini @@ -1,11 +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 - [Inserting a custom element into a shadow tree in the document must enqueue and invoke connectedCallback] expected: FAIL @@ -15,12 +9,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 - [Inserting a custom element into a shadow tree in the document of the template elements must enqueue and invoke connectedCallback] expected: FAIL @@ -30,12 +18,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 - [Inserting a custom element into a shadow tree in a new document must enqueue and invoke connectedCallback] expected: FAIL @@ -45,12 +27,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 - [Inserting a custom element into a shadow tree in a cloned document must enqueue and invoke connectedCallback] expected: FAIL @@ -60,12 +36,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 - [Inserting a custom element into a shadow tree in a document created by createHTMLDocument must enqueue and invoke connectedCallback] expected: FAIL @@ -75,12 +45,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 - [Inserting a custom element into a shadow tree in an HTML document created by createDocument must enqueue and invoke connectedCallback] expected: FAIL @@ -90,12 +54,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 - [Inserting a custom element into a shadow tree in the document of an iframe must enqueue and invoke connectedCallback] expected: FAIL @@ -105,12 +63,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 - [Inserting a custom element into a shadow tree in an HTML document fetched by XHR must enqueue and invoke connectedCallback] expected: FAIL diff --git a/testing/web-platform/meta/custom-elements/custom-element-registry/define.html.ini b/testing/web-platform/meta/custom-elements/custom-element-registry/define.html.ini deleted file mode 100644 index 122abccd3..000000000 --- a/testing/web-platform/meta/custom-elements/custom-element-registry/define.html.ini +++ /dev/null @@ -1,26 +0,0 @@ -[define.html] - type: testharness - [If constructor is HTMLElement, should throw a TypeError] - expected: FAIL - - [If constructor is HTMLButtonElement, should throw a TypeError] - expected: FAIL - - [If constructor is HTMLImageElement, should throw a TypeError] - expected: FAIL - - [If constructor is HTMLMediaElement, should throw a TypeError] - expected: FAIL - - [If constructor is Image, should throw a TypeError] - expected: FAIL - - [If constructor is Audio, should throw a TypeError] - expected: FAIL - - [If constructor is Option, should throw a TypeError] - expected: FAIL - - [If the constructor is already defined, should throw a NotSupportedError] - expected: FAIL - diff --git a/testing/web-platform/meta/custom-elements/disconnected-callbacks.html.ini b/testing/web-platform/meta/custom-elements/disconnected-callbacks.html.ini index 631dc8b5d..03c6f9937 100644 --- a/testing/web-platform/meta/custom-elements/disconnected-callbacks.html.ini +++ b/testing/web-platform/meta/custom-elements/disconnected-callbacks.html.ini @@ -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 diff --git a/testing/web-platform/meta/custom-elements/reaction-timing.html.ini b/testing/web-platform/meta/custom-elements/reaction-timing.html.ini deleted file mode 100644 index 0697f7014..000000000 --- a/testing/web-platform/meta/custom-elements/reaction-timing.html.ini +++ /dev/null @@ -1,5 +0,0 @@ -[reaction-timing.html] - type: testharness - [Calling Node.prototype.cloneNode(false) must push a new element queue to the processing stack] - expected: FAIL - diff --git a/testing/web-platform/meta/custom-elements/reactions/ChildNode.html.ini b/testing/web-platform/meta/custom-elements/reactions/ChildNode.html.ini deleted file mode 100644 index 4265435e3..000000000 --- a/testing/web-platform/meta/custom-elements/reactions/ChildNode.html.ini +++ /dev/null @@ -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 - diff --git a/testing/web-platform/meta/custom-elements/reactions/Document.html.ini b/testing/web-platform/meta/custom-elements/reactions/Document.html.ini index 71f9e29a4..0c42955de 100644 --- a/testing/web-platform/meta/custom-elements/reactions/Document.html.ini +++ b/testing/web-platform/meta/custom-elements/reactions/Document.html.ini @@ -2,7 +2,3 @@ type: testharness [importNode on Document must construct a new custom element when importing a custom element] expected: FAIL - - [adoptNode on Document must enqueue an adopted reaction when importing a custom element] - expected: FAIL - diff --git a/testing/web-platform/meta/custom-elements/reactions/Node.html.ini b/testing/web-platform/meta/custom-elements/reactions/Node.html.ini deleted file mode 100644 index 87acc9aa6..000000000 --- a/testing/web-platform/meta/custom-elements/reactions/Node.html.ini +++ /dev/null @@ -1,44 +0,0 @@ -[Node.html] - type: testharness - [nodeValue on Node must enqueue an attributeChanged reaction when replacing an existing attribute] - expected: FAIL - - [nodeValue on Node must not enqueue an attributeChanged reaction when replacing an existing unobserved attribute] - expected: FAIL - - [textContent on Node must enqueue an attributeChanged reaction when replacing an existing attribute] - expected: FAIL - - [textContent on Node must not enqueue an attributeChanged reaction when replacing an existing unobserved attribute] - expected: FAIL - - [cloneNode on Node must enqueue an attributeChanged reaction when cloning an element with an observed attribute] - expected: FAIL - - [cloneNode on Node must not enqueue an attributeChanged reaction when cloning an element with an unobserved attribute] - expected: FAIL - - [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 - diff --git a/testing/web-platform/meta/custom-elements/reactions/ParentNode.html.ini b/testing/web-platform/meta/custom-elements/reactions/ParentNode.html.ini deleted file mode 100644 index ccdf5de7c..000000000 --- a/testing/web-platform/meta/custom-elements/reactions/ParentNode.html.ini +++ /dev/null @@ -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 - diff --git a/testing/web-platform/meta/custom-elements/reactions/Range.html.ini b/testing/web-platform/meta/custom-elements/reactions/Range.html.ini deleted file mode 100644 index 4ca3fcde7..000000000 --- a/testing/web-platform/meta/custom-elements/reactions/Range.html.ini +++ /dev/null @@ -1,23 +0,0 @@ -[Range.html] - type: testharness - [deleteContents on Range must enqueue a disconnected reaction] - expected: FAIL - - [extractContents on Range must enqueue a disconnected reaction] - expected: FAIL - - [cloneContents on Range must enqueue an attributeChanged reaction when cloning an element with an observed attribute] - expected: FAIL - - [cloneContents on Range must not enqueue an attributeChanged reaction when cloning an element with an unobserved attribute] - expected: FAIL - - [cloneContents on Range must enqueue an attributeChanged reaction when cloning an element only for observed attributes] - 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 - |