rem: if (browser && browser.localName == 'tabbrowser' && browser.mTabContainer.childNodes.length > 1) { 
add: if (browser.mTabContainer.childNodes.length > 1) { 
context: function BrowserCloseTabOrWindow(){  var browser = getBrowser();  if (browser && browser.localName == 'tabbrowser' && browser.mTabContainer.childNodes.length > 1) {    // Just close up a tab.    browser.removeCurrentTab();    return;  }  BrowserCloseWindow();}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/96ddd6bfafc5a5e0d6142ecf816754f54ff7090b/navigator.js/buggy/xpfe/browser/resources/content/navigator.js