Allow comments in CSP policy file

RESOLVED INVALID

Status

()

enhancement
P4
normal
RESOLVED INVALID
9 years ago
4 months ago

People

(Reporter: bsterne, Assigned: bsterne)

Tracking

(Blocks 1 bug)

Trunk
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [CSP 1.1])

We should allow Unix configuration style comments (# to the end of the line) in the policy file to allow developers to document policy decisions or comment-out policies during testing.
The W3C spec doesn't define policy files (or policy-uri), so while nice to have, this is an enhancement.  If this doesn't make the 1.1 spec, this probably won't get done.
Severity: normal → enhancement
Priority: -- → P4
Whiteboard: [CSP 1.1]
We don't support policy-uri in the new CSP implementation.  If we support policy-uri in the future we can add this back.
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → INVALID
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.