Chromium Code Reviews
Description[M53] service 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
Review-Url: https://codereview.chromium.org/2114893002
Cr-Commit-Position: refs/heads/master@{#403632}
(cherry picked from commit 9ed9574ae81390911dd582a0d5a49a4c0430eafa)
Committed: https://chromium.googlesource.com/chromium/src/+/802c9e886637e00ee90de9b139c233e26f0f56af
Patch Set 1 #
Messages
Total messages: 2 (1 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||