summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/meta/custom-elements/scoped-registry
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 19:33:14 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 19:33:14 +0000
commit36d22d82aa202bb199967e9512281e9a53db42c9 (patch)
tree105e8c98ddea1c1e4784a60a5a6410fa416be2de /testing/web-platform/meta/custom-elements/scoped-registry
parentInitial commit. (diff)
downloadfirefox-esr-36d22d82aa202bb199967e9512281e9a53db42c9.tar.xz
firefox-esr-36d22d82aa202bb199967e9512281e9a53db42c9.zip
Adding upstream version 115.7.0esr.upstream/115.7.0esrupstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
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-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
6 files changed, 54 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-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