Chromium Code Reviews| Index: android_webview/native/aw_autofill_client.cc |
| diff --git a/android_webview/native/aw_autofill_client.cc b/android_webview/native/aw_autofill_client.cc |
| index aa7f245b999d5c40e409c85cfe713c2fdb579e3a..e61544593f8f20eb033d55100c2ac9750b175fdd 100644 |
| --- a/android_webview/native/aw_autofill_client.cc |
| +++ b/android_webview/native/aw_autofill_client.cc |
| @@ -196,7 +196,10 @@ bool AwAutofillClient::IsContextSecure(const GURL& form_origin) { |
| // Note: The implementation below is a copy of the one in |
| // ChromeAutofillClient::IsContextSecure, and should be kept in sync |
| // until crbug.com/505388 gets implemented. |
| - return ssl_status.security_style == content::SECURITY_STYLE_AUTHENTICATED && |
| + return navigation_entry->GetURL().SchemeIsCryptographic() && |
|
estark
2016/10/06 22:00:17
This is the part that is most sketchy, IMO. AwAuto
felt
2016/10/07 03:30:47
Were these the only callers that you found? If so
estark
2016/10/07 06:34:31
The bots found another one, which is this weird ch
felt
2016/10/07 15:08:10
I've never seen that policy auditor thing before.
|
| + ssl_status.certificate && |
| + (!net::IsCertStatusError(ssl_status.cert_status) || |
| + net::IsCertStatusMinorError(ssl_status.cert_status)) && |
| !(ssl_status.content_status & |
| content::SSLStatus::RAN_INSECURE_CONTENT); |
| } |