rem: if (window.location.href == "chrome:  
add: if (window.location.href != getBrowserURL()) {  
context: function openLocation(){  if (gURLBar && !gURLBar.parentNode.parentNode.collapsed &&      !(window.getComputedStyle(gURLBar.parentNode, null).display == "none")) {    gURLBar.focus();    gURLBar.select();  }  else {#ifdef XP_MACOSX    if (window.location.href == "chrome://browser/content/hiddenWindow.xul") {      // If no windows are active, open a new one.       window.openDialog("chrome://browser/content/", "_blank", "chrome,all,dialog=no", "about:blank");    }    else#endif      openDialog("chrome://browser/content/openLocation.xul", "_blank", "chrome,modal,titlebar", window);  }}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/b0225ac2af928c3201f9e1f3eed8357de0f20e6b/browser.js/buggy/browser/base/content/browser.js