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