NS_MakeAbsoluteURI(nsACString &result, const nsACString &spec,
NS_MakeAbsoluteURI(char **result, const char *spec,
NS_MakeAbsoluteURI(nsACString &result,                   const nsACString &spec,                    nsIURI *baseURI,                    nsIIOService *ioService = nsnull)     // pass in nsIIOService to optimize callers{    if (!baseURI) {        NS_WARNING("It doesn't make sense to not supply a base URI");        result = spec;        return NS_OK;    }    if (spec.IsEmpty())        return baseURI->GetSpec(result);    return baseURI->Resolve(spec, result);}