rem: if (gClickSelectsAll) if (!gIgnoreFocus) gURLBar.select(); else {       gIgnoreFocusCount++; if (gIgnoreFocusCount >= 2) { gIgnoreFocusCount = 0; gIgnoreFocus = false; } } 
add: if (gIgnoreFocus) gIgnoreFocus = false; else if (gClickSelectsAll) gURLBar.select(); 
context: function URLBarFocusHandler(aEvent){  if (gClickSelectsAll)    if (!gIgnoreFocus)      gURLBar.select();    else {      // check if gIgnoreFocusCount >= 2 because right-clicking on the url bar      // causes two blur and two focus events before the context menu is displayed.      // we need to eat all those events and not select all, because the user      // may want to work with the selection (eg. copy the selection).      // a normal click in URLBarMouseDownHandler() primes gIgnoreFocusCount      // to 1 so that when it hits this code it will only ignore 1 focus event.      gIgnoreFocusCount++;      if (gIgnoreFocusCount >= 2) {        gIgnoreFocusCount = 0;        gIgnoreFocus = false;      }    }}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/5640958a00217da9e4e1462dcc64b5f0914c98f4/navigator.js/clean/xpfe/browser/resources/content/navigator.js