Chromium Code Reviews
DescriptionServiceWorker: Ensure that ServiceWorkerDispatcher always adopts passed handle references (2)
Some message handlers on ServiceWorkerDispatcher receive registration/worker
handle references sent from the browser process. Those should surely be
adopted by the dispatcher but not in some early-return cases. This means that
handles in the browser process are leaked until renderer shutdown.
This CL ensures that the dispatcher always adopts passed handle references at
the beginning of message handlers.
Previous CL: https://codereview.chromium.org/1454963003
BUG=557655
Committed: https://crrev.com/7078fc1b5f057ee0f7a4fee34718830eb5e1204a
Cr-Commit-Position: refs/heads/master@{#361593}
Patch Set 1 : #Patch Set 2 : fix test #
Messages
Total messages: 11 (6 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||