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.sjs6
1 files changed, 6 insertions, 0 deletions
diff --git a/dom/base/test/file_bug622088.sjs b/dom/base/test/file_bug622088.sjs
new file mode 100644
index 000000000..8619f10b1
--- /dev/null
+++ b/dom/base/test/file_bug622088.sjs
@@ -0,0 +1,6 @@
+function handleRequest(request, response)
+{
+ // Echos the referrer back to the requester.
+ response.setHeader('Content-Type', 'text/plain', false);
+ response.write(request.getHeader('Referer'));
+}