summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/meta/fetch/h1-parsing
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 09:22:09 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 09:22:09 +0000
commit43a97878ce14b72f0981164f87f2e35e14151312 (patch)
tree620249daf56c0258faa40cbdcf9cfba06de2a846 /testing/web-platform/meta/fetch/h1-parsing
parentInitial commit. (diff)
downloadfirefox-43a97878ce14b72f0981164f87f2e35e14151312.tar.xz
firefox-43a97878ce14b72f0981164f87f2e35e14151312.zip
Adding upstream version 110.0.1.upstream/110.0.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/web-platform/meta/fetch/h1-parsing')
-rw-r--r--testing/web-platform/meta/fetch/h1-parsing/__dir__.ini1
-rw-r--r--testing/web-platform/meta/fetch/h1-parsing/lone-cr.window.js.ini31
-rw-r--r--testing/web-platform/meta/fetch/h1-parsing/resources-with-0x00-in-header.window.js.ini11
-rw-r--r--testing/web-platform/meta/fetch/h1-parsing/status-code.window.js.ini36
4 files changed, 79 insertions, 0 deletions
diff --git a/testing/web-platform/meta/fetch/h1-parsing/__dir__.ini b/testing/web-platform/meta/fetch/h1-parsing/__dir__.ini
new file mode 100644
index 0000000000..20fc98f0ef
--- /dev/null
+++ b/testing/web-platform/meta/fetch/h1-parsing/__dir__.ini
@@ -0,0 +1 @@
+leak-threshold: [default:3020800]
diff --git a/testing/web-platform/meta/fetch/h1-parsing/lone-cr.window.js.ini b/testing/web-platform/meta/fetch/h1-parsing/lone-cr.window.js.ini
new file mode 100644
index 0000000000..1516da5e07
--- /dev/null
+++ b/testing/web-platform/meta/fetch/h1-parsing/lone-cr.window.js.ini
@@ -0,0 +1,31 @@
+[lone-cr.window.html]
+ [Parsing response with a lone CR before message-body (HTTP/1.1\r200 OK\n\nBODY)]
+ expected: FAIL
+
+ [Parsing response with a lone CR before message-body (HTTP/1.1 200\rOK\n\nBODY)]
+ expected: FAIL
+
+ [Parsing response with a lone CR before message-body (HTTP/1.1 200 OK\n\rHeader: Value\n\nBODY)]
+ expected: FAIL
+
+ [Parsing response with a lone CR before message-body (HTTP/1.1 200 OK\nHeader\r: Value\n\nBODY)]
+ expected: FAIL
+
+ [Parsing response with a lone CR before message-body (HTTP/1.1 200 OK\nHeader:\r Value\n\nBODY)]
+ expected: FAIL
+
+ [Parsing response with a lone CR before message-body (HTTP/1.1 200 OK\nHeader: Value\r\n\nBody)]
+ expected: FAIL
+
+ [Parsing response with a lone CR before message-body (HTTP/1.1 200 OK\nHeader: Value\r\r\nBODY)]
+ expected: FAIL
+
+ [Parsing response with a lone CR before message-body (HTTP/1.1 200 OK\nHeader: Value\rHeader2: Value2\n\nBODY)]
+ expected: FAIL
+
+ [Parsing response with a lone CR before message-body (HTTP/1.1 200 OK\nHeader: Value\n\rBODY)]
+ expected: FAIL
+
+ [Parsing response with a lone CR before message-body (HTTP/1.1 200 OK\nHeader: Value\n\r)]
+ expected: FAIL
+
diff --git a/testing/web-platform/meta/fetch/h1-parsing/resources-with-0x00-in-header.window.js.ini b/testing/web-platform/meta/fetch/h1-parsing/resources-with-0x00-in-header.window.js.ini
new file mode 100644
index 0000000000..130d030e98
--- /dev/null
+++ b/testing/web-platform/meta/fetch/h1-parsing/resources-with-0x00-in-header.window.js.ini
@@ -0,0 +1,11 @@
+[resources-with-0x00-in-header.window.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
+ [Expect network error for image with 0x00 in a header]
+ expected: FAIL
+
+ [Expect network error for frame navigation to resource with 0x00 in a header]
+ expected: FAIL
+
+ [Expect network error for script with 0x00 in a header]
+ expected: FAIL
diff --git a/testing/web-platform/meta/fetch/h1-parsing/status-code.window.js.ini b/testing/web-platform/meta/fetch/h1-parsing/status-code.window.js.ini
new file mode 100644
index 0000000000..43b780fa7e
--- /dev/null
+++ b/testing/web-platform/meta/fetch/h1-parsing/status-code.window.js.ini
@@ -0,0 +1,36 @@
+[status-code.window.html]
+ expected:
+ if (os == "android") and debug and fission: [TIMEOUT, OK]
+ if (os == "android") and debug and not fission: [OK, TIMEOUT]
+ [HTTP/1.1 (network error)]
+ expected: FAIL
+
+ [HTTP/1.1 BLAH (network error)]
+ expected: FAIL
+
+ [HTTP/1.1 0 OK ]
+ expected: FAIL
+
+ [HTTP/1.1 200 ]
+ expected: FAIL
+
+ [HTTP/1.1 1000 BOO (network error)]
+ expected: FAIL
+
+ [HTTP/1.1 0200 BOO (network error)]
+ expected: FAIL
+
+ [HTTP/1.1 65736 NOT 200 OR SOME SUCH (network error)]
+ expected: FAIL
+
+ [HTTP/1.1 131072 HI (network error)]
+ expected: FAIL
+
+ [HTTP/1.1 -200 TEST (network error)]
+ expected: FAIL
+
+ [HTTP/1.1 0xA (network error)]
+ expected: FAIL
+
+ [HTTP/1.1 C8 (network error)]
+ expected: FAIL