Closed Bug 792161 Opened 7 years ago Closed 6 years ago

Improve CSP errors and warnings

Categories

(Core :: Security, defect)

defect
Not set

Tracking

()

RESOLVED FIXED
mozilla26

People

(Reporter: mgoodwin, Assigned: freddyb)

References

(Blocks 3 open bugs, )

Details

The CSP errors and warnings are currently a mess.

Some work has been done on this by l10n already (see comments in bug 770176) but it may be worth waiting until the CSP 1.0 work is complete before we finalize any changes.
I think this should block our 1.0 compliant implementation, we have to have good messages etc for developers to be able to use CSP effectively in Firefox.

Mark, in your opinion, does this bug also cover correctly localizing everything that we want to ship for our 1.0 implementation ? :)
Blocks: csp-w3c-1.0
(In reply to Ian Melven :imelven from comment #1)
> Mark, in your opinion, does this bug also cover correctly localizing
> everything that we want to ship for our 1.0 implementation ? :)

I'm fine with this interpretation; the question I have is how do we arrange this? If we put work-in-progress in the properties files we run the risk of the localizers working on thing subject to change. Is there a standard way of marking something as a placeholder?
Blocks: CSP
Summary: Fix inconsistencies in CSP errors and warnings → Improve CSP errors and warnings
Depends on: 847081
Component: DOM: Core & HTML → Security
Assignee: mgoodwin → nobody
Blocks: 863874
Does this still apply given my work on bug 607067 and bug 909241?
Easiest way to test is probably to run the W3C tests in nightly and look at the messages in the console:
http://webappsec-test.info/web-platform-tests/CSP/
Flags: needinfo?(mgoodwin)
(In reply to Frederik Braun [:freddyb] from comment #3)
> Does this still apply given my work on bug 607067 and bug 909241?

No. Thanks freddyb
Status: NEW → RESOLVED
Closed: 6 years ago
Flags: needinfo?(mgoodwin)
Resolution: --- → FIXED
Assignee: nobody → fbraun
Target Milestone: --- → mozilla26
You need to log in before you can comment on or make changes to this bug.