Add regression test for https://crbug.com/1064676 This bug has been fortunately/unexpectedly fixed by: https://chromium-review.googlesource.com/c/chromium/src/+/2111170 The old code was trying to "guess" the document was the initial empty document. It failed. The new code is using CreateCSPForInitialEmptyDocument() to set the CSP of the initial empty document. It works consistently. Bug: 1064676 Change-Id: I3778b7a2a0e4eed0599424e3711cbaec24c80c49 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2144012 Commit-Queue: Arthur Sonzogni <arthursonzogni@chromium.org> Auto-Submit: Arthur Sonzogni <arthursonzogni@chromium.org> Reviewed-by: Daniel Cheng <dcheng@chromium.org> Reviewed-by: Mike West <mkwst@chromium.org> Cr-Commit-Position: refs/heads/master@{#758793}
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 .
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.