mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-22 16:37:31 +09:00
Issue #2466 - Part 1: Reduce nsContentPolicy type usage.
Use CSPDirective instead, since it directly deals with CSP anyway. This cleanup prepares for the following changes.
This commit is contained in:
parent
6d1bf36717
commit
4ea2206c15
10 changed files with 43 additions and 105 deletions
|
|
@ -146,7 +146,7 @@ interface nsIContentSecurityPolicy : nsISerializable
|
|||
* Whether or not the effects of the inline style should be allowed
|
||||
* (block the rules if false).
|
||||
*/
|
||||
boolean getAllowsInline(in nsContentPolicyType aContentPolicyType,
|
||||
boolean getAllowsInline(in CSPDirective aContentPolicyType,
|
||||
in AString aNonce,
|
||||
in boolean aParserCreated,
|
||||
in AString aContent,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue