mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 13:21:05 +00:00
Bug 1599226 - Suppress Hazard Analysis through nsJSPrincipals::isSystemOrAddonPrincipal r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D62771 --HG-- extra : moz-landing-system : lando
This commit is contained in:
parent
87c65e049e
commit
362986be19
@ -386,6 +386,7 @@ bool nsJSPrincipals::write(JSContext* aCx, JSStructuredCloneWriter* aWriter) {
|
||||
}
|
||||
|
||||
bool nsJSPrincipals::isSystemOrAddonPrincipal() {
|
||||
JS::AutoSuppressGCAnalysis suppress;
|
||||
return this->IsSystemPrincipal() ||
|
||||
this->GetIsAddonOrExpandedAddonPrincipal();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user