commit | fcbae4f06caaf56d0cea2e42d78ca651277b8342 | [log] [tgz] |
---|---|---|
author | Dylan Cutler <dylancutler@google.com> | Wed Nov 01 20:32:49 2023 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Nov 01 20:32:49 2023 |
tree | 6f554616e786ceb59ceb3138b70d883bec219f6f | |
parent | b88df2d6cd98e8ad9886c48fce79e50a946c229b [diff] |
Workaround for 3PCB when rendering sandboxed media When 3PCB is enabled, access-controlled media URLs that are served with "Content-Security-Policy: sandbox" will be broken when it is loaded as the top-level URL. This includes static media types where there is little privacy or security risk to allowing cookies to be send for the data request when the media is being loaded as the top-level document. The CL patches this by overriding Document::SiteForCookies in these specific cases. To be cautious, this is only done in the MediaDocumentParser. Bug: 1475014 Change-Id: I5b14785394ce6c230ab2a970097582b2b07c5c1c Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4980051 Commit-Queue: Dylan Cutler <dylancutler@google.com> Reviewed-by: Nate Chapin <japhet@chromium.org> Cr-Commit-Position: refs/heads/main@{#1218420}
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.