SearchResults results = queryIndex(wbRequest);
p.queried();
if(results instanceof CaptureSearchResults) {
CaptureSearchResults cResults = (CaptureSearchResults) results;
// The Firefox proxy plugin maks an XML request to populate the
// list of available captures, and needs the closest result to
// the one being replayed to be flagged as such:
CaptureSearchResult closest = cResults.getClosest();
if(closest != null) {
closest.setClosest(true);
}
getQuery().renderCaptureResults(httpRequest,httpResponse,wbRequest,