mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-07 08:18:41 +09:00
dom/security: remove terse static assert from upstream changes
This commit is contained in:
parent
d4f1c1faed
commit
0d63037e56
1 changed files with 0 additions and 2 deletions
|
|
@ -648,8 +648,6 @@ nsCSPContext::GetAllowsInline(CSPDirective aDirective,
|
|||
keyword, observerTopic) \
|
||||
case nsIContentSecurityPolicy::VIOLATION_TYPE_ ## violationType : \
|
||||
PR_BEGIN_MACRO \
|
||||
static_assert(directive##_SRC_DIRECTIVE == SCRIPT_SRC_DIRECTIVE || \
|
||||
directive##_SRC_DIRECTIVE == STYLE_SRC_DIRECTIVE); \
|
||||
if(CSPService::sCSPReportingEnabled && \
|
||||
!mPolicies[p]->allows(directive##_SRC_DIRECTIVE, keyword, nonceOrHash, \
|
||||
false)) { \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue