mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-05 15:28:39 +09:00
remove terse static assert added by upstream
This commit is contained in:
parent
523b9df9db
commit
20d660f3c8
1 changed files with 0 additions and 2 deletions
|
|
@ -646,8 +646,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 (!mPolicies[p]->allows(directive##_SRC_DIRECTIVE, keyword, nonceOrHash, \
|
||||
false)) { \
|
||||
nsAutoString violatedDirective; \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue