[ESW] Ignore FinishExternalRequest result for stopped worker's event ack.
If a worker stops right after it sends an extension event ack, decrementing ref count (FinishExternalRequest) can fail in the browser process. This happens if the browser process has already dropped knowledge about the worker. Ignore FinishExternalRequest's result in this case, after examining the worker's status in ProcessManager. This reduces flaky failures of ServiceWorkerTest.Update(Un)PackedExtension tests. Bug: 999027 Change-Id: Iad0287067eff0feab7cf64ff21768c204009969c Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1832491 Commit-Queue: Istiaque Ahmed <lazyboy@chromium.org> Reviewed-by:David Bertoni <dbertoni@chromium.org> Reviewed-by:
Kinuko Yasuda <kinuko@chromium.org> Cr-Commit-Position: refs/heads/master@{#706082}
Showing
Please register or sign in to comment