summaryrefslogtreecommitdiffstats
path: root/testing/xpcshell/moz-http2/moz-http2.js
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-21 18:35:44 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-21 18:35:44 +0000
commitc0db95d3dda1865d4c6bf0666b0e7439b40b9bf2 (patch)
tree74359a4b4954f9380cb0fb23b59f0c53d9355f5d /testing/xpcshell/moz-http2/moz-http2.js
parentReleasing progress-linux version 115.9.1esr-1~deb12u1progress7u1. (diff)
downloadfirefox-esr-c0db95d3dda1865d4c6bf0666b0e7439b40b9bf2.tar.xz
firefox-esr-c0db95d3dda1865d4c6bf0666b0e7439b40b9bf2.zip
Merging upstream version 115.10.0esr.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r--testing/xpcshell/moz-http2/moz-http2.js10
1 files changed, 10 insertions, 0 deletions
diff --git a/testing/xpcshell/moz-http2/moz-http2.js b/testing/xpcshell/moz-http2/moz-http2.js
index 334ccd8e1c..1b602e88bb 100644
--- a/testing/xpcshell/moz-http2/moz-http2.js
+++ b/testing/xpcshell/moz-http2/moz-http2.js
@@ -824,6 +824,16 @@ function handleRequest(req, res) {
});
push.writeHead(200, pushResponseHeaders);
push.end("ok");
+ } else if (u.pathname === "/hugecontinuedheaders") {
+ for (let i = 0; i < u.query.size; i++) {
+ res.setHeader(
+ "X-Test-Header-" + i,
+ "ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789".repeat(1024)
+ );
+ }
+ res.writeHead(200);
+ res.end(content);
+ return;
} else if (u.pathname === "/altsvc1") {
if (
req.httpVersionMajor != 2 ||