This causes that http/tests/appcache/auth.html times out, because the authentication happens in the network process, but the manifest is downloaded in the web process and the authentication challenge happens.
It's not just the manifest, all appcache entries are downloaded in WebProcess too.
(In reply to comment #1)
> It's not just the manifest, all appcache entries are downloaded in
> WebProcess too.
Right! btw, what's the plan for all the things that are currently loaded using ResourceHandle directly? I mean, should they go through the resource scheduler, or do we need new internal API to send these requests to the network process? I can help with this.
I do not have a design ready, and each of these may need different approaches. It depends on how much functionality is shared with normal resource loading (e.g. do we need to send a referrer, do we need document's cookies, do we need to cancel requests when navigating away, do we need any prioritization).
For appcache in particular, we could consider moving the whole thing out to NetworkProcess, not only network loading aspect.
PingLoader and CSP reporting (which reuses PingLoader) may be the easiest ones to start with.
I'm going to close this because it's not timing out anymore..