rem: this.template = templateURI.spec; 
add: this.template = aTemplate; 
context: function EngineURL(aType, aMethod, aTemplate) {  ENSURE_ARG(aType && aMethod && aTemplate,             "missing type, method or template for EngineURL!");  var method = aMethod.toUpperCase();  var type   = aType.toLowerCase();  ENSURE_ARG(method == "GET" || method == "POST",             "method passed to EngineURL must be \"GET\" or \"POST\"");  this.type     = type;  this.method   = method;  this.params   = [];  var templateURI = makeURI(aTemplate);  ENSURE(templateURI, "new EngineURL: template is not a valid URI!",         Cr.NS_ERROR_FAILURE);  switch (templateURI.scheme) {    case "http":    case "https":    // Disable these for now, see bug 295018    // case "file":    // case "resource":      this.template = templateURI.spec;      break;    default:      ENSURE(false, "new EngineURL: template uses invalid scheme!",             Cr.NS_ERROR_FAILURE);  }}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/59aed63f0a47819a78a76095268a0f95e8b4358d/nsSearchService.js/buggy/browser/components/search/nsSearchService.js