rem: if (gURLBar) { var style = document.defaultView.getComputedStyle(gURLBarContainer, null); if (style.visibility == "visible" && style.display != "none") { gURLBar.focus(); gURLBar.select(); return; } 
add: if (gURLBar && isElementVisible(gURLBar)) { gURLBar.focus(); gURLBar.select(); return; 
context: function openLocation(){  if (gURLBar) {    var style = document.defaultView.getComputedStyle(gURLBarContainer, null);    if (style.visibility == "visible" && style.display != "none") {      gURLBar.focus();      gURLBar.select();      return;    }  }#ifdef XP_MACOSX  if (window.location.href != getBrowserURL()) {    var win = getTopWin();    if (win) {      // If there's an open browser window, it should handle this command      win.focus()      win.openLocation();    }    else {      // If there are no open browser windows, open a new one      win = window.openDialog("chrome://browser/content/", "_blank",                              "chrome,all,dialog=no", "about:blank");      win.addEventListener("load", openLocationCallback, false);    }    return;  }#endif  openDialog("chrome://browser/content/openLocation.xul", "_blank",             "chrome,modal,titlebar", window);}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/3c1ddfefd3322f74b17e766cc32c138dd521bbee/browser.js/buggy/browser/base/content/browser.js