Bug 1415644: Create a list of restricted domains. r=aswan,mixedpuppy

MozReview-Commit-ID: A0AkaBG33In
This commit is contained in:
Kris Maglione
2018-03-03 16:28:18 -08:00
parent cdd775bc01
commit fd8a0b2ac6
8 changed files with 137 additions and 28 deletions

View File

@@ -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
{