PrefManager.updateArrayPref Member

Syntax

object.updateArrayPref(prefName);

Arguments

ArgumentSummary
prefName

Returns

Remarks

See Also

Source Code

function pm_arrayupdate(prefName)
{
var record = this.prefRecords[prefName];
if (!ASSERT(record, "Unknown pref: " + prefName))
return;
if (record.realValue == null)
record.realValue = record.defaultValue;
if (!ASSERT(isinstance(record.realValue, Array), "Pref is not an array"))
return;
this.prefBranch.setCharPref(prefName, this.arrayToString(record.realValue));
this.delayedSave();
}