rem: var options = gHistoryTree.getResult().root.queryOptions; 
add: var options = asQuery(gHistoryTree.getResult().root).queryOptions; 
context: function searchHistory(aInput){  if (aInput) {    if (!gSearching) {      // Unset grouping when searching;       var options = gHistoryTree.getResult().root.queryOptions;      options.setGroupingMode([], 0);      gSearching = true;    }        // applyFilter will update the view by calling load()    gHistoryTree.applyFilter(aInput, false /* onlyBookmarks */,                              null /* folderRestrict */, null);  }  else {    initPlace();    gSearching = false;  }}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/8395/d79b02dd54b2213567dfc011bf4871d7877efc27/history-panel.js/buggy/browser/components/places/content/history-panel.js