summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/meta/custom-elements/scoped-registry
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/meta/custom-elements/scoped-registry')
-rw-r--r--testing/web-platform/meta/custom-elements/scoped-registry/CustomElementRegistry-constructor.tentative.html.ini3
-rw-r--r--testing/web-platform/meta/custom-elements/scoped-registry/CustomElementRegistry-multi-register.tentative.html.ini6
-rw-r--r--testing/web-platform/meta/custom-elements/scoped-registry/ShadowRoot-createElement.tentative.html.ini12
-rw-r--r--testing/web-platform/meta/custom-elements/scoped-registry/ShadowRoot-init-registry.tentative.html.ini15
-rw-r--r--testing/web-platform/meta/custom-elements/scoped-registry/ShadowRoot-innerHTML-upgrade.tentative.html.ini12
-rw-r--r--testing/web-platform/meta/custom-elements/scoped-registry/constructor-call.tentative.html.ini6
-rw-r--r--testing/web-platform/meta/custom-elements/scoped-registry/constructor-reentry-with-different-definition.tentative.html.ini12
-rw-r--r--testing/web-platform/meta/custom-elements/scoped-registry/scoped-registry-define-upgrade-criteria.tentative.html.ini33
-rw-r--r--testing/web-platform/meta/custom-elements/scoped-registry/scoped-registry-define-upgrade-order.tentative.html.ini21
9 files changed, 120 insertions, 0 deletions
diff --git a/testing/web-platform/meta/custom-elements/scoped-registry/CustomElementRegistry-constructor.tentative.html.ini b/testing/web-platform/meta/custom-elements/scoped-registry/CustomElementRegistry-constructor.tentative.html.ini
new file mode 100644
index 0000000000..f72d15f740
--- /dev/null
+++ b/testing/web-platform/meta/custom-elements/scoped-registry/CustomElementRegistry-constructor.tentative.html.ini
@@ -0,0 +1,3 @@
+[CustomElementRegistry-constructor.tentative.html]
+ [Create non-global CustomElementRegistry and add definitions]
+ expected: FAIL
diff --git a/testing/web-platform/meta/custom-elements/scoped-registry/CustomElementRegistry-multi-register.tentative.html.ini b/testing/web-platform/meta/custom-elements/scoped-registry/CustomElementRegistry-multi-register.tentative.html.ini
new file mode 100644
index 0000000000..6823e0597a
--- /dev/null
+++ b/testing/web-platform/meta/custom-elements/scoped-registry/CustomElementRegistry-multi-register.tentative.html.ini
@@ -0,0 +1,6 @@
+[CustomElementRegistry-multi-register.tentative.html]
+ [Same constructor can be registered to different registries]
+ expected: FAIL
+
+ [Non-global registries still reject duplicate registrations of the same constructor]
+ expected: FAIL
diff --git a/testing/web-platform/meta/custom-elements/scoped-registry/ShadowRoot-createElement.tentative.html.ini b/testing/web-platform/meta/custom-elements/scoped-registry/ShadowRoot-createElement.tentative.html.ini
new file mode 100644
index 0000000000..47b3baabc5
--- /dev/null
+++ b/testing/web-platform/meta/custom-elements/scoped-registry/ShadowRoot-createElement.tentative.html.ini
@@ -0,0 +1,12 @@
+[ShadowRoot-createElement.tentative.html]
+ [ShadowRoot.createElement() for autonomous custom element]
+ expected: FAIL
+
+ [ShadowRoot.createElementNS() for autonomous custom element]
+ expected: FAIL
+
+ [ShadowRoot.createElement() for customized built-in element]
+ expected: FAIL
+
+ [ShadowRoot.createElementNS() for customized built-in element]
+ expected: FAIL
diff --git a/testing/web-platform/meta/custom-elements/scoped-registry/ShadowRoot-init-registry.tentative.html.ini b/testing/web-platform/meta/custom-elements/scoped-registry/ShadowRoot-init-registry.tentative.html.ini
new file mode 100644
index 0000000000..99a2018873
--- /dev/null
+++ b/testing/web-platform/meta/custom-elements/scoped-registry/ShadowRoot-init-registry.tentative.html.ini
@@ -0,0 +1,15 @@
+[ShadowRoot-init-registry.tentative.html]
+ [ShadowRoot.registry is null if not explicitly specified]
+ expected: FAIL
+
+ [Attach the global registry to a shadow root]
+ expected: FAIL
+
+ [Attach a non-global registry to a shadow root]
+ expected: FAIL
+
+ [Attach the same registry to multiple shadow roots]
+ expected: FAIL
+
+ [Attaching registry to shadow root can only be done during initialization]
+ expected: FAIL
diff --git a/testing/web-platform/meta/custom-elements/scoped-registry/ShadowRoot-innerHTML-upgrade.tentative.html.ini b/testing/web-platform/meta/custom-elements/scoped-registry/ShadowRoot-innerHTML-upgrade.tentative.html.ini
new file mode 100644
index 0000000000..14c2875323
--- /dev/null
+++ b/testing/web-platform/meta/custom-elements/scoped-registry/ShadowRoot-innerHTML-upgrade.tentative.html.ini
@@ -0,0 +1,12 @@
+[ShadowRoot-innerHTML-upgrade.tentative.html]
+ [Upgrade into autonomous custom element when inserted via innerHTML]
+ expected: FAIL
+
+ [Upgrade into autonomous custom element when definition is added]
+ expected: FAIL
+
+ [Upgrade into customized built-in element when inserted via innerHTML]
+ expected: FAIL
+
+ [Upgrade into customized built-in element when definition is added]
+ expected: FAIL
diff --git a/testing/web-platform/meta/custom-elements/scoped-registry/constructor-call.tentative.html.ini b/testing/web-platform/meta/custom-elements/scoped-registry/constructor-call.tentative.html.ini
new file mode 100644
index 0000000000..ff5133e8e7
--- /dev/null
+++ b/testing/web-platform/meta/custom-elements/scoped-registry/constructor-call.tentative.html.ini
@@ -0,0 +1,6 @@
+[constructor-call.tentative.html]
+ [Calling custom element constructor directly without global registration should fail]
+ expected: FAIL
+
+ [Calling custom element constructor directly uses global registration only]
+ expected: FAIL
diff --git a/testing/web-platform/meta/custom-elements/scoped-registry/constructor-reentry-with-different-definition.tentative.html.ini b/testing/web-platform/meta/custom-elements/scoped-registry/constructor-reentry-with-different-definition.tentative.html.ini
new file mode 100644
index 0000000000..5a9fc28722
--- /dev/null
+++ b/testing/web-platform/meta/custom-elements/scoped-registry/constructor-reentry-with-different-definition.tentative.html.ini
@@ -0,0 +1,12 @@
+[constructor-reentry-with-different-definition.tentative.html]
+ [Re-entry via upgrade before calling super()]
+ expected: FAIL
+
+ [Re-entry via upgrade after calling super()]
+ expected: FAIL
+
+ [Re-entry via direct constructor call before calling super()]
+ expected: FAIL
+
+ [Re-entry via direct constructor call after calling super()]
+ expected: FAIL
diff --git a/testing/web-platform/meta/custom-elements/scoped-registry/scoped-registry-define-upgrade-criteria.tentative.html.ini b/testing/web-platform/meta/custom-elements/scoped-registry/scoped-registry-define-upgrade-criteria.tentative.html.ini
new file mode 100644
index 0000000000..430c566a2a
--- /dev/null
+++ b/testing/web-platform/meta/custom-elements/scoped-registry/scoped-registry-define-upgrade-criteria.tentative.html.ini
@@ -0,0 +1,33 @@
+[scoped-registry-define-upgrade-criteria.tentative.html]
+ [Adding definition to global registry should not affect shadow roots using scoped registry]
+ expected: FAIL
+
+ [Adding definition to scoped registry should affect all associated shadow roots]
+ expected: FAIL
+
+ [Adding definition to scoped registry should not affect document tree scope]
+ expected: FAIL
+
+ [Adding definition to scoped registry should not affect shadow roots using other registries]
+ expected: FAIL
+
+ [Adding definition to global registry should not upgrade nodes no longer using the registry]
+ expected: FAIL
+
+ [Adding definition to scoped registry should not upgrade nodes no longer using the registry]
+ expected: FAIL
+
+ [Adding definition to scoped registry affects associated shadow roots in all iframes]
+ expected: FAIL
+
+ [Adding definition to scoped registry affects associated shadow roots in other frame trees]
+ expected: FAIL
+
+ [Adding definition to scoped registry should not upgrade disconnected elements]
+ expected: FAIL
+
+ [Adding definition to scoped registry should not upgrade nodes in constructed documents]
+ expected: FAIL
+
+ [Adding definition to scoped registry should not upgrade nodes in detached frames]
+ expected: FAIL
diff --git a/testing/web-platform/meta/custom-elements/scoped-registry/scoped-registry-define-upgrade-order.tentative.html.ini b/testing/web-platform/meta/custom-elements/scoped-registry/scoped-registry-define-upgrade-order.tentative.html.ini
new file mode 100644
index 0000000000..8a6ec8f3e0
--- /dev/null
+++ b/testing/web-platform/meta/custom-elements/scoped-registry/scoped-registry-define-upgrade-order.tentative.html.ini
@@ -0,0 +1,21 @@
+[scoped-registry-define-upgrade-order.tentative.html]
+ [Upgrade in tree order in the same tree scope]
+ expected: FAIL
+
+ [Upgrade in shadow-including tree order across tree scopes]
+ expected: FAIL
+
+ [Upgrade order does not depend on shadow root attach order]
+ expected: FAIL
+
+ [Upgrade in association order across documents, then tree order in each document]
+ expected: FAIL
+
+ [Upgrade order is not affected by DOM order between child frames]
+ expected: FAIL
+
+ [Upgrade order is affected by shadow tree adoption across documents]
+ expected: FAIL
+
+ [Elements in the "owner" window of a scoped registry are not always upgraded first]
+ expected: FAIL