Bug 1419318 - Flip "dom.webcomponents.enabled" to true when running ShadowRoot.html and disconnected-callbacks.html tests; draft
authorEdgar Chen <echen@mozilla.com>
Wed, 13 Dec 2017 16:29:33 -0600
changeset 711417 717ca86c5b27d97cd6601ffda49b65d93ed533ea
parent 711416 2ba492a69e6d77494dcd2b815909a3f1b7bf81d4
child 743806 a5faab9a172a94b7bb1a904d5b6be6dca0716844
push id93066
push userechen@mozilla.com
push dateWed, 13 Dec 2017 22:30:33 +0000
bugs1419318
milestone59.0a1
Bug 1419318 - Flip "dom.webcomponents.enabled" to true when running ShadowRoot.html and disconnected-callbacks.html tests; MozReview-Commit-ID: CSl5JZrnmXG
testing/web-platform/meta/custom-elements/disconnected-callbacks.html.ini
testing/web-platform/meta/custom-elements/reactions/ShadowRoot.html.ini
--- a/testing/web-platform/meta/custom-elements/disconnected-callbacks.html.ini
+++ b/testing/web-platform/meta/custom-elements/disconnected-callbacks.html.ini
@@ -1,74 +1,3 @@
 [disconnected-callbacks.html]
   type: testharness
-  [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 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 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 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 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 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 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 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
-
+  prefs: [dom.webcomponents.enabled:true]
--- a/testing/web-platform/meta/custom-elements/reactions/ShadowRoot.html.ini
+++ b/testing/web-platform/meta/custom-elements/reactions/ShadowRoot.html.ini
@@ -1,11 +1,3 @@
 [ShadowRoot.html]
   type: testharness
-  [innerHTML on ShadowRoot must upgrade a custom element]
-    expected: FAIL
-
-  [innerHTML on ShadowRoot must enqueue connectedCallback on newly upgraded custom elements when the shadow root is connected]
-    expected: FAIL
-
-  [innerHTML on ShadowRoot must enqueue disconnectedCallback when removing a custom element]
-    expected: FAIL
-
+  prefs: [dom.webcomponents.enabled:true]