Bug 1368102: Part 8 - Move extension page matching into C++. r=billm,mixedpuppy

Bill, can you please review the WebIDL change, and Shane the rest?

MozReview-Commit-ID: 6N3sGrAsHzs
This commit is contained in:
Kris Maglione
2017-05-26 12:07:06 -07:00
parent f9ee4dc5f2
commit a518bc4925
10 changed files with 66 additions and 74 deletions

View File

@@ -239,6 +239,12 @@ WebExtensionPolicy::GetURL(const nsAString& aPath) const
return NS_ConvertUTF8toUTF16(spec);
}
/* static */ bool
WebExtensionPolicy::IsExtensionProcess(GlobalObject& aGlobal)
{
return EPS().IsExtensionProcess();
}
nsCString
WebExtensionPolicy::BackgroundPageHTML() const
{