This came up as part of changing GaiaAuthFetcher to use SimpleURLLoader.
The test ExtensionWebRequestApiTest. WebRequestURLLoaderInterception failed as one of the request made by the browser is not blocked when it should.
This is because when StoragePartitionImpl::GetURLLoaderFactoryForBrowserProcessInternal() the call to WillCreateURLLoaderFactory() does install the WebRequestProxyingURLLoaderFactory (as no extension is set yet). That same SharedURLLoaderFactory is then cached and used bypassing the WebRequestProxyingURLLoaderFactory.
Comment 1 by jam@chromium.org
, Jun 28 2018Cc: roc...@chromium.org jcivelli@chromium.org
Labels: -Pri-3 Proj-Servicification-Canary Proj-Servicification Pri-1
Owner: ----