Process CSP's `treat-as-public-address` only outside of Blink.
We handle this in `NavigationRequest` as of [1], and we're likely going to shift off CSP after some conversations at TPAC anyway. Tests were relying upon setting the policy via `<meta>`. This patch adjusts them to rely on a header instead, which matches the behavior we'd like to support going forward (and, FWIW, the spec: https://wicg.github.io/cors-rfc1918/#csp). [1]: https://chromium-review.googlesource.com/c/chromium/src/+/1760742 Bug: 1000226 Change-Id: I7dc584079a064b8664e5ff9122f5b618a8866340 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1778879Reviewed-by:Mike West <mkwst@chromium.org> Reviewed-by:
Daniel Vogelheim <vogelheim@chromium.org> Commit-Queue: Mike West <mkwst@chromium.org> Cr-Commit-Position: refs/heads/master@{#693097}
Showing
Please register or sign in to comment