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