diff options
author | Gaming4JC <g4jc@hyperbola.info> | 2020-01-05 18:15:57 -0500 |
---|---|---|
committer | Gaming4JC <g4jc@hyperbola.info> | 2020-01-26 15:50:30 -0500 |
commit | 8e6ce5fae721e5a4caf38b0b72e1c4a0324ae55e (patch) | |
tree | 1c398b6e727da3fd13829209835ede7a427eac97 /testing | |
parent | 6bbb9f062b63c5a920b1d240ba0d8575150dd01a (diff) | |
download | uxp-8e6ce5fae721e5a4caf38b0b72e1c4a0324ae55e.tar.gz |
Bug 1121994 - Implement adopted callback for custom elements.
Tag UXP Issue #1344
Diffstat (limited to 'testing')
6 files changed, 0 insertions, 119 deletions
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 3cb7bc1fbc..e35f704acf 100644 --- a/testing/web-platform/meta/custom-elements/adopted-callback.html.ini +++ b/testing/web-platform/meta/custom-elements/adopted-callback.html.ini @@ -1,17 +1,5 @@ [adopted-callback.html] type: testharness - [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 @@ -24,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 @@ -48,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 @@ -72,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 @@ -96,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 @@ -120,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 @@ -144,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/reactions/ChildNode.html.ini b/testing/web-platform/meta/custom-elements/reactions/ChildNode.html.ini deleted file mode 100644 index edef1ed9fc..0000000000 --- a/testing/web-platform/meta/custom-elements/reactions/ChildNode.html.ini +++ /dev/null @@ -1,10 +0,0 @@ -[ChildNode.html] - type: testharness - [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 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, 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/Document.html.ini b/testing/web-platform/meta/custom-elements/reactions/Document.html.ini index 71f9e29a41..0c42955de2 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 index b65e80813b..c14ca17dff 100644 --- a/testing/web-platform/meta/custom-elements/reactions/Node.html.ini +++ b/testing/web-platform/meta/custom-elements/reactions/Node.html.ini @@ -20,12 +20,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 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 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 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/ParentNode.html.ini b/testing/web-platform/meta/custom-elements/reactions/ParentNode.html.ini deleted file mode 100644 index b982c66e6d..0000000000 --- a/testing/web-platform/meta/custom-elements/reactions/ParentNode.html.ini +++ /dev/null @@ -1,8 +0,0 @@ -[ParentNode.html] - type: testharness - [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 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 index e44d6d3894..62ab491adc 100644 --- a/testing/web-platform/meta/custom-elements/reactions/Range.html.ini +++ b/testing/web-platform/meta/custom-elements/reactions/Range.html.ini @@ -8,7 +8,3 @@ [cloneContents on Range must enqueue an attributeChanged reaction when cloning an element only for observed attributes] 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 - |