summaryrefslogtreecommitdiffstats
path: root/browser/base/content/test/tabs/request-timeout.sjs
diff options
context:
space:
mode:
Diffstat (limited to 'browser/base/content/test/tabs/request-timeout.sjs')
-rw-r--r--browser/base/content/test/tabs/request-timeout.sjs8
1 files changed, 8 insertions, 0 deletions
diff --git a/browser/base/content/test/tabs/request-timeout.sjs b/browser/base/content/test/tabs/request-timeout.sjs
new file mode 100644
index 0000000000..00e95ca4c0
--- /dev/null
+++ b/browser/base/content/test/tabs/request-timeout.sjs
@@ -0,0 +1,8 @@
+/* Any copyright is dedicated to the Public Domain.
+ http://creativecommons.org/publicdomain/zero/1.0/ */
+
+"use strict";
+
+async function handleRequest(request, response) {
+ response.setStatusLine("1.1", 408, "Request Timeout");
+}