rem: if (gBrowser.tabContainer.childNodes.length > 1 || window.toolbar.visible && !gPrefService.getBoolPref("browser.tabs.autoHide")) {  var isLastTab = gBrowser.tabContainer.childNodes.length == 1; gBrowser.removeCurrentTab(); if (isLastTab && gURLBar) setTimeout(function() { gURLBar.focus(); }, 0); return; }  closeWindow(true); 
add:  gBrowser.removeCurrentTab(); 
context: function BrowserCloseTabOrWindow(){#ifdef XP_MACOSX  // If we're not a browser window, just close the window  if (window.location.href != getBrowserURL()) {    closeWindow(true);    return;  }#endif  if (gBrowser.tabContainer.childNodes.length > 1 ||      window.toolbar.visible && !gPrefService.getBoolPref("browser.tabs.autoHide")) {    // Just close the tab (and focus the address bar if it was the last one).    var isLastTab = gBrowser.tabContainer.childNodes.length == 1;    gBrowser.removeCurrentTab();    if (isLastTab && gURLBar)      setTimeout(function() { gURLBar.focus(); }, 0);    return;  }  closeWindow(true);}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/9421/33f7e6f49701740cd5f01ff43c8659ec1072bd7c/browser.js/clean/browser/base/content/browser.js