Chromium Code Reviews
DescriptionThe Appcache subresource URL factory needs to inform the URLLoaderClient if there is a failure.
Relanding this with the browser test fixes.
Failure cases include, an invalid AppCacheHost instance, failure to create a request handler, etc.
We already notify the client about the latter case above. Need to do this for an invalid host as well.
This caused the w3schools AppCache test page to spin indefinitely if we pass in an invalid URL.
Additionally on the renderer side we need to reset the cached URLLoaderFactory pointer if a null factory
is passed in the CommitNavigation IPC. This ensures that the request hits the default network loader.
BUG=715632
TEST=Covered by browser test. AppCacheNetworkServiceBrowserTest.VerifySubresourceFactoryClearedOnNewNavigation
This reverts commit a08d0fc015c42ce95a104c0f4e3de9448b7721e1.
Review-Url: https://codereview.chromium.org/2986043002
Cr-Commit-Position: refs/heads/master@{#490025}
Committed: https://chromium.googlesource.com/chromium/src/+/aad9e6266f96e08ae80b9af238a9e6121a28c76e
Patch Set 1 #Patch Set 2 : Change request count check to be greater than 1. #Messages
Total messages: 12 (8 generated)
|