summaryrefslogtreecommitdiffstats
path: root/toolkit/components/extensions/test/mochitest/file_serviceWorker.html
blob: d2b99769cc08bc28f59b4830892bc9189930777a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <script>
      "use strict";

      navigator.serviceWorker.register("serviceWorker.js").then(() => {
        window.postMessage("serviceWorkerRegistered", "*");
      });
    </script>
  </head>
  <body>
    This is a test page.
  </body>
<html>