mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-07 16:28:38 +09:00
Bug 1430758 - No CSP directive for nsIContentPolicy::TYPE_SAVEAS_DOWNLOAD
This commit is contained in:
parent
97c6ecff55
commit
9578e970f0
1 changed files with 3 additions and 0 deletions
|
|
@ -258,6 +258,9 @@ CSP_ContentTypeToDirective(nsContentPolicyType aType)
|
|||
case nsIContentPolicy::TYPE_CSP_REPORT:
|
||||
return nsIContentSecurityPolicy::NO_DIRECTIVE;
|
||||
|
||||
case nsIContentPolicy::TYPE_SAVEAS_DOWNLOAD:
|
||||
return nsIContentSecurityPolicy::NO_DIRECTIVE;
|
||||
|
||||
// Fall through to error for all other directives
|
||||
default:
|
||||
MOZ_ASSERT(false, "Can not map nsContentPolicyType to CSPDirective");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue