Fix service worker subresource requests failing after a network process crash.
With https://chromium-review.googlesource.com/c/chromium/src/+/1235593, Gmail re-loads correctly after a network process crash. However if Gmail isn't reloaded or opened in a new tab, it still thinks it's disconnected because its subresource requests are failing. The problem is that ServiceWorkerSubresourceLoader::fallback_factory_ was a ChildURLLoaderFactoryBundle (which doesn't handle updating after crashes) instead of being a HostChildURLLoaderFactoryBundle (which is properly updated after a crash). Bug: 884007 Change-Id: I63d61811005a57f1a43ec91961fd5c5f5de5d0e8 Reviewed-on: https://chromium-review.googlesource.com/1237720Reviewed-by:Kinuko Yasuda <kinuko@chromium.org> Commit-Queue: John Abd-El-Malek <jam@chromium.org> Cr-Commit-Position: refs/heads/master@{#593076}
Showing
Please register or sign in to comment