summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/meta/fetch/orb
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/meta/fetch/orb')
-rw-r--r--testing/web-platform/meta/fetch/orb/tentative/__dir__.ini1
-rw-r--r--testing/web-platform/meta/fetch/orb/tentative/content-range.sub.any.js.ini10
-rw-r--r--testing/web-platform/meta/fetch/orb/tentative/img-mime-types-coverage.tentative.sub.html.ini12
-rw-r--r--testing/web-platform/meta/fetch/orb/tentative/known-mime-type.sub.any.js.ini38
-rw-r--r--testing/web-platform/meta/fetch/orb/tentative/nosniff.sub.any.js.ini30
-rw-r--r--testing/web-platform/meta/fetch/orb/tentative/script-js-unlabeled-gziped.sub.html.ini3
-rw-r--r--testing/web-platform/meta/fetch/orb/tentative/script-unlabeled.sub.html.ini3
-rw-r--r--testing/web-platform/meta/fetch/orb/tentative/status.sub.any.js.ini24
-rw-r--r--testing/web-platform/meta/fetch/orb/tentative/status.sub.html.ini3
-rw-r--r--testing/web-platform/meta/fetch/orb/tentative/unknown-mime-type.sub.any.js.ini7
10 files changed, 131 insertions, 0 deletions
diff --git a/testing/web-platform/meta/fetch/orb/tentative/__dir__.ini b/testing/web-platform/meta/fetch/orb/tentative/__dir__.ini
new file mode 100644
index 0000000000..903a93027f
--- /dev/null
+++ b/testing/web-platform/meta/fetch/orb/tentative/__dir__.ini
@@ -0,0 +1 @@
+prefs: [browser.opaqueResponseBlocking:true, browser.opaqueResponseBlocking.javascriptValidator:true]
diff --git a/testing/web-platform/meta/fetch/orb/tentative/content-range.sub.any.js.ini b/testing/web-platform/meta/fetch/orb/tentative/content-range.sub.any.js.ini
new file mode 100644
index 0000000000..482e8226a2
--- /dev/null
+++ b/testing/web-platform/meta/fetch/orb/tentative/content-range.sub.any.js.ini
@@ -0,0 +1,10 @@
+[content-range.sub.any.html]
+ prefs: [browser.opaqueResponseBlocking:true,
+ browser.opaqueResponseBlocking.filterFetchResponse:2]
+ [ORB should block opaque range of image/png not starting at zero, that isn't subsequent]
+ expected: FAIL
+
+
+[content-range.sub.any.worker.html]
+ [ORB should block opaque range of image/png not starting at zero, that isn't subsequent]
+ expected: FAIL
diff --git a/testing/web-platform/meta/fetch/orb/tentative/img-mime-types-coverage.tentative.sub.html.ini b/testing/web-platform/meta/fetch/orb/tentative/img-mime-types-coverage.tentative.sub.html.ini
new file mode 100644
index 0000000000..a7fa83b42a
--- /dev/null
+++ b/testing/web-platform/meta/fetch/orb/tentative/img-mime-types-coverage.tentative.sub.html.ini
@@ -0,0 +1,12 @@
+[img-mime-types-coverage.tentative.sub.html]
+ [ORB should block the response if Content-Type is: 'application/dash+xml'. ]
+ expected: FAIL
+
+ [ORB should block the response if Content-Type is: 'application/vnd.apple.mpegurl'. ]
+ expected: FAIL
+
+ [ORB should block the response if Content-Type is: 'audio/mpegurl'. ]
+ expected: FAIL
+
+ [ORB should block the response if Content-Type is: 'text/vtt'. ]
+ expected: FAIL
diff --git a/testing/web-platform/meta/fetch/orb/tentative/known-mime-type.sub.any.js.ini b/testing/web-platform/meta/fetch/orb/tentative/known-mime-type.sub.any.js.ini
new file mode 100644
index 0000000000..e21d50de71
--- /dev/null
+++ b/testing/web-platform/meta/fetch/orb/tentative/known-mime-type.sub.any.js.ini
@@ -0,0 +1,38 @@
+[known-mime-type.sub.any.html]
+ prefs: [browser.opaqueResponseBlocking:true,
+ browser.opaqueResponseBlocking.filterFetchResponse:2]
+
+ [ORB should block opaque font/ttf]
+ expected: FAIL
+
+ [ORB should block opaque text/plain]
+ expected: FAIL
+
+ [ORB should block opaque application/json (non-empty)]
+ expected: FAIL
+
+ [ORB should block opaque application/json (empty)]
+ expected: FAIL
+
+ [ORB should block opaque application/json which contains non ascii characters]
+ expected: FAIL
+
+
+[known-mime-type.sub.any.worker.html]
+ prefs: [browser.opaqueResponseBlocking:true,
+ browser.opaqueResponseBlocking.filterFetchResponse:2]
+
+ [ORB should block opaque font/ttf]
+ expected: FAIL
+
+ [ORB should block opaque text/plain]
+ expected: FAIL
+
+ [ORB should block opaque application/json (non-empty)]
+ expected: FAIL
+
+ [ORB should block opaque application/json (empty)]
+ expected: FAIL
+
+ [ORB should block opaque application/json which contains non ascii characters]
+ expected: FAIL
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..08328fba3e
--- /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]
+ expected: FAIL
+
+ [ORB should block opaque-response-blocklisted MIME type with nosniff]
+ expected: FAIL
+
+ [ORB should block opaque response with empty Content-Type and nosniff]
+ 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]
+ expected: FAIL
+
+ [ORB should block opaque-response-blocklisted MIME type with nosniff]
+ expected: FAIL
+
+ [ORB should block opaque response with empty Content-Type and nosniff]
+ expected: FAIL
diff --git a/testing/web-platform/meta/fetch/orb/tentative/script-js-unlabeled-gziped.sub.html.ini b/testing/web-platform/meta/fetch/orb/tentative/script-js-unlabeled-gziped.sub.html.ini
new file mode 100644
index 0000000000..de29ba55e7
--- /dev/null
+++ b/testing/web-platform/meta/fetch/orb/tentative/script-js-unlabeled-gziped.sub.html.ini
@@ -0,0 +1,3 @@
+[script-js-unlabeled-gziped.sub.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/fetch/orb/tentative/script-unlabeled.sub.html.ini b/testing/web-platform/meta/fetch/orb/tentative/script-unlabeled.sub.html.ini
new file mode 100644
index 0000000000..9b534ba160
--- /dev/null
+++ b/testing/web-platform/meta/fetch/orb/tentative/script-unlabeled.sub.html.ini
@@ -0,0 +1,3 @@
+[script-unlabeled.sub.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/fetch/orb/tentative/status.sub.any.js.ini b/testing/web-platform/meta/fetch/orb/tentative/status.sub.any.js.ini
new file mode 100644
index 0000000000..60b0794d77
--- /dev/null
+++ b/testing/web-platform/meta/fetch/orb/tentative/status.sub.any.js.ini
@@ -0,0 +1,24 @@
+[status.sub.any.html]
+ prefs: [browser.opaqueResponseBlocking:true,
+ browser.opaqueResponseBlocking.filterFetchResponse:2]
+
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
+ [ORB should block opaque-response-blocklisted MIME type with status 206]
+ expected: FAIL
+
+ [ORB should block opaque response with non-ok status]
+ expected: FAIL
+
+
+[status.sub.any.worker.html]
+ prefs: [browser.opaqueResponseBlocking:true,
+ browser.opaqueResponseBlocking.filterFetchResponse:2]
+
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
+ [ORB should block opaque-response-blocklisted MIME type with status 206]
+ expected: FAIL
+
+ [ORB should block opaque response with non-ok status]
+ expected: FAIL
diff --git a/testing/web-platform/meta/fetch/orb/tentative/status.sub.html.ini b/testing/web-platform/meta/fetch/orb/tentative/status.sub.html.ini
new file mode 100644
index 0000000000..e5e9ca3387
--- /dev/null
+++ b/testing/web-platform/meta/fetch/orb/tentative/status.sub.html.ini
@@ -0,0 +1,3 @@
+[status.sub.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/fetch/orb/tentative/unknown-mime-type.sub.any.js.ini b/testing/web-platform/meta/fetch/orb/tentative/unknown-mime-type.sub.any.js.ini
new file mode 100644
index 0000000000..e4818080cb
--- /dev/null
+++ b/testing/web-platform/meta/fetch/orb/tentative/unknown-mime-type.sub.any.js.ini
@@ -0,0 +1,7 @@
+[unknown-mime-type.sub.any.worker.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
+
+[unknown-mime-type.sub.any.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]