summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/meta/fetch/orb/tentative/nosniff.sub.any.js.ini
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/meta/fetch/orb/tentative/nosniff.sub.any.js.ini')
-rw-r--r--testing/web-platform/meta/fetch/orb/tentative/nosniff.sub.any.js.ini30
1 files changed, 30 insertions, 0 deletions
diff --git a/testing/web-platform/meta/fetch/orb/tentative/nosniff.sub.any.js.ini b/testing/web-platform/meta/fetch/orb/tentative/nosniff.sub.any.js.ini
new file mode 100644
index 0000000000..05308ec69f
--- /dev/null
+++ b/testing/web-platform/meta/fetch/orb/tentative/nosniff.sub.any.js.ini
@@ -0,0 +1,30 @@
+[nosniff.sub.any.html]
+ prefs: [browser.opaqueResponseBlocking:true,
+ browser.opaqueResponseBlocking.filterFetchResponse:2]
+
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
+ [ORB should block opaque text/plain with nosniff: fetch(..., {mode: "no-cors"})]
+ expected: FAIL
+
+ [ORB should block opaque-response-blocklisted MIME type with nosniff: fetch(..., {mode: "no-cors"})]
+ expected: FAIL
+
+ [ORB should block opaque response with empty Content-Type and nosniff: fetch(..., {mode: "no-cors"})]
+ expected: FAIL
+
+
+[nosniff.sub.any.worker.html]
+ prefs: [browser.opaqueResponseBlocking:true,
+ browser.opaqueResponseBlocking.filterFetchResponse:2]
+
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
+ [ORB should block opaque text/plain with nosniff: fetch(..., {mode: "no-cors"})]
+ expected: FAIL
+
+ [ORB should block opaque-response-blocklisted MIME type with nosniff: fetch(..., {mode: "no-cors"})]
+ expected: FAIL
+
+ [ORB should block opaque response with empty Content-Type and nosniff: fetch(..., {mode: "no-cors"})]
+ expected: FAIL