summaryrefslogtreecommitdiffstats
path: root/dom/browser-element/mochitest/file_download_bin.sjs
diff options
context:
space:
mode:
Diffstat (limited to 'dom/browser-element/mochitest/file_download_bin.sjs')
-rw-r--r--dom/browser-element/mochitest/file_download_bin.sjs4
1 files changed, 4 insertions, 0 deletions
diff --git a/dom/browser-element/mochitest/file_download_bin.sjs b/dom/browser-element/mochitest/file_download_bin.sjs
new file mode 100644
index 000000000..fd394ea0a
--- /dev/null
+++ b/dom/browser-element/mochitest/file_download_bin.sjs
@@ -0,0 +1,4 @@
+function handleRequest(request, response) {
+ response.setHeader("Content-Type", "application/octet-stream", false);
+ response.write("BIN");
+} \ No newline at end of file