bug 771348. Remove the securityUI property from browser/metro/base/content/bindings/browser.xml. r=mbrubeck

This commit is contained in:
Tim Abraldes 2013-05-16 11:57:26 -07:00
parent 81f11c5bad
commit 53d02b41f0

View File

@ -54,16 +54,6 @@
]]> ]]>
</constructor> </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> <field name="_searchEngines">[]</field>
<property name="searchEngines" <property name="searchEngines"
onget="return this._searchEngines" onget="return this._searchEngines"
@ -463,10 +453,6 @@
} }
let data = this._getIdentityData(SSLStatus); let data = this._getIdentityData(SSLStatus);
this._browser._securityUI = {
SSLStatus: SSLStatus ? {serverCert: data} : null,
state: json.state
}
this._browser.updateWindowId(json.contentWindowId); this._browser.updateWindowId(json.contentWindowId);
break; break;
} }
@ -509,7 +495,11 @@
// Check whether this site is a security exception. // Check whether this site is a security exception.
let currentURI = this._browser.webNavigation._currentURI; 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; return result;