rv = catman->AddCategoryEntry("app-startup", "service", NS_SCRIPTSECURITYMANAGER_CONTRACTID,
rv = catman->AddCategoryEntry("app-startup", "Script Security Manager", "service," NS_SCRIPTSECURITYMANAGER_CONTRACTID,
RegisterSecurityNameSet(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_STATIC_NAMESET_CATEGORY,                                  "PrivilegeManager",                                  NS_SECURITYNAMESET_CONTRACTID,                                  PR_TRUE, PR_TRUE, getter_Copies(previous));    NS_ENSURE_SUCCESS(rv, rv);    rv = catman->AddCategoryEntry("app-startup", "service",                                  NS_SCRIPTSECURITYMANAGER_CONTRACTID,                                  PR_TRUE, PR_TRUE,                                  getter_Copies(previous));    NS_ENSURE_SUCCESS(rv, rv);    return rv;}