Bug
1680434 [wpt PR 26736] - Support WebBundle Subresource loading via Network Service, a=testonly
Automatic update from web-platform-tests
Support WebBundle Subresource loading via Network Service
This is a follow-up to https://crrev.com/c/
2560526.
This CL changes the implementation of WebBundle subresource loading
from "renderer oriented" to "network service oriented".
Before this CL, a renderer parses a WebBundle and serves a subresource
from there directly.
After this CL, they are done in the Network Service, instead of a renderer.
The motivation we're changing our design is "we should honor CORB
[1]". A renderer shouldn't have cross-origin data in their memory.
See the design doc [2] for details.
Note this CL removes
blink/renderer/platform/loader/fetch/url_loader/web_bundle_subresource_loader_test.cc,
which was already moved to
services/network/web_bundle_url_loader_factory_unittest.cc in a previous CL.
- [1]: https://source.chromium.org/chromium/chromium/src/+/master:services/network/cross_origin_read_blocking_explainer.md
- [2]: https://docs.google.com/document/d/1_AqUBS4Gr45MPPtXGTUl7Q0DMIEw2zUeWO0zo6Sj0z4/edit
Bug:
1082020
Change-Id: I78b0e81b573f735c84334a4cd2271c248609c2e8
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/
2564924
Commit-Queue: Hayato Ito <hayato@chromium.org>
Reviewed-by: Kinuko Yasuda <kinuko@chromium.org>
Reviewed-by: Kunihiko Sakamoto <ksakamoto@chromium.org>
Cr-Commit-Position: refs/heads/master@{#834195}
--
wpt-commits:
d06a8294230223801140871aa117d8901f943c0b
wpt-pr: 26736