rem:  if (uri.substring(0,6) == "news:/") 
add: if (isNewsURI(uri)) 
context: function MsgDeleteMessage(reallyDelete, fromToolbar){    if(reallyDelete)        dump("reallyDelete\n");    var srcFolder = GetLoadedMsgFolder();    // if from the toolbar, return right away if this is a news message    // only allow cancel from the menu:  "Edit | Cancel / Delete Message"    if (fromToolbar)    {        var folderResource = srcFolder.QueryInterface(Components.interfaces.nsIRDFResource);        var uri = folderResource.Value;        //dump("uri[0:6]=" + uri.substring(0,6) + "\n");        if (uri.substring(0,6) == "news:/")        {            //dump("delete ignored!\n");            return;        }    }    dump("tree is valid\n");    //get the selected elements    var compositeDataSource = GetCompositeDataSource("DeleteMessages");    var messages = GetSelectedMessages();    SetNextMessageAfterDelete(null, true);    DeleteMessages(compositeDataSource, srcFolder, messages, reallyDelete);}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/cbd6f993c0fbb8127fec617548e17c38f60c9e79/mailWindowOverlay.js/clean/mailnews/base/resources/content/mailWindowOverlay.js