Chromium Code Reviews
DescriptionProhibit web payments on sites with bad SSL certificates.
This patch moves the SSL certificate validity check to the common
location in WebContents and gates usage of web payments API on the
calling website having a valid SSL certificate. The same check is also
used by credit card and password autofill.
To better accommodate web developers, the SSL certificate check is
disabled for localhost and file:/// schemes.
Note that web payments API is available only in secure context.
https://w3c.github.io/webappsec-secure-contexts/#secure-context
Also note that credit card autofill additionally checks that the <form>
target URL scheme is not http://. Password autofill does not perform
this check. (Web payments API does not use <form> elements.)
BUG=678764
Patch Set 1 #
Total comments: 8
Messages
Total messages: 32 (26 generated)
|