DescriptionServiceWorker: Prevent premature garbage collection on ServiceWorkerRegistration
Before this patch, the ServiceWorkerRegistration object could be garbage
collected prematurely and it caused renderer crash.
This change keeps the registration object alive until stop() is called, and
notifies WebServiceWorkerRegistration of the stop event.
BUG=396400
TEST=https://codereview.chromium.org/466723002/
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=180265
Patch Set 1 #Patch Set 2 : rebase #
Messages
Total messages: 11 (0 generated)
|