summaryrefslogtreecommitdiffstats
path: root/dom/base/test/file_bug622088.sjs
diff options
context:
space:
mode:
Diffstat (limited to 'dom/base/test/file_bug622088.sjs')
-rw-r--r--dom/base/test/file_bug622088.sjs5
1 files changed, 5 insertions, 0 deletions
diff --git a/dom/base/test/file_bug622088.sjs b/dom/base/test/file_bug622088.sjs
new file mode 100644
index 0000000000..87acdc3b8b
--- /dev/null
+++ b/dom/base/test/file_bug622088.sjs
@@ -0,0 +1,5 @@
+function handleRequest(request, response) {
+ // Echos the referrer back to the requester.
+ response.setHeader("Content-Type", "text/plain", false);
+ response.write(request.getHeader("Referer"));
+}