From 326c6c435c384d93a2a51eea9512814c162ce68d Mon Sep 17 00:00:00 2001 From: Dylan Roeh Date: Mon, 29 Oct 2018 12:11:32 -0500 Subject: [PATCH] Bug 1477070 - Add STATE_IS_INSECURE check to checkIdentity in GeckoViewProgress.jsm r=snorp --- mobile/android/modules/geckoview/GeckoViewProgress.jsm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mobile/android/modules/geckoview/GeckoViewProgress.jsm b/mobile/android/modules/geckoview/GeckoViewProgress.jsm index 8bd36f59df05..372b5f865e59 100644 --- a/mobile/android/modules/geckoview/GeckoViewProgress.jsm +++ b/mobile/android/modules/geckoview/GeckoViewProgress.jsm @@ -141,7 +141,8 @@ var IdentityHandler = { // Don't show identity data for pages with an unknown identity or if any // mixed content is loaded (mixed display content is loaded by default). if (identityMode === this.IDENTITY_MODE_UNKNOWN || - (aState & Ci.nsIWebProgressListener.STATE_IS_BROKEN)) { + (aState & Ci.nsIWebProgressListener.STATE_IS_BROKEN) || + (aState & Ci.nsIWebProgressListener.STATE_IS_INSECURE)) { result.secure = false; return result; }