Closed Bug 617195 Opened 14 years ago Closed 10 years ago

Allow comments in CSP policy file

Categories

(Core :: DOM: Core & HTML, enhancement, P4)

enhancement

Tracking

()

RESOLVED INVALID

People

(Reporter: bsterne, Assigned: bsterne)

References

(Blocks 1 open bug)

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: 10 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.