file_beaconSafelist.html (332B)
1 <!DOCTYPE HTML> 2 <script class="testbody" type="text/javascript"> 3 4 var beaconUrl = "http://example.com/tests/dom/tests/mochitest/beacon/beacon-handler.sjs?beacon"; 5 6 var value = ["text"]; 7 var blob = new Blob(value, {type: "application/x-www-form-urlencoded"}); 8 navigator.sendBeacon(beaconUrl, blob); 9 var intervalID = null; 10 11 </script>