New issue
Advanced search Search tips

Issue 642646 link

Starred by 1 user

Issue metadata

Status: Available
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 2
Type: Bug



Sign in to add a comment

More subtleties around activation and unregister

Project Member Reported by falken@chromium.org, Aug 31 2016

Issue description

Spin off of  issue 616331 

See comment #24 and #25:

Comment 24 by bkelly@mozilla.com, Aug 3
By the way, I found another issue related to this.  Its possible you already cover it, but I wanted to bring it to your attention.  I wrote it up on the spec issue:

https://github.com/slightlyoff/ServiceWorker/issues/916#issuecomment-237272060

Just cross posting here since I know github email can easily get lost.


Comment 25 by bkelly@mozilla.com, Aug 4
Another issue I ran into:

Do you delay activation if the current .active worker is still in the activating state?  For example, do you wait for the activate event to finish processing?

It seems like we must since we could potentially have functional events queued up to fire after the activate event finishes.


 

Comment 1 by bke...@mozilla.com, Aug 31 2016

For what its worth, I wrote a WPT test case for the uninstalling case:

https://dxr.mozilla.org/mozilla-central/source/testing/web-platform/tests/service-workers/service-worker/activation.https.html#149

Just FYI to avoid duplicate work.  If you don't see the test in the upstream WPT repo when you go to work this, please let me know.  I'll ping jgraham to do an uplift.
Cc: falken@chromium.org
Owner: ----
Status: Available (was: Assigned)

Sign in to add a comment