summaryrefslogtreecommitdiffstats
path: root/dom/serviceworkers/test/sanitize_worker.js
blob: efd25a3856dcccc0a9dffc8acd96b9d7f1a13cbb (plain)
1
2
3
4
5
onfetch = function(e) {
  if (e.request.url.includes("intercept-this")) {
    e.respondWith(new Response("intercepted"));
  }
};