Use process lock as request_initiator_site_lock for process-wide factory
The factory requested by the renderer via RendererBlinkPlatformImpl::CreateNetworkURLLoaderFactory cannot be associated with a specific origin, but it can still be locked down to the site URL used that the process might have been locked to. This lessens the impact of https://crbug.com/891872 - before this CL a compromised renderer could abuse the process-wide factory to start requests with an arbitrary request_initiator. After this CL, request_initiator_site_lock will lock down |request_initiator| to a particular site. Bug: 914130 Change-Id: Ibca31d349e3c090755679a30c87ab85469ad30a4 Reviewed-on: https://chromium-review.googlesource.com/c/1374053 Commit-Queue: Łukasz Anforowicz <lukasza@chromium.org> Reviewed-by:Nasko Oskov <nasko@chromium.org> Cr-Commit-Position: refs/heads/master@{#619426}
Showing
Please register or sign in to comment