rem: pm = e.channel.prefManager; msg = MSG_CURRENT_CHARSET_CHAN; } else if (e.command.name == "network-charset") { pm = e.network.prefManager; msg = MSG_CURRENT_CHARSET_NET; } else if (e.command.name == "user-charset") { pm = e.user.prefManager; msg = MSG_CURRENT_CHARSET_USER; 
add: pm = client.prefManager; msg = MSG_CURRENT_CHARSET; 
context: function cmdCharset(e){    var pm;        if (e.command.name == "channel-charset")    {        pm = e.channel.prefManager;        msg = MSG_CURRENT_CHARSET_CHAN;    }    else if (e.command.name == "network-charset")    {        pm = e.network.prefManager;        msg = MSG_CURRENT_CHARSET_NET;    }    else if (e.command.name == "user-charset")    {        pm = e.user.prefManager;        msg = MSG_CURRENT_CHARSET_USER;    }    else    {        pm = client.prefManager;        msg = MSG_CURRENT_CHARSET;    }    if (e.newCharset)    {        if (e.newCharset == "-")        {            pm.clearPref("charset");        }        else        {            if(!checkCharset(e.newCharset))            {                display(getMsg(MSG_ERR_INVALID_CHARSET, e.newCharset),                        MT_ERROR);                return;            }            pm.prefs["charset"] = e.newCharset;        }    }    display(getMsg(msg, pm.prefs["charset"]));}
meta: 3298	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3298/b2b30dfd6e5202d8c653c3956917b1364b16f1db/commands.js/buggy/xul/content/commands.js