summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/meta/fetch/h1-parsing
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/meta/fetch/h1-parsing')
-rw-r--r--testing/web-platform/meta/fetch/h1-parsing/__dir__.ini2
-rw-r--r--testing/web-platform/meta/fetch/h1-parsing/lone-cr.window.js.ini27
-rw-r--r--testing/web-platform/meta/fetch/h1-parsing/resources-with-0x00-in-header.window.js.ini3
-rw-r--r--testing/web-platform/meta/fetch/h1-parsing/status-code.window.js.ini4
4 files changed, 36 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..27fe8837e3
--- /dev/null
+++ b/testing/web-platform/meta/fetch/h1-parsing/__dir__.ini
@@ -0,0 +1,2 @@
+leak-threshold: [default:3020800]
+prefs: [network.http.strict_response_status_line_parsing:true]
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..9f27700910
--- /dev/null
+++ b/testing/web-platform/meta/fetch/h1-parsing/lone-cr.window.js.ini
@@ -0,0 +1,27 @@
+[lone-cr.window.html]
+ [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..0ad1c1c70d
--- /dev/null
+++ b/testing/web-platform/meta/fetch/h1-parsing/resources-with-0x00-in-header.window.js.ini
@@ -0,0 +1,3 @@
+[resources-with-0x00-in-header.window.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
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..af190b81d1
--- /dev/null
+++ b/testing/web-platform/meta/fetch/h1-parsing/status-code.window.js.ini
@@ -0,0 +1,4 @@
+[status-code.window.html]
+ expected:
+ if (os == "android") and debug and fission: [TIMEOUT, OK]
+ if (os == "android") and debug and not fission: [OK, TIMEOUT]