summaryrefslogtreecommitdiffstats
path: root/browser/components/preferences/tests/siteData/service_worker_test.html
blob: 56f517348162f0c5e954848d08ef0a2c3597461d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <meta http-equiv="Cache-Control" content="public" />
    <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1, maximum-scale=1">

    <title>Service Worker Test</title>

  </head>

  <body>
    <h1>Service Worker Test</h1>
    <script type="text/javascript">
      navigator.serviceWorker.register("service_worker_test.js")
               .then(regis => document.body.setAttribute("data-test-service-worker-registered", "true"));
    </script>
  </body>
</html>