mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
bug 771348. Remove the securityUI property from browser/metro/base/content/bindings/browser.xml. r=mbrubeck
This commit is contained in:
parent
81f11c5bad
commit
53d02b41f0
@ -54,16 +54,6 @@
|
||||
]]>
|
||||
</constructor>
|
||||
|
||||
<field name="_securityUI">null</field>
|
||||
<property name="securityUI">
|
||||
<getter><![CDATA[
|
||||
return this._securityUI || {};
|
||||
]]></getter>
|
||||
<setter><![CDATA[
|
||||
this._securityUI = val;
|
||||
]]></setter>
|
||||
</property>
|
||||
|
||||
<field name="_searchEngines">[]</field>
|
||||
<property name="searchEngines"
|
||||
onget="return this._searchEngines"
|
||||
@ -463,10 +453,6 @@
|
||||
}
|
||||
|
||||
let data = this._getIdentityData(SSLStatus);
|
||||
this._browser._securityUI = {
|
||||
SSLStatus: SSLStatus ? {serverCert: data} : null,
|
||||
state: json.state
|
||||
}
|
||||
this._browser.updateWindowId(json.contentWindowId);
|
||||
break;
|
||||
}
|
||||
@ -509,7 +495,11 @@
|
||||
|
||||
// Check whether this site is a security exception.
|
||||
let currentURI = this._browser.webNavigation._currentURI;
|
||||
result.isException = !!this._overrideService.hasMatchingOverride(currentURI.asciiHost, currentURI.port, cert, {}, {});
|
||||
if (currentURI) {
|
||||
result.isException = this._overrideService.hasMatchingOverride(currentURI.asciiHost, currentURI.port, cert, {}, {});
|
||||
} else {
|
||||
result.isException = false;
|
||||
}
|
||||
}
|
||||
|
||||
return result;
|
||||
|
Loading…
Reference in New Issue
Block a user