commit | 99e84d0671880c1b57d9f34252ea71ace56feb03 | [log] [tgz] |
---|---|---|
author | Rouslan Solomakhin <[email protected]> | Wed Feb 24 18:00:22 2021 |
committer | Chromium LUCI CQ <[email protected]> | Wed Feb 24 18:00:22 2021 |
tree | 0d0fc9f7b8914cc449323a5472db281175074ed6 | |
parent | 8d18859b463deb8cd9c8810acf9c4adbe0f782c7 [diff] |
[Secure Payment Confirmation] Check permission policy and feature. This patch adds a check for the state of "payment" permission policy (formerly known as feature policy) and the "SecurePaymentConfirmation" content feature before creating the payment credential service in the browser and on each Mojo IPC call into this service. The render frame host is also checked to be "current", that is attached to a web contents, because enrolling a payment credential from a detached iframe should not be allowed. Bug: 2709403 Change-Id: I756a58f144b01e0cbf655527dfc097d182d2453c Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2710525 Reviewed-by: Ian Clelland <[email protected]> Reviewed-by: Nick Burris <[email protected]> Commit-Queue: Rouslan Solomakhin <[email protected]> Cr-Commit-Position: refs/heads/master@{#857245}
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.