summaryrefslogtreecommitdiff
path: root/netwerk/base/nsStandardURL.h
diff options
context:
space:
mode:
Diffstat (limited to 'netwerk/base/nsStandardURL.h')
-rw-r--r--netwerk/base/nsStandardURL.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/netwerk/base/nsStandardURL.h b/netwerk/base/nsStandardURL.h
index eba85528c7..580e1ff262 100644
--- a/netwerk/base/nsStandardURL.h
+++ b/netwerk/base/nsStandardURL.h
@@ -253,6 +253,9 @@ private:
void FindHostLimit(nsACString::const_iterator& aStart,
nsACString::const_iterator& aEnd);
+ // Checks if the URL has a valid representation.
+ bool IsValid();
+
// mSpec contains the normalized version of the URL spec (UTF-8 encoded).
nsCString mSpec;
int32_t mDefaultPort;