DescriptionService Worker: in Unregister, wait until after the active worker no longer controls a document
As per spec: https://slightlyoff.github.io/ServiceWorker/spec/service_worker/index.html#unregister-algorithm
Unregister shouldn't doom the active worker or delete the registration until
the active worker no longer controls a document. This means that if register()
is called before that happens, the unregistration is effectively canceled.
BUG=388095
TEST=https://codereview.chromium.org/416003003/
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=288994
Patch Set 1 #
Total comments: 3
Patch Set 2 : delete/restore from storage #
Total comments: 3
Patch Set 3 : rebase and merge #
Total comments: 2
Patch Set 4 : better merge #
Total comments: 2
Patch Set 5 : sync #Patch Set 6 : cleanups #Patch Set 7 : more cleanup #
Total comments: 20
Patch Set 8 : sync #Patch Set 9 : address comments #
Total comments: 1
Messages
Total messages: 20 (0 generated)
|