ServiceWorkerTaskQueue: Remove spurious unregistration error message.
When an extension is deactivated, SWTQ unregisters the extension's worker. Subsequently, if the extension was re-activated quickly (which is the typical e.g. from ExtensionApiTest::RunExtensionTest due to kFlagEnableFileAccess), then it is expected that the unregistration can fail (as the initial extension activation couldn't complete SW registration). This CL doesn't log unregistration failure error message in that case, removing confusion around the log. Bug: None Test: No behavior changes, spurious unregistration failed error shouldn't be seen from service_worker_apitest. Change-Id: Ifccbc649b492f9cbe8527a5e6412cca2aea2d5ac Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2266016Reviewed-by:David Bertoni <dbertoni@chromium.org> Commit-Queue: Istiaque Ahmed <lazyboy@chromium.org> Cr-Commit-Position: refs/heads/master@{#782747}
Showing
Please register or sign in to comment