Example icon indicating copy to clipboard operation
Example copied to clipboard

Fix worker code, add version updates

Open rohiievych opened this issue 4 years ago • 0 comments

Refs: #85

  • Fix existing errors related to service worker
  • Add content version updates
  • Refactor service worker code

Fixed errors: worker.js:15 Uncaught (in promise) DOMException: Failed to execute 'waitUntil' on 'ExtendableEvent': The event handler is already finished and no extend lifetime promises are outstanding. at http://localhost:8001/worker.js:15:9 (closes #85)

Uncaught (in promise) TypeError: Failed to execute 'put' on 'Cache': Request scheme 'chrome-extension' is unsupported at worker.js:23 (escaleted if user has requests to extensions)

rohiievych avatar Jul 08 '21 19:07 rohiievych