rem:    var url = _content.location.href; 
add: var url = getWebNavigation().currentURI.spec; 
context: function UpdateInternetSearchResults(event){  // XXX This somehow causes a big leak, back to the old way  //     till we figure out why. See bug 61886.  // var url = getWebNavigation().currentURI.spec;  var url = _content.location.href;  if (url) {    try {      var autoOpenSearchPanel =         pref.getBoolPref("browser.search.opensidebarsearchpanel");      if (autoOpenSearchPanel || isSearchPanelOpen())      {        if (!gSearchService)          gSearchService = Components.classes["@mozilla.org/rdf/datasource;1?name=internetsearch"]                                         .getService(Components.interfaces.nsIInternetSearchService);        var searchInProgressFlag = gSearchService.FindInternetSearchResults(url);        if (searchInProgressFlag) {          if (autoOpenSearchPanel)            RevealSearchPanel();        }      }    } catch (ex) {    }  }  if (document.getElementById("main-window").getAttribute("fullScreen") == "true") {    BrowserFullScreenEnter();  }}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/c6c865dd1e09e7c6d037ac9b48184aa2faa42f9d/navigator.js/clean/xpfe/browser/resources/content/navigator.js