rem:  goDoCommand('cmd_markAllRead'); 
add: gDBView.doCommand(nsMsgViewCommandType.markAllRead); 
context: function OnLeavingFolder(aFolder){  try  {    if (gPrefBranch.getBoolPref("mailnews.mark_message_read." + aFolder.server.type))    {      // mark all messages of aFolder as read      goDoCommand('cmd_markAllRead');    }  }  catch(e){/* ignore */}}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/2a776e3624882e8fd47c36a924d8e025980a4784/commandglue.js/buggy/mailnews/base/resources/content/commandglue.js