Chromium Code Reviews
DescriptionServiceWorker: Ensure that ServiceWorkerDispatcher always adopts passed handle references (1)
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 related to registration association. The
rest of the handlers will be treated in the subsequent CL.
BUG=557655
Committed: https://crrev.com/4524454748a8676fdd6f1beae30810e4b0c13cac
Cr-Commit-Position: refs/heads/master@{#360762}
Patch Set 1 : #
Total comments: 8
Patch Set 2 : rebase #Patch Set 3 : address comments #
Messages
Total messages: 21 (14 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||