commit | c7932a5401fd950bacfb01a2d3f88999f36cb3f0 | [log] [tgz] |
---|---|---|
author | Lukasz Anforowicz <lukasza@chromium.org> | Thu Feb 07 21:53:17 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Thu Feb 07 21:53:17 2019 |
tree | 86393e6b9385a5cb0f156ca106a4b1681ae64f11 | |
parent | bd6659aed84f0ade815ee733cf9f92e75111a9c1 [diff] |
Enable CORB and request_initiator_site_lock for SharedWorkers. This CL changes how SharedWorkers create their URLLoaderFactory: 1. Ad-hoc creation code is replaced with a call into RenderProcessHost::CreateURLLoaderFactory, which 1.1. Sets |request_initiator_site_lock| to the right origin, 1.2. Sets |is_corb_enabled| to true. 2. Code is integrated with URLLoaderInterceptor (at least if the NetworkService is enabled) which helps test the changes wrt their impact on CORB behavior. This CL also tweaks RequestInterceptor used by various CORB tests, so that it forwards the actual headers / body / error-code of the response (previously the renderer was always told that the response errored out with ERR_NOT_IMPLEMENTED code). Bug: 927849 Change-Id: Ic4c673d2f9c74fd89b8482552b7b72346f783c44 Reviewed-on: https://chromium-review.googlesource.com/c/1450430 Commit-Queue: Ćukasz Anforowicz <lukasza@chromium.org> Reviewed-by: Matt Falkenhagen <falken@chromium.org> Reviewed-by: John Abd-El-Malek <jam@chromium.org> Cr-Commit-Position: refs/heads/master@{#630058}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .