"SOAPResponse", NS_SOAPRESPONSE_CONTRACTID, PR_TRUE, PR_TRUE, getter_Copies(previous)); NS_ENSURE_SUCCESS(rv, rv);  rv = catman->AddCategoryEntry(JAVASCRIPT_GLOBAL_CONSTRUCTOR_CATEGORY, "SOAPEncoding", NS_SOAPENCODING_CONTRACTID, PR_TRUE, PR_TRUE, getter_Copies(previous)); NS_ENSURE_SUCCESS(rv, rv);  rv = catman->AddCategoryEntry(JAVASCRIPT_GLOBAL_CONSTRUCTOR_CATEGORY,
RegisterXMLExtras(nsIComponentManager *aCompMgr,                  nsIFile *aPath,                  const char *registryLocation,                  const char *componentType,                  const nsModuleComponentInfo *info){  nsresult rv = NS_OK;  nsCOMPtr<nsICategoryManager> catman =    do_GetService(NS_CATEGORYMANAGER_CONTRACTID, &rv);  if (NS_FAILED(rv))    return rv;  nsXPIDLCString previous;  rv = catman->AddCategoryEntry(JAVASCRIPT_GLOBAL_CONSTRUCTOR_CATEGORY,                                "XMLSerializer",                                NS_XMLSERIALIZER_CONTRACTID,                                PR_TRUE, PR_TRUE, getter_Copies(previous));  NS_ENSURE_SUCCESS(rv, rv);  rv = catman->AddCategoryEntry(JAVASCRIPT_GLOBAL_CONSTRUCTOR_CATEGORY,                                "XMLHttpRequest",                                NS_XMLHTTPREQUEST_CONTRACTID,                                PR_TRUE, PR_TRUE, getter_Copies(previous));  NS_ENSURE_SUCCESS(rv, rv);  rv = catman->AddCategoryEntry(JAVASCRIPT_GLOBAL_CONSTRUCTOR_CATEGORY,                                "DOMParser",                                NS_DOMPARSER_CONTRACTID,                                PR_TRUE, PR_TRUE, getter_Copies(previous));  NS_ENSURE_SUCCESS(rv, rv);#ifdef MOZ_SOAP  rv = catman->AddCategoryEntry(JAVASCRIPT_GLOBAL_CONSTRUCTOR_CATEGORY,                                "SOAPCall",                                NS_SOAPCALL_CONTRACTID,                                PR_TRUE, PR_TRUE, getter_Copies(previous));  NS_ENSURE_SUCCESS(rv, rv);  rv = catman->AddCategoryEntry(JAVASCRIPT_GLOBAL_CONSTRUCTOR_CATEGORY,                                "SOAPHeaderBlock",                                NS_SOAPHEADERBLOCK_CONTRACTID,                                PR_TRUE, PR_TRUE, getter_Copies(previous));  NS_ENSURE_SUCCESS(rv, rv);  rv = catman->AddCategoryEntry(JAVASCRIPT_GLOBAL_CONSTRUCTOR_CATEGORY,                                "SOAPParameter",                                NS_SOAPPARAMETER_CONTRACTID,                                PR_TRUE, PR_TRUE, getter_Copies(previous));  NS_ENSURE_SUCCESS(rv, rv);  rv = catman->AddCategoryEntry(JAVASCRIPT_GLOBAL_CONSTRUCTOR_CATEGORY,                                "SchemaLoader",                                NS_SCHEMALOADER_CONTRACTID,                                PR_TRUE, PR_TRUE, getter_Copies(previous));  NS_ENSURE_SUCCESS(rv, rv);  rv = catman->AddCategoryEntry(JAVASCRIPT_GLOBAL_CONSTRUCTOR_CATEGORY,                                "WSDLLoader",                                NS_WSDLLOADER_CONTRACTID,                                PR_TRUE, PR_TRUE, getter_Copies(previous));  NS_ENSURE_SUCCESS(rv, rv);#endif  return rv;}