commit | decd9ff747d25df3a49828e6c4b3fd24d67a2cb5 | [log] [tgz] |
---|---|---|
author | Fergal Daly <fergal@chromium.org> | Wed Oct 25 17:16:14 2023 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Oct 25 17:16:14 2023 |
tree | 0b3a70b57341b5c812838cdfbcca20007045bb05 | |
parent | d6c91eed3d9e93dee9a7205acbe470c23e31c091 [diff] |
Centralize all checks related to unload and origin. This fixes a bug where opaque origins were not correctly considered for the host allow-list. It also simplifies the code a little. This also adds more tests and improves an existing test to consider opaque origins. Bug: 1432116 Change-Id: Ia4b5bf5eb141059794b0df085bc77e6902ef444d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4975547 Auto-Submit: Fergal Daly <fergal@chromium.org> Commit-Queue: Fergal Daly <fergal@chromium.org> Reviewed-by: Ian Clelland <iclelland@chromium.org> Cr-Commit-Position: refs/heads/main@{#1214930}
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.
To check out the source code locally, don't use git clone
! Instead, follow the instructions on how to get the code.
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.
If you found a bug, please file it at https://crbug.com/new.