Closed
Bug 1587939
Opened 2 years ago
Closed 2 years ago
Support addon csp in the script security manager
Categories
(WebExtensions :: General, enhancement, P2)
WebExtensions
General
Tracking
(firefox72 fixed)
RESOLVED
FIXED
mozilla72
| Tracking | Status | |
|---|---|---|
| firefox72 | --- | fixed |
People
(Reporter: mixedpuppy, Assigned: mixedpuppy)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
Currently addon content scripts that use eval and new Function do not trigger csp violations.
This can be addressed in nsScriptSecurityManager::ContentSecurityPolicyPermitsJSAction by checking for a csp on the expanded principal.
| Assignee | ||
Comment 1•2 years ago
|
||
Updated•2 years ago
|
Assignee: nobody → mixedpuppy
Status: NEW → ASSIGNED
| Assignee | ||
Comment 2•2 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=6d70a54c762aac6e2ad85516bd2d9330b12b2be4
| Assignee | ||
Comment 3•2 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=b0a77256fc843d2db40a815e062ba703ba51a893
Pushed by scaraveo@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/23c113d65b48 enforce addon content script CSP in eval r=ckerschb,robwu
Comment 5•2 years ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
status-firefox72:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla72
Comment 6•2 years ago
|
||
Hello,
Will this fix require manual validation? If yes, please provide some steps to reproduce in order to correctly test it and also, please set the "qe-verify+" flag. Otherwise, could the "qe-verify-" flag be added? Thanks!
Flags: needinfo?(mixedpuppy)
You need to log in
before you can comment on or make changes to this bug.
Description
•