devtools/client/netmonitor/test/html_send-beacon.html
author criss <ccozmuta@mozilla.com>
Wed, 19 Jan 2022 11:33:10 +0200
changeset 604861 192e73e7c91313c09603efd1650931b917746bf4
parent 409599 2247b1e7324fa8d60fbc71126cc500fb6672e942
permissions -rw-r--r--
Merge autoland to mozilla-central. a=merge

<!-- Any copyright is dedicated to the Public Domain.
     http://creativecommons.org/publicdomain/zero/1.0/ -->
<!doctype html>

<html>
  <head>
    <meta charset="utf-8"/>
    <meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" />
    <meta http-equiv="Pragma" content="no-cache" />
    <meta http-equiv="Expires" content="0" />
    <title>Network Monitor test page</title>
  </head>

  <body>
    <p>Send beacon test</p>

    <script type="text/javascript">
    /* exported performRequests */
    "use strict";

    function performRequests() {
      navigator.sendBeacon("beacon_request");
    }
    </script>
  </body>
</html>