summaryrefslogtreecommitdiff
path: root/toolkit/components/extensions/test/mochitest/file_script_xhr.js
diff options
context:
space:
mode:
Diffstat (limited to 'toolkit/components/extensions/test/mochitest/file_script_xhr.js')
-rw-r--r--toolkit/components/extensions/test/mochitest/file_script_xhr.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/toolkit/components/extensions/test/mochitest/file_script_xhr.js b/toolkit/components/extensions/test/mochitest/file_script_xhr.js
new file mode 100644
index 0000000000..07f80eb2ea
--- /dev/null
+++ b/toolkit/components/extensions/test/mochitest/file_script_xhr.js
@@ -0,0 +1,5 @@
+"use strict";
+
+var request = new XMLHttpRequest();
+request.open("get", "http://mochi.test:8888/tests/toolkit/components/extensions/test/mochitest/xhr_resource", false);
+request.send();