diff --git a/dom/security/nsCSPContext.cpp b/dom/security/nsCSPContext.cpp index 285cdbca3e47..f443d09d7fc7 100644 --- a/dom/security/nsCSPContext.cpp +++ b/dom/security/nsCSPContext.cpp @@ -194,6 +194,7 @@ bool nsCSPContext::permitsInternal( const nsAString& aNonce, bool aIsPreload, bool aSpecific, bool aSendViolationReports, bool aSendContentLocationInViolationReports, bool aParserCreated) { + EnsureIPCPoliciesRead(); bool permits = true; nsAutoString violatedDirective;