Chromium Code Reviews
Descriptionservice worker: Clean up the fetch event request if URLRequest gets cancelled.
Before this patch, an inflight fetch event would never be
finished, since the request being cancelled results in the
URLRequestJob being destroyed, so the the response callback
is never called. Eventually the event would timeout, but this
is an error state that terminates the worker. It's better to
listen for the response and finish the request cleanly.
BUG=616331
Committed: https://crrev.com/9ed9574ae81390911dd582a0d5a49a4c0430eafa
Cr-Commit-Position: refs/heads/master@{#403632}
Patch Set 1 #Patch Set 2 : fmt #Patch Set 3 : revise #
Messages
Total messages: 11 (6 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||