summaryrefslogtreecommitdiffstats
path: root/dom/tests/mochitest/beacon/file_beaconCookies.html
diff options
context:
space:
mode:
Diffstat (limited to 'dom/tests/mochitest/beacon/file_beaconCookies.html')
-rw-r--r--dom/tests/mochitest/beacon/file_beaconCookies.html8
1 files changed, 8 insertions, 0 deletions
diff --git a/dom/tests/mochitest/beacon/file_beaconCookies.html b/dom/tests/mochitest/beacon/file_beaconCookies.html
new file mode 100644
index 0000000000..aeecb2263e
--- /dev/null
+++ b/dom/tests/mochitest/beacon/file_beaconCookies.html
@@ -0,0 +1,8 @@
+<!DOCTYPE HTML>
+<script class="testbody" type="text/javascript">
+
+var beaconUrl = "http://mochi.test:8888/chrome/dom/tests/mochitest/beacon/beacon-set-cookie.sjs";
+
+navigator.sendBeacon(beaconUrl, "ceci n'est pas une demande");
+
+</script>