Bug 945240 - Add unimplemented GetDisplay* methods to RustURL r=me
MozReview-Commit-ID: EuUPLoIlXc4
--- a/netwerk/base/RustURL.cpp
+++ b/netwerk/base/RustURL.cpp
@@ -438,16 +438,34 @@ RustURL::GetSpecIgnoringRef(nsACString &
return NS_OK;
}
aSpecIgnoringRef.Truncate(pos);
return NS_OK;
}
NS_IMETHODIMP
+RustURL::GetDisplaySpec(nsACString &aUnicodeSpec)
+{
+ return NS_ERROR_NOT_IMPLEMENTED;
+}
+
+NS_IMETHODIMP
+RustURL::GetDisplayHostPort(nsACString &aUnicodeHostPort)
+{
+ return NS_ERROR_NOT_IMPLEMENTED;
+}
+
+NS_IMETHODIMP
+RustURL::GetDisplayHost(nsACString &aUnicodeHost)
+{
+ return NS_ERROR_NOT_IMPLEMENTED;
+}
+
+NS_IMETHODIMP
RustURL::GetHasRef(bool *aHasRef)
{
*aHasRef = false;
return rusturl_has_fragment(mURL.get(), aHasRef);
}
/// nsIURL