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

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