Bug 1415644: Create a list of restricted domains. r=aswan,mixedpuppy
MozReview-Commit-ID: A0AkaBG33In
This commit is contained in:
@@ -131,6 +131,15 @@ URLInfo::Host() const
|
||||
return mHost;
|
||||
}
|
||||
|
||||
const nsAtom*
|
||||
URLInfo::HostAtom() const
|
||||
{
|
||||
if (!mHostAtom) {
|
||||
mHostAtom = NS_Atomize(Host());
|
||||
}
|
||||
return mHostAtom;
|
||||
}
|
||||
|
||||
const nsString&
|
||||
URLInfo::FilePath() const
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user