return baseURI->Resolve(spec, result);
result = NS_ConvertUTF8toUCS2(resultBuf); return NS_OK;
NS_MakeAbsoluteURI(nsACString &result,                   const nsACString &spec,                    nsIURI *baseURI){    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);}