Bug 446536 - Don't save proxy settings for SSL, FTP, Gopher, SOCKS; "fix" part; r=gavin.sharp

This commit is contained in:
Atsushi Sakai 2008-09-17 15:09:37 +02:00
parent bdd4fa5270
commit add4cd38d8

View File

@ -151,7 +151,7 @@
<parameter name="aUpdate"/>
<body>
<![CDATA[
if (aUpdate && this.value != aValue) {
if (aUpdate && this.value !== aValue) {
this._value = aValue;
if (this.instantApply)
this.valueFromPreferences = aValue;
@ -231,7 +231,10 @@
<property name="hasUserValue">
<getter>
return this.preferences.rootBranch.prefHasUserValue(this.name);
<![CDATA[
return this.preferences.rootBranch.prefHasUserValue(this.name) &&
this.value !== undefined;
]]>
</getter>
</property>