rem:  if (typeof(handler) == "function") this._overridePaths[path] = handler; else if (handler) this._overridePaths[path] = createHandlerFunc(handler); else delete this._overridePaths[path]; 
add: this._handlerToField(handler, this._overridePaths, path); 
context:   registerPathHandler: function(path, handler)  {    // XXX true path validation!    if (path.charAt(0) != "/")      throw Cr.NS_ERROR_INVALID_ARG;    // for convenience, handler can be a function if this is run from xpcshell    if (typeof(handler) == "function")      this._overridePaths[path] = handler;    else if (handler)      this._overridePaths[path] = createHandlerFunc(handler);    else      delete this._overridePaths[path];  },
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/9421/23223c2562b70b4ab9652b6158101dd3b88030cd/httpd.js/clean/netwerk/test/httpserver/httpd.js