Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix worker code, add version updates #141

Closed
wants to merge 2 commits into from
Closed

Fix worker code, add version updates #141

wants to merge 2 commits into from

Conversation

rohiievych
Copy link
Member

@rohiievych rohiievych commented Jul 8, 2021

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)

application/static/worker.js Outdated Show resolved Hide resolved
application/static/worker.js Outdated Show resolved Hide resolved
@tshemsedinov tshemsedinov changed the title service-worker: fix and refactor worker code, add content version updates, closes #85 Fix worker code, add version updates Jul 8, 2021
@rohiievych rohiievych closed this by deleting the head repository Jan 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

First worker initialization throws
2 participants