DescriptionDon't use ServiceWorkerContainer.unregister in service_worker_unregister_and_register
Another step toward removing the deprecated ServiceWorkerContainer.unregister.
service_worker_unregister_and_register is the biggest consumer of it in our
tests.
Now to unregister, the function first registers at that scope to get a
registration, then calls unregister on it. This only works with registrations
that cleanly install, which is the most common use case.
BUG=404064
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=180426
Patch Set 1 #
Total comments: 6
Patch Set 2 : sync #Patch Set 3 : review comments #
Total comments: 1
Messages
Total messages: 6 (0 generated)
|