Closed Bug 1683464 Opened 1 year ago Closed 1 year ago

Cleanup CSP sources a little

Categories

(Core :: DOM: Security, task, P4)

task

Tracking

()

RESOLVED FIXED
86 Branch
Tracking Status
firefox86 --- fixed

People

(Reporter: emk, Assigned: emk)

Details

(Whiteboard: [domsecurity-active])

Attachments

(6 files)

No description provided.
Assignee: nobody → VYV03354
Status: NEW → ASSIGNED

This parameter is unused.

Depends on D100178

The only effect of this parameter is suppressing the violation reports and it
is redundant because aSendViolationReports is present.

Depends on D100179

Now this function is used just to create a parameter to
CSP_ContentTypeToDirective.

Depends on D100181

This function converts between enums and strings over and over. It is
sufficient to call CSP_StringToCSPDirective only once.

Depends on D100182

Keywords: leave-open
Pushed by VYV03354@nifty.ne.jp:
https://hg.mozilla.org/integration/autoland/rev/27681cca66c3
Make CSPDirective a CEnum type. r=ckerschb
https://hg.mozilla.org/integration/autoland/rev/96e415daae4a
Remove aMimeTypeGuess from nsIContentSecurityPolicy::ShouldLoad. r=ckerschb
Pushed by VYV03354@nifty.ne.jp:
https://hg.mozilla.org/integration/autoland/rev/eb1c479fddca
Remove aIsPreload. r=ckerschb
https://hg.mozilla.org/integration/autoland/rev/1b7fe904e8af
Reduce nsContentPolicyType usage. r=ckerschb
https://hg.mozilla.org/integration/autoland/rev/5f91001e4923
Remove InternalContentPolicyTypeToExternalOrWorker. r=ckerschb
https://hg.mozilla.org/integration/autoland/rev/a5d315c017d0
Improve nsCSPParser::directiveName. r=ckerschb
Keywords: leave-open
Severity: -- → S4
Priority: -- → P4
Whiteboard: [domsecurity-active]
Pushed by VYV03354@nifty.ne.jp:
https://hg.mozilla.org/integration/autoland/rev/f680ce2d40ba
Remove aIsPreload. r=ckerschb
https://hg.mozilla.org/integration/autoland/rev/76756220c9d2
Reduce nsContentPolicyType usage. r=ckerschb
https://hg.mozilla.org/integration/autoland/rev/8a381518ae22
Remove InternalContentPolicyTypeToExternalOrWorker. r=ckerschb
https://hg.mozilla.org/integration/autoland/rev/80a1b997d77e
Improve nsCSPParser::directiveName. r=ckerschb
Flags: needinfo?(VYV03354)
You need to log in before you can comment on or make changes to this bug.