Bug 1809601 - Use "Content-Security-Policy" for group CSP option, r=nchevobbe

Differential Revision: https://phabricator.services.mozilla.com/D166636
This commit is contained in:
Francesco Lodolo (:flod) 2023-01-12 14:27:33 +00:00
Родитель 3be12e641e
Коммит a4b038c522
2 изменённых файлов: 4 добавлений и 3 удалений

Просмотреть файл

@ -556,5 +556,6 @@ webconsole.group.cookieSameSiteLaxByDefaultEnabled2=Some cookies are misusing th
# LOCALIZATION NOTE (webconsole.group.cookieSameSiteLaxByDefaultDisabled2): do not translate 'SameSite'.
webconsole.group.cookieSameSiteLaxByDefaultDisabled2=Some cookies are misusing the recommended “SameSite“ attribute
# LOCALIZATION NOTE (webconsole.group.csp): Do not translate "Content Security Policy".
webconsole.group.csp=Content Security Policy warnings
# LOCALIZATION NOTE (webconsole.group.csp): do not translate
# 'Content-Security-Policy', as that's the name of the header.
webconsole.group.csp=Content-Security-Policy warnings

Просмотреть файл

@ -9,7 +9,7 @@ const TEST_FILE =
"browser/devtools/client/webconsole/test/browser/test-warning-group-csp.html";
add_task(async function testCSPGroup() {
const GROUP_LABEL = "Content Security Policy warnings";
const GROUP_LABEL = "Content-Security-Policy warnings";
const hud = await openNewTabAndConsole("https://example.org/" + TEST_FILE);