hackerweb icon indicating copy to clipboard operation
hackerweb copied to clipboard

service-worker.js should ignore requests where URL has chrome-extension scheme:

Open Leftium opened this issue 3 years ago • 0 comments

I think service-worker.js should ignore requests where the URL has chrome-extension scheme. Otherwise this error might happen:

service-worker.js:19 Uncaught (in promise) TypeError: Failed to execute 'put' on 'Cache': Request scheme 'chrome-extension' is unsupported

To reproduce, you may need to install this Chrome extension: https://chrome.google.com/webstore/detail/singlefile/mpiodijhokgodhhofbcjdecpffjipkle?hl=en

image

Leftium avatar May 07 '22 12:05 Leftium