Call ServiceWorker deletion callback early in case of error
ServiceWorker deletion consists of two steps: unregistration and deletion. If there is an error during unregistration, the deletion might not occur. To catch this error and avoid waiting infinitely for deletion, the error is reported immediately, ignoring all remaining expected calls. Bug: 927474 Change-Id: Ic71c8957e9cb6b78f4e2a54c25d450d74ef771bc Reviewed-on: https://chromium-review.googlesource.com/c/1454549 Commit-Queue: Christian Dullweber <dullweber@chromium.org> Reviewed-by:Matt Falkenhagen <falken@chromium.org> Cr-Commit-Position: refs/heads/master@{#629526}
Showing
Please register or sign in to comment