summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/meta/html/semantics/scripting-1/the-script-element/json-module
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 00:47:55 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 00:47:55 +0000
commit26a029d407be480d791972afb5975cf62c9360a6 (patch)
treef435a8308119effd964b339f76abb83a57c29483 /testing/web-platform/meta/html/semantics/scripting-1/the-script-element/json-module
parentInitial commit. (diff)
downloadfirefox-26a029d407be480d791972afb5975cf62c9360a6.tar.xz
firefox-26a029d407be480d791972afb5975cf62c9360a6.zip
Adding upstream version 124.0.1.upstream/124.0.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/web-platform/meta/html/semantics/scripting-1/the-script-element/json-module')
-rw-r--r--testing/web-platform/meta/html/semantics/scripting-1/the-script-element/json-module/charset-2.html.ini4
-rw-r--r--testing/web-platform/meta/html/semantics/scripting-1/the-script-element/json-module/charset-bom.any.js.ini14
-rw-r--r--testing/web-platform/meta/html/semantics/scripting-1/the-script-element/json-module/charset.html.ini4
-rw-r--r--testing/web-platform/meta/html/semantics/scripting-1/the-script-element/json-module/cors-crossorigin-requests.html.ini11
-rw-r--r--testing/web-platform/meta/html/semantics/scripting-1/the-script-element/json-module/credentials.sub.html.ini5
-rw-r--r--testing/web-platform/meta/html/semantics/scripting-1/the-script-element/json-module/integrity.html.ini5
-rw-r--r--testing/web-platform/meta/html/semantics/scripting-1/the-script-element/json-module/invalid-content-type.any.js.ini14
-rw-r--r--testing/web-platform/meta/html/semantics/scripting-1/the-script-element/json-module/json-module-service-worker-test.https.html.ini8
-rw-r--r--testing/web-platform/meta/html/semantics/scripting-1/the-script-element/json-module/load-error-events.html.ini27
-rw-r--r--testing/web-platform/meta/html/semantics/scripting-1/the-script-element/json-module/module.html.ini4
-rw-r--r--testing/web-platform/meta/html/semantics/scripting-1/the-script-element/json-module/non-object.any.js.ini14
-rw-r--r--testing/web-platform/meta/html/semantics/scripting-1/the-script-element/json-module/parse-error.html.ini3
-rw-r--r--testing/web-platform/meta/html/semantics/scripting-1/the-script-element/json-module/referrer-policies.sub.html.ini2
-rw-r--r--testing/web-platform/meta/html/semantics/scripting-1/the-script-element/json-module/repeated-imports.any.js.ini14
-rw-r--r--testing/web-platform/meta/html/semantics/scripting-1/the-script-element/json-module/valid-content-type.html.ini21
15 files changed, 150 insertions, 0 deletions
diff --git a/testing/web-platform/meta/html/semantics/scripting-1/the-script-element/json-module/charset-2.html.ini b/testing/web-platform/meta/html/semantics/scripting-1/the-script-element/json-module/charset-2.html.ini
new file mode 100644
index 0000000000..8b61ad2a13
--- /dev/null
+++ b/testing/web-platform/meta/html/semantics/scripting-1/the-script-element/json-module/charset-2.html.ini
@@ -0,0 +1,4 @@
+[charset-2.html]
+ expected:
+ if (os == "android") and fission: [ERROR, TIMEOUT]
+ ERROR
diff --git a/testing/web-platform/meta/html/semantics/scripting-1/the-script-element/json-module/charset-bom.any.js.ini b/testing/web-platform/meta/html/semantics/scripting-1/the-script-element/json-module/charset-bom.any.js.ini
new file mode 100644
index 0000000000..b2fb67423e
--- /dev/null
+++ b/testing/web-platform/meta/html/semantics/scripting-1/the-script-element/json-module/charset-bom.any.js.ini
@@ -0,0 +1,14 @@
+[charset-bom.any.worker.html]
+ expected:
+ if (os == "android") and fission: [ERROR, TIMEOUT]
+ ERROR
+
+[charset-bom.any.html]
+ expected:
+ if (os == "android") and fission: [ERROR, TIMEOUT]
+ ERROR
+
+[charset-bom.any.sharedworker.html]
+ expected:
+ if (os == "android") and fission: [ERROR, TIMEOUT]
+ ERROR
diff --git a/testing/web-platform/meta/html/semantics/scripting-1/the-script-element/json-module/charset.html.ini b/testing/web-platform/meta/html/semantics/scripting-1/the-script-element/json-module/charset.html.ini
new file mode 100644
index 0000000000..13e4ec2e5a
--- /dev/null
+++ b/testing/web-platform/meta/html/semantics/scripting-1/the-script-element/json-module/charset.html.ini
@@ -0,0 +1,4 @@
+[charset.html]
+ expected:
+ if (os == "android") and fission: [ERROR, TIMEOUT]
+ ERROR
diff --git a/testing/web-platform/meta/html/semantics/scripting-1/the-script-element/json-module/cors-crossorigin-requests.html.ini b/testing/web-platform/meta/html/semantics/scripting-1/the-script-element/json-module/cors-crossorigin-requests.html.ini
new file mode 100644
index 0000000000..73d8d70cc1
--- /dev/null
+++ b/testing/web-platform/meta/html/semantics/scripting-1/the-script-element/json-module/cors-crossorigin-requests.html.ini
@@ -0,0 +1,11 @@
+[cors-crossorigin-requests.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
+ [Imported JSON module, cross-origin with CORS]
+ expected: FAIL
+
+ [Imported JSON module, cross-origin, missing CORS ACAO header]
+ expected: FAIL
+
+ [Imported JSON module with parse error, cross-origin, with CORS]
+ expected: FAIL
diff --git a/testing/web-platform/meta/html/semantics/scripting-1/the-script-element/json-module/credentials.sub.html.ini b/testing/web-platform/meta/html/semantics/scripting-1/the-script-element/json-module/credentials.sub.html.ini
new file mode 100644
index 0000000000..ada236729f
--- /dev/null
+++ b/testing/web-platform/meta/html/semantics/scripting-1/the-script-element/json-module/credentials.sub.html.ini
@@ -0,0 +1,5 @@
+[credentials.sub.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
+ [JSON Modules should be loaded with or without the credentials based on the same-origin-ness and the crossOrigin attribute]
+ expected: FAIL
diff --git a/testing/web-platform/meta/html/semantics/scripting-1/the-script-element/json-module/integrity.html.ini b/testing/web-platform/meta/html/semantics/scripting-1/the-script-element/json-module/integrity.html.ini
new file mode 100644
index 0000000000..9a4e7d17f9
--- /dev/null
+++ b/testing/web-platform/meta/html/semantics/scripting-1/the-script-element/json-module/integrity.html.ini
@@ -0,0 +1,5 @@
+[integrity.html]
+ expected:
+ if (os == "android") and fission: [ERROR, TIMEOUT]
+ [The integrity attribute must be verified on the top-level of a module loading a JSON module and allow it to execute when it matches]
+ expected: FAIL
diff --git a/testing/web-platform/meta/html/semantics/scripting-1/the-script-element/json-module/invalid-content-type.any.js.ini b/testing/web-platform/meta/html/semantics/scripting-1/the-script-element/json-module/invalid-content-type.any.js.ini
new file mode 100644
index 0000000000..0a08fbf2c4
--- /dev/null
+++ b/testing/web-platform/meta/html/semantics/scripting-1/the-script-element/json-module/invalid-content-type.any.js.ini
@@ -0,0 +1,14 @@
+[invalid-content-type.any.worker.html]
+ expected:
+ if (os == "android") and fission: [ERROR, TIMEOUT]
+ ERROR
+
+[invalid-content-type.any.html]
+ expected:
+ if (os == "android") and fission: [ERROR, TIMEOUT]
+ ERROR
+
+[invalid-content-type.any.sharedworker.html]
+ expected:
+ if (os == "android") and fission: [ERROR, TIMEOUT]
+ ERROR
diff --git a/testing/web-platform/meta/html/semantics/scripting-1/the-script-element/json-module/json-module-service-worker-test.https.html.ini b/testing/web-platform/meta/html/semantics/scripting-1/the-script-element/json-module/json-module-service-worker-test.https.html.ini
new file mode 100644
index 0000000000..32678fd13c
--- /dev/null
+++ b/testing/web-platform/meta/html/semantics/scripting-1/the-script-element/json-module/json-module-service-worker-test.https.html.ini
@@ -0,0 +1,8 @@
+[json-module-service-worker-test.https.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
+ [Javascript importing JSON Module should load within the context of a service worker]
+ expected: FAIL
+
+ [JSON Module dynamic import should not load within the context of a service worker]
+ expected: FAIL
diff --git a/testing/web-platform/meta/html/semantics/scripting-1/the-script-element/json-module/load-error-events.html.ini b/testing/web-platform/meta/html/semantics/scripting-1/the-script-element/json-module/load-error-events.html.ini
new file mode 100644
index 0000000000..9b6a1bf863
--- /dev/null
+++ b/testing/web-platform/meta/html/semantics/scripting-1/the-script-element/json-module/load-error-events.html.ini
@@ -0,0 +1,27 @@
+[load-error-events.html]
+ expected:
+ if (os == "android") and fission: [ERROR, TIMEOUT]
+ ERROR
+ [inline, 200, parser-inserted]
+ expected: NOTRUN
+
+ [inline, 404, parser-inserted]
+ expected: NOTRUN
+
+ [src, 200, parser-inserted]
+ expected: FAIL
+
+ [src, 404, parser-inserted]
+ expected: FAIL
+
+ [src, 200, not parser-inserted]
+ expected: FAIL
+
+ [src, 404, not parser-inserted]
+ expected: FAIL
+
+ [inline, 200, not parser-inserted]
+ expected: NOTRUN
+
+ [inline, 404, not parser-inserted]
+ expected: NOTRUN
diff --git a/testing/web-platform/meta/html/semantics/scripting-1/the-script-element/json-module/module.html.ini b/testing/web-platform/meta/html/semantics/scripting-1/the-script-element/json-module/module.html.ini
new file mode 100644
index 0000000000..f35e3f413b
--- /dev/null
+++ b/testing/web-platform/meta/html/semantics/scripting-1/the-script-element/json-module/module.html.ini
@@ -0,0 +1,4 @@
+[module.html]
+ expected: ERROR
+ [JSON modules]
+ expected: NOTRUN
diff --git a/testing/web-platform/meta/html/semantics/scripting-1/the-script-element/json-module/non-object.any.js.ini b/testing/web-platform/meta/html/semantics/scripting-1/the-script-element/json-module/non-object.any.js.ini
new file mode 100644
index 0000000000..bede72fc57
--- /dev/null
+++ b/testing/web-platform/meta/html/semantics/scripting-1/the-script-element/json-module/non-object.any.js.ini
@@ -0,0 +1,14 @@
+[non-object.any.worker.html]
+ expected:
+ if (os == "android") and fission: [ERROR, TIMEOUT]
+ ERROR
+
+[non-object.any.html]
+ expected:
+ if (os == "android") and fission: [ERROR, TIMEOUT]
+ ERROR
+
+[non-object.any.sharedworker.html]
+ expected:
+ if (os == "android") and fission: [ERROR, TIMEOUT]
+ ERROR
diff --git a/testing/web-platform/meta/html/semantics/scripting-1/the-script-element/json-module/parse-error.html.ini b/testing/web-platform/meta/html/semantics/scripting-1/the-script-element/json-module/parse-error.html.ini
new file mode 100644
index 0000000000..2287365fc3
--- /dev/null
+++ b/testing/web-platform/meta/html/semantics/scripting-1/the-script-element/json-module/parse-error.html.ini
@@ -0,0 +1,3 @@
+[parse-error.html]
+ [JSON modules: parse error]
+ expected: FAIL
diff --git a/testing/web-platform/meta/html/semantics/scripting-1/the-script-element/json-module/referrer-policies.sub.html.ini b/testing/web-platform/meta/html/semantics/scripting-1/the-script-element/json-module/referrer-policies.sub.html.ini
new file mode 100644
index 0000000000..d1bd3ff92f
--- /dev/null
+++ b/testing/web-platform/meta/html/semantics/scripting-1/the-script-element/json-module/referrer-policies.sub.html.ini
@@ -0,0 +1,2 @@
+[referrer-policies.sub.html]
+ expected: ERROR
diff --git a/testing/web-platform/meta/html/semantics/scripting-1/the-script-element/json-module/repeated-imports.any.js.ini b/testing/web-platform/meta/html/semantics/scripting-1/the-script-element/json-module/repeated-imports.any.js.ini
new file mode 100644
index 0000000000..d0ba938b24
--- /dev/null
+++ b/testing/web-platform/meta/html/semantics/scripting-1/the-script-element/json-module/repeated-imports.any.js.ini
@@ -0,0 +1,14 @@
+[repeated-imports.any.html]
+ expected:
+ if (os == "android") and fission: [ERROR, TIMEOUT]
+ ERROR
+
+[repeated-imports.any.sharedworker.html]
+ expected:
+ if (os == "android") and fission: [ERROR, TIMEOUT]
+ ERROR
+
+[repeated-imports.any.worker.html]
+ expected:
+ if (os == "android") and fission: [ERROR, TIMEOUT]
+ ERROR
diff --git a/testing/web-platform/meta/html/semantics/scripting-1/the-script-element/json-module/valid-content-type.html.ini b/testing/web-platform/meta/html/semantics/scripting-1/the-script-element/json-module/valid-content-type.html.ini
new file mode 100644
index 0000000000..9bf9ecfd72
--- /dev/null
+++ b/testing/web-platform/meta/html/semantics/scripting-1/the-script-element/json-module/valid-content-type.html.ini
@@ -0,0 +1,21 @@
+[valid-content-type.html]
+ expected:
+ if (os == "android") and fission: [ERROR, TIMEOUT]
+ ERROR
+ [text/json]
+ expected: NOTRUN
+
+ [application/json]
+ expected: NOTRUN
+
+ [text/html+json]
+ expected: NOTRUN
+
+ [image/svg+json]
+ expected: NOTRUN
+
+ [text/json;boundary=something]
+ expected: NOTRUN
+
+ [text/json;foo=bar]
+ expected: NOTRUN