service worker: Return a status for the *ExternalRequest methods.
The caller-side in extensions may want to take different actions depending on how things failed. Per discussion at: https://chromium-review.googlesource.com/c/chromium/src/+/1763560 There is no behavioral change yet except that the Stop* function no longer fails if the worker is STOPPING. There's no reason to fail there, we can just finish the request as requested. Bug: 999027, 824858 Change-Id: Ib04cd671e99af6afd082562d13c9677772894c26 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1792518 Commit-Queue: Matt Falkenhagen <falken@chromium.org> Reviewed-by:Istiaque Ahmed <lazyboy@chromium.org> Cr-Commit-Position: refs/heads/master@{#695382}
Showing
Please register or sign in to comment