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:
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user