[PaymentHandler] Block insecure content
The Payment Handler of the Chrome Custom Tab solution blocks the insecure content. The Payment Handler of the bottom-sheet solution also requires the same check. This CL is to add the check. The security check was implemented according to the spec: https://www.w3.org/TR/payment-handler/#authorized-payment-apps After this change, opening a payment app that has invalid or insecure content (invalid url, insecure content, http) or interstitial page would cause an error in the payment app. And the payment handler would be hidden right away in these cases. Bug: 999196 Change-Id: I664803b0bd7ccc128cc8d0c61dd889fcb964b733 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1874519 Commit-Queue: Liquan (Max) Gu <maxlg@chromium.org> Reviewed-by:Rouslan Solomakhin <rouslan@chromium.org> Cr-Commit-Position: refs/heads/master@{#709610}
Showing
Please register or sign in to comment