DescriptionOilpan: dispose ServiceWorker (and registration) objects earlier.
It is unsafe to keep a ServiceWorker registered with the embedder once
it has been determined to be unreachable by the garbage collector, but
not yet finalized, as it cannot be assumed to be in a valid state beyond
that point.
Hence, we detach and unregister the object during a pre-finalization step.
The same lifetime issue applies to ServiceWorkerRegistration, so extend
the same treatment to it also.
R=haraken
BUG=451692
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=188949
Patch Set 1 #
Total comments: 9
Patch Set 2 : tidying #
Messages
Total messages: 11 (3 generated)
|