Closed
Bug 1809888
Opened 2 years ago
Closed 2 years ago
Rename "Content Security Policy:" prefix into "Content-Security-Policy" to match the header name
Categories
(Core :: DOM: Security, task)
Core
DOM: Security
Tracking
()
RESOLVED
FIXED
115 Branch
Tracking | Status | |
---|---|---|
firefox115 | --- | fixed |
People
(Reporter: nchevobbe, Assigned: maltejur)
References
Details
(Keywords: good-first-bug, Whiteboard: [domsecurity-backlog])
Attachments
(1 file)
Let's rename https://searchfox.org/mozilla-central/rev/893a8f062ec6144c84403fbfb0a57234418b89cf/dom/security/nsCSPUtils.cpp#204
cspMsg.AppendLiteral(u"Content Security Policy: ");
so it mentions the actual header name and is more consistent with the group label we'll have in the console (see Bug 1809601)
Note that we should probably used a localized string (with a note to not translate "Content-Security-Policy") to handle the colon as some language, like French, requires a non-breaking space before it.
Updated•2 years ago
|
Assignee | ||
Comment 1•2 years ago
|
||
Updated•2 years ago
|
Attachment #9331218 -
Attachment description: WIP: Bug 1809888: Rename "Content Security Policy:" console log prefix to "Content-Security-Policy:". r?freddy → WIP: Bug 1809888: Rename "Content Security Policy:" console log prefix to "Content-Security-Policy:". r?freddyb
Assignee | ||
Updated•2 years ago
|
Assignee: nobody → mjurgens
Updated•2 years ago
|
Attachment #9331218 -
Attachment description: WIP: Bug 1809888: Rename "Content Security Policy:" console log prefix to "Content-Security-Policy:". r?freddyb → Bug 1809888: Rename "Content Security Policy:" console log prefix to "Content-Security-Policy:". r?freddyb
Pushed by fbraun@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/14866e51f9ff
Rename "Content Security Policy:" console log prefix to "Content-Security-Policy:". r=freddyb,devtools-reviewers
Comment 3•2 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 2 years ago
status-firefox115:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 115 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•