This issue represents a time-box of work on CSP error messages. (3 points for Janet, 1 point for Sheppy) # Acceptance criteria - [ ] A consistent structure for CSP error message articles is defined. - The following messages can be worked on. If more can be finished within the timebox, refer to the Epic (#316) - [ ] [The page’s settings blocked the loading of a resource: %1$S](https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP/Errors/CSPViolation) - [ ] [The page’s settings blocked the loading of a resource at %2$S (“%1$S”).](https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP/Errors/CSPViolationWithURI) - [ ] [A violation occurred for a report-only CSP policy (“%1$S”). The behavior was allowed, and a CSP report was sent.](https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP/Errors/CSPROViolation) - [ ] [The page’s settings observed the loading of a resource at %2$S (“%1$S”). A CSP report is being sent.](https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP/Errors/CSPROViolationWithURI) - [ ] [Tried to send report to invalid URI: “%1$S”](https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP/Errors/triedToSendReport) - [ ] [couldn’t parse report URI: %1$S](https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP/Errors/couldNotParseReportURI) - [ ] [Couldn’t process unknown directive ‘%1$S’](https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP/Errors/couldNotProcessUnknownDirective) - [ ] [Ignoring unknown option %1$S](https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP/Errors/ignoringUnknownOption)
This issue represents a time-box of work on CSP error messages. (3 points for Janet, 1 point for Sheppy)
Acceptance criteria
A consistent structure for CSP error message articles is defined.
The following messages can be worked on. If more can be finished within the timebox, refer to the Epic (E - CSP error messages are exposed via dev tools #316)
The page’s settings blocked the loading of a resource: %1$S
The page’s settings blocked the loading of a resource at %2$S (“%1$S”).
A violation occurred for a report-only CSP policy (“%1$S”). The behavior was allowed, and a CSP report was sent.
The page’s settings observed the loading of a resource at %2$S (“%1$S”). A CSP report is being sent.
Tried to send report to invalid URI: “%1$S”
couldn’t parse report URI: %1$S
Couldn’t process unknown directive ‘%1$S’
Ignoring unknown option %1$S