summaryrefslogtreecommitdiffstats
path: root/dom/tests/mochitest/beacon/file_beaconSafelist.html
blob: 0079ed5074712e1207da28a6791f9090ccf6d0ef (plain)
1
2
3
4
5
6
7
8
9
10
11
<!DOCTYPE HTML>
<script class="testbody" type="text/javascript">

var beaconUrl = "http://example.com/tests/dom/tests/mochitest/beacon/beacon-handler.sjs?beacon";

var value = ["text"];
var blob = new Blob(value, {type: "application/x-www-form-urlencoded"});
navigator.sendBeacon(beaconUrl, blob);
var intervalID = null;

</script>