forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[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 <iclelland@chromium.org> Reviewed-by: Nick Burris <nburris@chromium.org> Commit-Queue: Rouslan Solomakhin <rouslan@chromium.org> Cr-Commit-Position: refs/heads/master@{#857245}
- Loading branch information
1 parent
8d18859
commit 99e84d0
Showing
4 changed files
with
21 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters