summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/meta/fetch/range
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/fetch/range
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/fetch/range')
-rw-r--r--testing/web-platform/meta/fetch/range/__dir__.ini1
-rw-r--r--testing/web-platform/meta/fetch/range/blob.any.js.ini158
-rw-r--r--testing/web-platform/meta/fetch/range/general.any.js.ini26
-rw-r--r--testing/web-platform/meta/fetch/range/general.window.js.ini3
-rw-r--r--testing/web-platform/meta/fetch/range/non-matching-range-response.html.ini3
-rw-r--r--testing/web-platform/meta/fetch/range/sw.https.window.js.ini41
6 files changed, 232 insertions, 0 deletions
diff --git a/testing/web-platform/meta/fetch/range/__dir__.ini b/testing/web-platform/meta/fetch/range/__dir__.ini
new file mode 100644
index 0000000000..5d5117cb7e
--- /dev/null
+++ b/testing/web-platform/meta/fetch/range/__dir__.ini
@@ -0,0 +1 @@
+leak-threshold: [default:51200, rdd:51200, tab:358400]
diff --git a/testing/web-platform/meta/fetch/range/blob.any.js.ini b/testing/web-platform/meta/fetch/range/blob.any.js.ini
new file mode 100644
index 0000000000..64ef26cc79
--- /dev/null
+++ b/testing/web-platform/meta/fetch/range/blob.any.js.ini
@@ -0,0 +1,158 @@
+[blob.any.worker.html]
+ [A simple blob range request.]
+ expected: FAIL
+
+ [A blob range request with no end.]
+ expected: FAIL
+
+ [A blob range request with no start.]
+ expected: FAIL
+
+ [A simple blob range request with whitespace.]
+ expected: FAIL
+
+ [Blob content with short content and a large range end]
+ expected: FAIL
+
+ [Blob range request with multiple range values]
+ expected: FAIL
+
+ [Blob range request with multiple range values and whitespace]
+ expected: FAIL
+
+ [Blob range request with trailing comma]
+ expected: FAIL
+
+ [Blob range with no start or end]
+ expected: FAIL
+
+ [Blob range request with short range end]
+ expected: FAIL
+
+ [Blob range start should be an ASCII digit]
+ expected: FAIL
+
+ [Blob range should have a dash]
+ expected: FAIL
+
+ [Blob range end should be an ASCII digit]
+ expected: FAIL
+
+ [Blob range should include '-']
+ expected: FAIL
+
+ [Blob range should include '=']
+ expected: FAIL
+
+ [Blob range should include 'bytes=']
+ expected: FAIL
+
+ [Blob content with short content and a large range start]
+ expected: FAIL
+
+ [Blob content with short content and a range end matching content length]
+ expected: FAIL
+
+ [Blob range with whitespace before and after hyphen]
+ expected: FAIL
+
+ [Blob range with whitespace after hyphen]
+ expected: FAIL
+
+ [Blob range with whitespace around equals sign]
+ expected: FAIL
+
+ [Blob range with no value]
+ expected: FAIL
+
+ [Blob range with incorrect range header]
+ expected: FAIL
+
+ [Blob range with incorrect range header #2]
+ expected: FAIL
+
+ [Blob range with incorrect range header #3]
+ expected: FAIL
+
+ [Blob content with short content and a range start matching the content length]
+ expected: FAIL
+
+
+[blob.any.html]
+ [A simple blob range request.]
+ expected: FAIL
+
+ [A blob range request with no end.]
+ expected: FAIL
+
+ [A blob range request with no start.]
+ expected: FAIL
+
+ [A simple blob range request with whitespace.]
+ expected: FAIL
+
+ [Blob content with short content and a large range end]
+ expected: FAIL
+
+ [Blob range request with multiple range values]
+ expected: FAIL
+
+ [Blob range request with multiple range values and whitespace]
+ expected: FAIL
+
+ [Blob range request with trailing comma]
+ expected: FAIL
+
+ [Blob range with no start or end]
+ expected: FAIL
+
+ [Blob range request with short range end]
+ expected: FAIL
+
+ [Blob range start should be an ASCII digit]
+ expected: FAIL
+
+ [Blob range should have a dash]
+ expected: FAIL
+
+ [Blob range end should be an ASCII digit]
+ expected: FAIL
+
+ [Blob range should include '-']
+ expected: FAIL
+
+ [Blob range should include '=']
+ expected: FAIL
+
+ [Blob range should include 'bytes=']
+ expected: FAIL
+
+ [Blob content with short content and a large range start]
+ expected: FAIL
+
+ [Blob content with short content and a range end matching content length]
+ expected: FAIL
+
+ [Blob range with whitespace before and after hyphen]
+ expected: FAIL
+
+ [Blob range with whitespace after hyphen]
+ expected: FAIL
+
+ [Blob range with whitespace around equals sign]
+ expected: FAIL
+
+ [Blob range with no value]
+ expected: FAIL
+
+ [Blob range with incorrect range header]
+ expected: FAIL
+
+ [Blob range with incorrect range header #2]
+ expected: FAIL
+
+ [Blob range with incorrect range header #3]
+ expected: FAIL
+
+ [Blob content with short content and a range start matching the content length]
+ expected: FAIL
diff --git a/testing/web-platform/meta/fetch/range/general.any.js.ini b/testing/web-platform/meta/fetch/range/general.any.js.ini
new file mode 100644
index 0000000000..365411025d
--- /dev/null
+++ b/testing/web-platform/meta/fetch/range/general.any.js.ini
@@ -0,0 +1,26 @@
+[general.any.worker.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
+ [Cross Origin Fetch with safe range header]
+ expected: FAIL
+
+
+[general.any.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
+ [Cross Origin Fetch with safe range header]
+ expected: FAIL
+
+
+[general.any.sharedworker.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
+ [Cross Origin Fetch with safe range header]
+ expected: FAIL
+
+
+[general.any.serviceworker.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
+ [Cross Origin Fetch with safe range header]
+ expected: FAIL
diff --git a/testing/web-platform/meta/fetch/range/general.window.js.ini b/testing/web-platform/meta/fetch/range/general.window.js.ini
new file mode 100644
index 0000000000..6d8706cdeb
--- /dev/null
+++ b/testing/web-platform/meta/fetch/range/general.window.js.ini
@@ -0,0 +1,3 @@
+[general.window.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/fetch/range/non-matching-range-response.html.ini b/testing/web-platform/meta/fetch/range/non-matching-range-response.html.ini
new file mode 100644
index 0000000000..ac2139a698
--- /dev/null
+++ b/testing/web-platform/meta/fetch/range/non-matching-range-response.html.ini
@@ -0,0 +1,3 @@
+[non-matching-range-response.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/fetch/range/sw.https.window.js.ini b/testing/web-platform/meta/fetch/range/sw.https.window.js.ini
new file mode 100644
index 0000000000..8b81b73f7e
--- /dev/null
+++ b/testing/web-platform/meta/fetch/range/sw.https.window.js.ini
@@ -0,0 +1,41 @@
+[sw.https.window.html]
+ prefs: [browser.opaqueResponseBlocking:true]
+ disabled:
+ if asan and (os == "linux") and (bits == 64): https://bugzilla.mozilla.org/show_bug.cgi?id=1509373
+ if win10_2004 and debug: https://bugzilla.mozilla.org/show_bug.cgi?id=1746958
+ max-asserts: 2
+ expected: TIMEOUT
+ [Ranged response not allowed following no-cors ranged request]
+ expected:
+ if os == "android": FAIL
+ if os == "win": FAIL
+ [FAIL, PASS]
+
+ [Non-opaque ranged response executed]
+ expected:
+ if processor == "x86": [FAIL, TIMEOUT]
+ FAIL
+
+ [Accept-Encoding should not appear in a service worker]
+ expected:
+ if processor == "x86": [PASS, NOTRUN]
+
+ [Defer range header filter tests to service worker]
+ expected: TIMEOUT
+
+ [Defer range header passthrough tests to service worker]
+ expected: NOTRUN
+
+ [Ranged response not allowed following no-cors ranged request]
+ expected: NOTRUN
+
+ [Non-opaque ranged response executed]
+ expected: NOTRUN
+
+ [Accept-Encoding should not appear in a service worker]
+ expected: NOTRUN
+
+ [Opaque range preload successes and failures should be indistinguishable]
+ expected:
+ if win11_2009: NOTRUN
+ [NOTRUN, TIMEOUT]