summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/meta/fetch/corb
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/meta/fetch/corb')
-rw-r--r--testing/web-platform/meta/fetch/corb/__dir__.ini2
-rw-r--r--testing/web-platform/meta/fetch/corb/preload-image-png-mislabeled-as-html-nosniff.tentative.sub.html.ini4
-rw-r--r--testing/web-platform/meta/fetch/corb/response_block.tentative.https.html.ini3
-rw-r--r--testing/web-platform/meta/fetch/corb/script-html-correctly-labeled.tentative.sub.html.ini2
-rw-r--r--testing/web-platform/meta/fetch/corb/script-html-js-polyglot.sub.html.ini3
-rw-r--r--testing/web-platform/meta/fetch/corb/script-html-via-cross-origin-blob-url.sub.html.ini3
-rw-r--r--testing/web-platform/meta/fetch/corb/script-resource-with-json-parser-breaker.tentative.sub.html.ini60
-rw-r--r--testing/web-platform/meta/fetch/corb/script-resource-with-nonsniffable-types.tentative.sub.html.ini5
-rw-r--r--testing/web-platform/meta/fetch/corb/style-css-mislabeled-as-html-nosniff.sub.html.ini3
-rw-r--r--testing/web-platform/meta/fetch/corb/style-css-with-json-parser-breaker.sub.html.ini3
10 files changed, 88 insertions, 0 deletions
diff --git a/testing/web-platform/meta/fetch/corb/__dir__.ini b/testing/web-platform/meta/fetch/corb/__dir__.ini
new file mode 100644
index 0000000000..c59a832ef1
--- /dev/null
+++ b/testing/web-platform/meta/fetch/corb/__dir__.ini
@@ -0,0 +1,2 @@
+prefs: [browser.opaqueResponseBlocking:true]
+leak-threshold: [default:307200]
diff --git a/testing/web-platform/meta/fetch/corb/preload-image-png-mislabeled-as-html-nosniff.tentative.sub.html.ini b/testing/web-platform/meta/fetch/corb/preload-image-png-mislabeled-as-html-nosniff.tentative.sub.html.ini
new file mode 100644
index 0000000000..72f66df7da
--- /dev/null
+++ b/testing/web-platform/meta/fetch/corb/preload-image-png-mislabeled-as-html-nosniff.tentative.sub.html.ini
@@ -0,0 +1,4 @@
+[preload-image-png-mislabeled-as-html-nosniff.tentative.sub.html]
+ [preload-image-png-mislabeled-as-html-nosniff]
+ expected: FAIL
+
diff --git a/testing/web-platform/meta/fetch/corb/response_block.tentative.https.html.ini b/testing/web-platform/meta/fetch/corb/response_block.tentative.https.html.ini
new file mode 100644
index 0000000000..e7ce32b867
--- /dev/null
+++ b/testing/web-platform/meta/fetch/corb/response_block.tentative.https.html.ini
@@ -0,0 +1,3 @@
+[response_block.tentative.https.html]
+ [ORB: Expect error response from fetch().]
+ expected: FAIL
diff --git a/testing/web-platform/meta/fetch/corb/script-html-correctly-labeled.tentative.sub.html.ini b/testing/web-platform/meta/fetch/corb/script-html-correctly-labeled.tentative.sub.html.ini
new file mode 100644
index 0000000000..bbb11d1998
--- /dev/null
+++ b/testing/web-platform/meta/fetch/corb/script-html-correctly-labeled.tentative.sub.html.ini
@@ -0,0 +1,2 @@
+[script-html-correctly-labeled.tentative.sub.html]
+ prefs: [browser.opaqueResponseBlocking.javascriptValidator:true]
diff --git a/testing/web-platform/meta/fetch/corb/script-html-js-polyglot.sub.html.ini b/testing/web-platform/meta/fetch/corb/script-html-js-polyglot.sub.html.ini
new file mode 100644
index 0000000000..966a321a51
--- /dev/null
+++ b/testing/web-platform/meta/fetch/corb/script-html-js-polyglot.sub.html.ini
@@ -0,0 +1,3 @@
+[script-html-js-polyglot.sub.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/fetch/corb/script-html-via-cross-origin-blob-url.sub.html.ini b/testing/web-platform/meta/fetch/corb/script-html-via-cross-origin-blob-url.sub.html.ini
new file mode 100644
index 0000000000..50e572949e
--- /dev/null
+++ b/testing/web-platform/meta/fetch/corb/script-html-via-cross-origin-blob-url.sub.html.ini
@@ -0,0 +1,3 @@
+[script-html-via-cross-origin-blob-url.sub.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/fetch/corb/script-resource-with-json-parser-breaker.tentative.sub.html.ini b/testing/web-platform/meta/fetch/corb/script-resource-with-json-parser-breaker.tentative.sub.html.ini
new file mode 100644
index 0000000000..bb216002b9
--- /dev/null
+++ b/testing/web-platform/meta/fetch/corb/script-resource-with-json-parser-breaker.tentative.sub.html.ini
@@ -0,0 +1,60 @@
+[script-resource-with-json-parser-breaker.tentative.sub.html]
+ prefs: [browser.opaqueResponseBlocking:true, browser.opaqueResponseBlocking.javascriptValidator:true]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
+ [CORB-blocks 'application/javascript' that starts with the following JSON parser breaker: )\]}']
+ expected: FAIL
+
+ [CORB-blocks 'application/javascript' that starts with the following JSON parser breaker: {}&&]
+ expected: FAIL
+
+ [CORB-blocks 'application/javascript' that starts with the following JSON parser breaker: {} &&]
+ expected: FAIL
+
+ [CORB-blocks 'text/html' that starts with the following JSON parser breaker: {}&&]
+ expected:
+ if not debug and (os == "android"): [PASS, FAIL]
+ if not debug and (os == "linux"): [PASS, FAIL]
+ if not debug and (os == "mac"): [PASS, FAIL]
+
+ [CORB-blocks 'text/xml' that starts with the following JSON parser breaker: {} &&]
+ expected:
+ if not debug and (os == "android"): [PASS, FAIL]
+ if not debug and (os == "linux"): [PASS, FAIL]
+ if not debug and (os == "mac"): [PASS, FAIL]
+
+ [CORB-blocks 'text/plain' that starts with the following JSON parser breaker: {} &&]
+ expected:
+ if not debug and (os == "android"): [PASS, FAIL]
+ if not debug and (os == "mac"): [PASS, FAIL]
+ if not debug and (os == "linux"): [PASS, FAIL]
+
+ [CORB-blocks 'text/plain' that starts with the following JSON parser breaker: {}&&]
+ expected:
+ if not debug and (os == "linux"): [PASS, FAIL]
+ if not debug and (os == "android"): [PASS, FAIL]
+ if not debug and (os == "mac"): [PASS, FAIL]
+
+ [CORB-blocks 'text/html' that starts with the following JSON parser breaker: {} &&]
+ expected:
+ if not debug and (os == "android"): [PASS, FAIL]
+ if not debug and (os == "linux"): [PASS, FAIL]
+ if not debug and (os == "mac"): [PASS, FAIL]
+
+ [CORB-blocks 'text/json' that starts with the following JSON parser breaker: {}&&]
+ expected:
+ if not debug and (os == "linux"): [PASS, FAIL]
+ if not debug and (os == "android"): [PASS, FAIL]
+ if not debug and (os == "mac"): [PASS, FAIL]
+
+ [CORB-blocks 'text/xml' that starts with the following JSON parser breaker: {}&&]
+ expected:
+ if not debug and (os == "mac"): [PASS, FAIL]
+ if not debug and (os == "android"): [PASS, FAIL]
+ if not debug and (os == "linux"): [PASS, FAIL]
+
+ [CORB-blocks 'text/json' that starts with the following JSON parser breaker: {} &&]
+ expected:
+ if not debug and (os == "android"): [PASS, FAIL]
+ if not debug and (os == "mac"): [PASS, FAIL]
+ if not debug and (os == "linux"): [PASS, FAIL]
diff --git a/testing/web-platform/meta/fetch/corb/script-resource-with-nonsniffable-types.tentative.sub.html.ini b/testing/web-platform/meta/fetch/corb/script-resource-with-nonsniffable-types.tentative.sub.html.ini
new file mode 100644
index 0000000000..4f3df3c226
--- /dev/null
+++ b/testing/web-platform/meta/fetch/corb/script-resource-with-nonsniffable-types.tentative.sub.html.ini
@@ -0,0 +1,5 @@
+[script-resource-with-nonsniffable-types.tentative.sub.html]
+ expected: TIMEOUT
+ [script-resource-with-nonsniffable-types]
+ expected: FAIL
+
diff --git a/testing/web-platform/meta/fetch/corb/style-css-mislabeled-as-html-nosniff.sub.html.ini b/testing/web-platform/meta/fetch/corb/style-css-mislabeled-as-html-nosniff.sub.html.ini
new file mode 100644
index 0000000000..8b3d2f68cb
--- /dev/null
+++ b/testing/web-platform/meta/fetch/corb/style-css-mislabeled-as-html-nosniff.sub.html.ini
@@ -0,0 +1,3 @@
+[style-css-mislabeled-as-html-nosniff.sub.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/fetch/corb/style-css-with-json-parser-breaker.sub.html.ini b/testing/web-platform/meta/fetch/corb/style-css-with-json-parser-breaker.sub.html.ini
new file mode 100644
index 0000000000..46e8dc0f5e
--- /dev/null
+++ b/testing/web-platform/meta/fetch/corb/style-css-with-json-parser-breaker.sub.html.ini
@@ -0,0 +1,3 @@
+[style-css-with-json-parser-breaker.sub.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]