IsolatedWorldCSP: Enforce CSP checks for fetch in isolated worlds.
Enforce CSP checks for fetch in isolated worlds. Also add tests for fetch usage in isolated worlds and its interaction with CSP. This also exposes a bug with the current handling of redirects as far as bypassing the main world CSP is concerned. Since the IsolatedWorldCSP feature is disabled by default, this CL will cause the CSP check to use an empty CSP instead of just bypassing the CSP checks for isolated worlds. In practice, this should cause no behavior change. BUG=896041 Change-Id: I4778112e3c5e7f6fcb2f2849eca6ed7ef384f65e Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1633531 Auto-Submit: Karan Bhatia <karandeepb@chromium.org> Reviewed-by:Hiroshige Hayashizaki <hiroshige@chromium.org> Commit-Queue: Karan Bhatia <karandeepb@chromium.org> Cr-Commit-Position: refs/heads/master@{#666122}
Showing
Please register or sign in to comment