summaryrefslogtreecommitdiffstats
path: root/dom/workers/test/serviceworkers/sanitize/register.html
blob: f1edd27be8aa0899f82aef167a02ad05d97862ce (plain)
1
2
3
4
5
6
7
8
9
10
<!DOCTYPE html>
<script>
  function done() {
    parent.postMessage('', '*');
  }

  navigator.serviceWorker.ready.then(done);
  navigator.serviceWorker.register("../sanitize_worker.js", {scope: "."});
</script>