Bug 1477070 - Add STATE_IS_INSECURE check to checkIdentity in GeckoViewProgress.jsm r=snorp

This commit is contained in:
Dylan Roeh 2018-10-29 12:11:32 -05:00
Родитель 86f3147cb8
Коммит 326c6c435c
1 изменённых файлов: 2 добавлений и 1 удалений

Просмотреть файл

@ -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;
}