diff options
Diffstat (limited to 'testing/web-platform/meta/custom-elements')
19 files changed, 874 insertions, 0 deletions
diff --git a/testing/web-platform/meta/custom-elements/CustomElementRegistry.html.ini b/testing/web-platform/meta/custom-elements/CustomElementRegistry.html.ini new file mode 100644 index 000000000..9e2bf7385 --- /dev/null +++ b/testing/web-platform/meta/custom-elements/CustomElementRegistry.html.ini @@ -0,0 +1,29 @@ +[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/HTMLElement-constructor.html.ini b/testing/web-platform/meta/custom-elements/HTMLElement-constructor.html.ini new file mode 100644 index 000000000..0d2d4374f --- /dev/null +++ b/testing/web-platform/meta/custom-elements/HTMLElement-constructor.html.ini @@ -0,0 +1,11 @@ +[HTMLElement-constructor.html] + type: testharness + [HTMLElement constructor must infer the tag name from the element interface] + expected: FAIL + + [HTMLElement constructor must allow subclassing a custom element] + expected: FAIL + + [HTMLElement constructor must allow subclassing an user-defined subclass of HTMLElement] + 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 new file mode 100644 index 000000000..fdd258bd6 --- /dev/null +++ b/testing/web-platform/meta/custom-elements/adopted-callback.html.ini @@ -0,0 +1,173 @@ +[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 + + [Inserting the shadow host of a custom element into the document of the template elements must enqueue and invoke adoptedCallback] + expected: FAIL + + [Moving the shadow host of 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 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 + + [Inserting the shadow host of a custom element into a new document must enqueue and invoke adoptedCallback] + expected: FAIL + + [Moving the shadow host of a custom element from the owner document into a new document must enqueue and invoke adoptedCallback] + expected: FAIL + + [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 + + [Inserting the shadow host of a custom element into a cloned document must enqueue and invoke adoptedCallback] + expected: FAIL + + [Moving the shadow host of a custom element from the owner document into a cloned document must enqueue and invoke adoptedCallback] + expected: FAIL + + [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 + + [Inserting the shadow host of a custom element into a document created by createHTMLDocument must enqueue and invoke adoptedCallback] + expected: FAIL + + [Moving the shadow host of 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 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 + + [Inserting the shadow host of a custom element into an HTML document created by createDocument must enqueue and invoke adoptedCallback] + expected: FAIL + + [Moving the shadow host of 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 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 + + [Inserting the shadow host of a custom element into the document of an iframe must enqueue and invoke adoptedCallback] + expected: FAIL + + [Moving the shadow host of 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 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 + + [Inserting the shadow host of a custom element into an HTML document fetched by XHR must enqueue and invoke adoptedCallback] + expected: FAIL + + [Moving the shadow host of a 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 detached shadow tree that belongs to 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 new file mode 100644 index 000000000..10eea70b2 --- /dev/null +++ b/testing/web-platform/meta/custom-elements/attribute-changed-callback.html.ini @@ -0,0 +1,32 @@ +[attribute-changed-callback.html] + type: testharness + [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 + + [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 new file mode 100644 index 000000000..d57ab6bdb --- /dev/null +++ b/testing/web-platform/meta/custom-elements/connected-callbacks.html.ini @@ -0,0 +1,122 @@ +[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 + + [Inserting the shadow host of a custom element into the document must enqueue and invoke connectedCallback] + expected: FAIL + + [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 + + [Inserting the shadow host of a custom element into the document of the template elements must enqueue and invoke connectedCallback] + expected: FAIL + + [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 + + [Inserting the shadow host of a custom element into a new document must enqueue and invoke connectedCallback] + expected: FAIL + + [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 + + [Inserting the shadow host of a custom element into a cloned document must enqueue and invoke connectedCallback] + expected: FAIL + + [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 + + [Inserting the shadow host of a custom element into a document created by createHTMLDocument must enqueue and invoke connectedCallback] + expected: FAIL + + [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 + + [Inserting the shadow host of a custom element into an HTML document created by createDocument must enqueue and invoke connectedCallback] + expected: FAIL + + [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 + + [Inserting the shadow host of a custom element into the document of an iframe must enqueue and invoke connectedCallback] + expected: FAIL + + [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 + + [Inserting the shadow host of a custom element into an HTML document fetched by XHR must enqueue and invoke connectedCallback] + expected: FAIL + + [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 + 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 new file mode 100644 index 000000000..122abccd3 --- /dev/null +++ b/testing/web-platform/meta/custom-elements/custom-element-registry/define.html.ini @@ -0,0 +1,26 @@ +[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 new file mode 100644 index 000000000..631dc8b5d --- /dev/null +++ b/testing/web-platform/meta/custom-elements/disconnected-callbacks.html.ini @@ -0,0 +1,122 @@ +[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 + + [Removing the shadow host of a custom element from athe document must enqueue and invoke disconnectedCallback] + expected: FAIL + + [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 + + [Removing the shadow host of a custom element from athe document of the template elements must enqueue and invoke disconnectedCallback] + expected: FAIL + + [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 + + [Removing the shadow host of a custom element from aa new document must enqueue and invoke disconnectedCallback] + expected: FAIL + + [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 + + [Removing the shadow host of a custom element from aa cloned document must enqueue and invoke disconnectedCallback] + expected: FAIL + + [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 + + [Removing the shadow host of a custom element from aa document created by createHTMLDocument must enqueue and invoke disconnectedCallback] + expected: FAIL + + [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 + + [Removing the shadow host of a custom element from aan HTML document created by createDocument must enqueue and invoke disconnectedCallback] + expected: FAIL + + [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 + + [Removing the shadow host of a custom element from athe document of an iframe must enqueue and invoke disconnectedCallback] + expected: FAIL + + [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 + + [Removing the shadow host of a custom element from aan HTML document fetched by XHR must enqueue and invoke disconnectedCallback] + expected: FAIL + + [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 + diff --git a/testing/web-platform/meta/custom-elements/htmlconstructor/newtarget.html.ini b/testing/web-platform/meta/custom-elements/htmlconstructor/newtarget.html.ini new file mode 100644 index 000000000..f77a64e1d --- /dev/null +++ b/testing/web-platform/meta/custom-elements/htmlconstructor/newtarget.html.ini @@ -0,0 +1,14 @@ +[newtarget.html] + type: testharness + [Use NewTarget's prototype, not the one stored at definition time] + expected: FAIL + + [Rethrow any exceptions thrown while getting the prototype] + expected: FAIL + + [If prototype is not object, derives the fallback from NewTarget's realm (autonomous custom elements)] + expected: FAIL + + [If prototype is not object, derives the fallback from NewTarget's realm (customized built-in elements)] + 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 new file mode 100644 index 000000000..0697f7014 --- /dev/null +++ b/testing/web-platform/meta/custom-elements/reaction-timing.html.ini @@ -0,0 +1,5 @@ +[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/Attr.html.ini b/testing/web-platform/meta/custom-elements/reactions/Attr.html.ini new file mode 100644 index 000000000..5a3ddc4ec --- /dev/null +++ b/testing/web-platform/meta/custom-elements/reactions/Attr.html.ini @@ -0,0 +1,8 @@ +[Attr.html] + type: testharness + [value on Attr must enqueue an attributeChanged reaction when replacing an existing attribute] + expected: FAIL + + [value on Attr must not enqueue an attributeChanged reaction when replacing an existing unobserved attribute] + 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 new file mode 100644 index 000000000..4265435e3 --- /dev/null +++ b/testing/web-platform/meta/custom-elements/reactions/ChildNode.html.ini @@ -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 + diff --git a/testing/web-platform/meta/custom-elements/reactions/DOMTokenList.html.ini b/testing/web-platform/meta/custom-elements/reactions/DOMTokenList.html.ini new file mode 100644 index 000000000..55b32ed3a --- /dev/null +++ b/testing/web-platform/meta/custom-elements/reactions/DOMTokenList.html.ini @@ -0,0 +1,59 @@ +[DOMTokenList.html] + type: testharness + [add on DOMTokenList must enqueue an attributeChanged reaction when adding an attribute] + expected: FAIL + + [add on DOMTokenList must not enqueue an attributeChanged reaction when adding an unobserved attribute] + expected: FAIL + + [add on DOMTokenList must enqueue an attributeChanged reaction when adding a value to an existing attribute] + expected: FAIL + + [add on DOMTokenList must not enqueue an attributeChanged reaction when adding a value to an unobserved attribute] + expected: FAIL + + [add on DOMTokenList must enqueue exactly one attributeChanged reaction when adding multiple values to an attribute] + expected: FAIL + + [remove on DOMTokenList must enqueue an attributeChanged reaction when removing a value from an attribute] + expected: FAIL + + [remove on DOMTokenList must enqueue exactly one attributeChanged reaction when removing multiple values to an attribute] + expected: FAIL + + [remove on DOMTokenList must not enqueue an attributeChanged reaction when removing a non-existent value from an attribute] + expected: FAIL + + [remove on DOMTokenList must not enqueue an attributeChanged reaction when removing a value from an unobserved attribute] + expected: FAIL + + [toggle on DOMTokenList must enqueue an attributeChanged reaction when adding a value to an attribute] + expected: FAIL + + [toggle on DOMTokenList must enqueue an attributeChanged reaction when removing a value from an attribute] + expected: FAIL + + [replace on DOMTokenList must enqueue an attributeChanged reaction when replacing a value in an attribute] + expected: FAIL + + [replace on DOMTokenList must not enqueue an attributeChanged reaction when the token to replace does not exist in the attribute] + expected: FAIL + + [replace on DOMTokenList must not enqueue an attributeChanged reaction when replacing a value in an unobserved attribute] + expected: FAIL + + [the stringifier of DOMTokenList must enqueue an attributeChanged reaction when adding an observed attribute] + expected: FAIL + + [the stringifier of DOMTokenList must not enqueue an attributeChanged reaction when adding an unobserved attribute] + expected: FAIL + + [the stringifier of DOMTokenList must enqueue an attributeChanged reaction when mutating the value of an observed attribute] + expected: FAIL + + [the stringifier of DOMTokenList must not enqueue an attributeChanged reaction when mutating the value of an unobserved attribute] + expected: FAIL + + [the stringifier of DOMTokenList must enqueue an attributeChanged reaction when the setter is called with the original value of the attribute] + 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 new file mode 100644 index 000000000..71f9e29a4 --- /dev/null +++ b/testing/web-platform/meta/custom-elements/reactions/Document.html.ini @@ -0,0 +1,8 @@ +[Document.html] + 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/Element.html.ini b/testing/web-platform/meta/custom-elements/reactions/Element.html.ini new file mode 100644 index 000000000..d4049a4b0 --- /dev/null +++ b/testing/web-platform/meta/custom-elements/reactions/Element.html.ini @@ -0,0 +1,110 @@ +[Element.html] + type: testharness + [id on Element must enqueue an attributeChanged reaction when adding id content attribute] + expected: FAIL + + [id on Element must enqueue an attributeChanged reaction when replacing an existing attribute] + expected: FAIL + + [className on Element must enqueue an attributeChanged reaction when adding class content attribute] + expected: FAIL + + [className on Element must enqueue an attributeChanged reaction when replacing an existing attribute] + expected: FAIL + + [slot on Element must enqueue an attributeChanged reaction when adding slot content attribute] + expected: FAIL + + [slot on Element must enqueue an attributeChanged reaction when replacing an existing attribute] + expected: FAIL + + [setAttribute on Element must enqueue an attributeChanged reaction when adding an attribute] + expected: FAIL + + [setAttribute on Element must not enqueue an attributeChanged reaction when adding an unobserved attribute] + expected: FAIL + + [setAttribute on Element must enqueue an attributeChanged reaction when replacing an existing attribute] + expected: FAIL + + [setAttribute on Element must enqueue an attributeChanged reaction when replacing an existing unobserved attribute] + expected: FAIL + + [setAttributeNS on Element must enqueue an attributeChanged reaction when adding an attribute] + expected: FAIL + + [setAttributeNS on Element must not enqueue an attributeChanged reaction when adding an unobserved attribute] + expected: FAIL + + [setAttributeNS on Element must enqueue an attributeChanged reaction when replacing an existing attribute] + expected: FAIL + + [setAttributeNS on Element must enqueue an attributeChanged reaction when replacing an existing unobserved attribute] + expected: FAIL + + [removeAttribute on Element must not enqueue an attributeChanged reaction when removing an attribute that does not exist] + expected: FAIL + + [removeAttribute on Element must not enqueue an attributeChanged reaction when removing an unobserved attribute] + expected: FAIL + + [removeAttribute on Element must enqueue an attributeChanged reaction when removing an existing attribute] + expected: FAIL + + [removeAttribute on Element must not enqueue an attributeChanged reaction when removing an existing unobserved attribute] + expected: FAIL + + [removeAttributeNS on Element must not enqueue an attributeChanged reaction when removing an attribute that does not exist] + expected: FAIL + + [removeAttributeNS on Element must not enqueue an attributeChanged reaction when removing an unobserved attribute] + expected: FAIL + + [removeAttributeNS on Element must enqueue an attributeChanged reaction when removing an existing attribute] + expected: FAIL + + [removeAttributeNS on Element must not enqueue an attributeChanged reaction when removing an existing unobserved attribute] + expected: FAIL + + [setAttributeNode on Element must enqueue an attributeChanged reaction when adding an attribute] + expected: FAIL + + [setAttributeNode on Element must not enqueue an attributeChanged reaction when adding an unobserved attribute] + expected: FAIL + + [setAttributeNode on Element must enqueue an attributeChanged reaction when replacing an existing attribute] + expected: FAIL + + [setAttributeNode on Element must enqueue an attributeChanged reaction when replacing an existing unobserved attribute] + expected: FAIL + + [setAttributeNodeNS on Element must enqueue an attributeChanged reaction when adding an attribute] + expected: FAIL + + [setAttributeNodeNS on Element must not enqueue an attributeChanged reaction when adding an unobserved attribute] + expected: FAIL + + [setAttributeNodeNS on Element must enqueue an attributeChanged reaction when replacing an existing attribute] + expected: FAIL + + [setAttributeNodeNS on Element must enqueue an attributeChanged reaction when replacing an existing unobserved attribute] + expected: FAIL + + [removeAttributeNode on Element must not enqueue an attributeChanged reaction when removing an attribute that does not exist] + expected: FAIL + + [removeAttributeNode on Element must not enqueue an attributeChanged reaction when removing an unobserved attribute] + expected: FAIL + + [removeAttributeNode on Element must enqueue an attributeChanged reaction when removing an existing attribute] + expected: FAIL + + [removeAttributeNode on Element must not enqueue an attributeChanged reaction when removing an existing unobserved attribute] + expected: FAIL + + [undefined must enqueue a connected reaction] + expected: FAIL + + [undefined 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/NamedNodeMap.html.ini b/testing/web-platform/meta/custom-elements/reactions/NamedNodeMap.html.ini new file mode 100644 index 000000000..0b11439cf --- /dev/null +++ b/testing/web-platform/meta/custom-elements/reactions/NamedNodeMap.html.ini @@ -0,0 +1,50 @@ +[NamedNodeMap.html] + type: testharness + [setNamedItem on NamedNodeMap must enqueue an attributeChanged reaction when adding an attribute] + expected: FAIL + + [setNamedItem on NamedNodeMap must not enqueue an attributeChanged reaction when adding an unobserved attribute] + expected: FAIL + + [setNamedItem on NamedNodeMap must enqueue an attributeChanged reaction when replacing an existing attribute] + expected: FAIL + + [setNamedItem on NamedNodeMap must enqueue an attributeChanged reaction when replacing an existing unobserved attribute] + expected: FAIL + + [setNamedItemNS on NamedNodeMap must enqueue an attributeChanged reaction when adding an attribute] + expected: FAIL + + [setNamedItemNS on NamedNodeMap must not enqueue an attributeChanged reaction when adding an unobserved attribute] + expected: FAIL + + [setNamedItemNS on NamedNodeMap must enqueue an attributeChanged reaction when replacing an existing attribute] + expected: FAIL + + [setNamedItemNS on NamedNodeMap must enqueue an attributeChanged reaction when replacing an existing unobserved attribute] + expected: FAIL + + [removeNamedItem on NamedNodeMap must not enqueue an attributeChanged reaction when removing an attribute that does not exist] + expected: FAIL + + [removeNamedItem on NamedNodeMap must not enqueue an attributeChanged reaction when removing an unobserved attribute] + expected: FAIL + + [removeNamedItem on NamedNodeMap must enqueue an attributeChanged reaction when removing an existing attribute] + expected: FAIL + + [removeNamedItem on NamedNodeMap must not enqueue an attributeChanged reaction when removing an existing unobserved attribute] + expected: FAIL + + [removeNamedItemNS on NamedNodeMap must not enqueue an attributeChanged reaction when removing an attribute that does not exist] + expected: FAIL + + [removeNamedItemNS on NamedNodeMap must not enqueue an attributeChanged reaction when removing an unobserved attribute] + expected: FAIL + + [removeNamedItemNS on NamedNodeMap must enqueue an attributeChanged reaction when removing an existing attribute] + expected: FAIL + + [removeNamedItemNS on NamedNodeMap must not enqueue an attributeChanged reaction when removing an existing unobserved attribute] + 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 new file mode 100644 index 000000000..87acc9aa6 --- /dev/null +++ b/testing/web-platform/meta/custom-elements/reactions/Node.html.ini @@ -0,0 +1,44 @@ +[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 new file mode 100644 index 000000000..ccdf5de7c --- /dev/null +++ b/testing/web-platform/meta/custom-elements/reactions/ParentNode.html.ini @@ -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 + diff --git a/testing/web-platform/meta/custom-elements/reactions/Range.html.ini b/testing/web-platform/meta/custom-elements/reactions/Range.html.ini new file mode 100644 index 000000000..4ca3fcde7 --- /dev/null +++ b/testing/web-platform/meta/custom-elements/reactions/Range.html.ini @@ -0,0 +1,23 @@ +[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 + diff --git a/testing/web-platform/meta/custom-elements/v0/__dir__.ini b/testing/web-platform/meta/custom-elements/v0/__dir__.ini new file mode 100644 index 000000000..ae323e6d5 --- /dev/null +++ b/testing/web-platform/meta/custom-elements/v0/__dir__.ini @@ -0,0 +1 @@ +disabled: We are going to move to the latest spec, so we don't care about the result of old tests. |