commit | 11589ca291307a89018553a6e84a6f48f75c7b84 | [log] [tgz] |
---|---|---|
author | Ming-Ying Chung <mych@chromium.org> | Wed Aug 24 08:51:34 2022 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Aug 24 08:51:34 2022 |
tree | 72dcb0dd6952c85becc2a0cff5dce0ade7055fae | |
parent | b8ff65db9f63f7cfd6499ba1bc270c0e5cd35e01 [diff] |
[beacon-api] Fix request headers 1. As mentioned in https://crbug.com/1352366, - Set beacon request mode to `kCors`. - Set `request_initiator` to the last committed origin from the RFH of the beacon's host. - Set beacon request credentials mode to `kSameOrigin`. - Added some unit tests to cover the change 2. Updated c++ docs & mojom docs, and added unit tests that are missing from https://crrev.com/c/3826326 3. Made it impossible to reach NOTIMPLEMENTED() in PendingPostBeacon: A JS TypeError is already thrown when getting ReadableStream. Bug: 1352366,1293679 Change-Id: Ic8b58d3d9f4aa9e1d47f4503fe65eda02d551e93 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3838589 Reviewed-by: Daniel Cheng <dcheng@chromium.org> Commit-Queue: Ming-Ying Chung <mych@chromium.org> Reviewed-by: Rakina Zata Amni <rakina@chromium.org> Reviewed-by: Yutaka Hirano <yhirano@chromium.org> Reviewed-by: Luca Hunkeler <hluca@google.com> Cr-Commit-Position: refs/heads/main@{#1038657}
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.