DescriptionServiceWorker: Stop a worker thread on unregistration
ServiceWorker is designed to delay stopping the worker thread (30 sec) when all
controlled documents are closed so that the next navigation can save the startup
time.
In the current code, this improvement also applies to the unregistration with no
controllees, but in that case we should immediately stop the thread because the
worker doesn't work anymore.
BUG=392735, 393127
TEST=content_unittests --gtest_filter=ServiceWorker*
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=282922
Patch Set 1 #Patch Set 2 : modify unittests #
Messages
Total messages: 8 (0 generated)
|