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.
Revert "[Secure Payment Confirmation] Enable enrolling from an iframe."
This reverts commit 3304e4d. Reason for revert: This is causing a failure on a ChromeOS bot here: https://ci.chromium.org/p/chromium/builders/ci/linux-chromeos-dbg/22447 It may be the the check to base::FeatureList::IsEnabled(features::kSecurePaymentConfirmation) is somehow interacting with https://source.chromium.org/chromium/chromium/src/+/master:components/payments/content/payment_app_service.cc;l=38 to cause the feature identity check to fail. Original change's description: > [Secure Payment Confirmation] Enable enrolling from an iframe. > > Before this patch, no WebAuthn credential could be created from within a > cross origin iframe. > > This patch adds a boolean field `is_payment_credential_creation` to the > mojo parameters for making credentials and special cases WebAuthn to > allow making credentials when that boolean is true. Blink sets that > boolean to true when the website is creating a payment credential and > the execution context has the "payment" feature policy enabled and the > "SecurePaymentConfirmation" feature is enabled. > > After this patch, a cross origin iframe with "payment" feature policy > can create payment credentials in WebAuthn, while all other types of > credentials are still prohibited from being created in a cross origin > iframe, regardless of feature policy. > > Bug: 1173184 > Change-Id: I852c31babe858b825365d24781b00589b3940d0a > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2655605 > Commit-Queue: Rouslan Solomakhin <rouslan@chromium.org> > Reviewed-by: Ken Buchanan <kenrb@chromium.org> > Cr-Commit-Position: refs/heads/master@{#849597} TBR=kenrb@chromium.org,rouslan@chromium.org,chromium-scoped@luci-project-accounts.iam.gserviceaccount.com Change-Id: I3c8181c2115ae6bb703eae6d129fdd284c4fa4f2 No-Presubmit: true No-Tree-Checks: true No-Try: true Bug: 1173184 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2669027 Reviewed-by: Ian Clelland <iclelland@chromium.org> Commit-Queue: Ian Clelland <iclelland@chromium.org> Cr-Commit-Position: refs/heads/master@{#849677}
- Loading branch information
Showing
8 changed files
with
9 additions
and
266 deletions.
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
235 changes: 0 additions & 235 deletions
235
content/browser/webauth/webauth_request_security_checker_unittest.cc
This file was deleted.
Oops, something went wrong.
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