void URL::GetHostname(nsString& aHostname) const { URL_GETTER(aHostname, GetHost); }
void URL::GetPassword(nsString& aPassword) const { URL_GETTER(aPassword, GetPassword); }
void URL::GetHost(nsString& aHost) const { URL_GETTER(aHost, GetHostPort); }
void URLMainThread::GetHost(nsAString& aHost, ErrorResult& aRv) const { URL_GETTER(aHost, GetHostPort); }
void URL::GetUsername(nsString& aUsername) const { URL_GETTER(aUsername, GetUsername); }
void URLMainThread::GetUsername(nsAString& aUsername, ErrorResult& aRv) const { URL_GETTER(aUsername, GetUsername); }
void URLMainThread::GetPassword(nsAString& aPassword, ErrorResult& aRv) const { URL_GETTER(aPassword, GetPassword); }
void URL::GetHost(nsString& aHost, ErrorResult& aRv) const { URL_GETTER(aHost, GetHostPort); }
void URL::GetPassword(nsString& aPassword, ErrorResult& aRv) const { URL_GETTER(aPassword, GetPassword); }
void URL::GetUsername(nsString& aUsername, ErrorResult& aRv) const { URL_GETTER(aUsername, GetUsername); }
void URL::GetProtocol(nsAString& aProtocol) const { URL_GETTER(aProtocol, GetScheme); aProtocol.Append(char16_t(':')); }
void URL::GetHref(nsAString& aHref) const { URL_GETTER(aHref, GetSpec); }