mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1126413 - Part 1: Expose nsISSLStatus for broken secure pages. r=keeler
This commit is contained in:
parent
eafff928eb
commit
0240561b0a
@ -1398,6 +1398,7 @@ nsSecureBrowserUIImpl::GetSSLStatus(nsISSLStatus** _result)
|
||||
|
||||
switch (mNotifiedSecurityState)
|
||||
{
|
||||
case lis_broken_security:
|
||||
case lis_mixed_security:
|
||||
case lis_high_security:
|
||||
break;
|
||||
@ -1405,7 +1406,6 @@ nsSecureBrowserUIImpl::GetSSLStatus(nsISSLStatus** _result)
|
||||
default:
|
||||
NS_NOTREACHED("if this is reached you must add more entries to the switch");
|
||||
case lis_no_security:
|
||||
case lis_broken_security:
|
||||
*_result = nullptr;
|
||||
return NS_OK;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user