rem: tab = new msgMessageTab(); 
add: tab = new messageTabOwner(); 
context: function MsgOpenNewTabForMessage(messageKey, folderUri){  if (!messageKey)    messageKey = gDBView.keyForFirstSelectedMessage;    var hdr = gDBView.hdrForFirstSelectedMessage;  if (!folderUri)    // use the header's folder - this will open a msg in a virtual folder view    // in its real folder, which is needed if the msg wouldn't be in a new    // view with the same terms - e.g., it's read and the view is unread only.    // If we cloned the view, we wouldn't have to do this.    folderUri = hdr.folder.URI;    // fix it so we won't try to load the previously loaded message.  hdr.folder.lastMessageLoaded = nsMsgKey_None;    tab = new msgMessageTab();  tab.uriToOpen = folderUri;  tab.hdr = hdr;  OpenNewTab(tab);}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/9421/b63a5b72361765e9c991347479ce265f17a15db6/mailWindowOverlay.js/buggy/mail/base/content/mailWindowOverlay.js