Bug 1571415 - Add a Console Message for XTCO-Nosniff r=ckerschb draft
authorSebastian Streich <sstreich@mozilla.com>
Wed, 14 Aug 2019 12:44:08 +0000
changeset 11926 3afafcabe40e6cf1cd2d5e769f974333f97d4421
parent 11925 0ec3eceeedd647662ad78138275a4e2f6cf5959c
child 11927 05facf0dd11abd295f3ff801e8193f295ccdcbe6
push id315
push userflodolo@mozilla.com
push dateThu, 15 Aug 2019 04:59:12 +0000
reviewersckerschb
bugs1571415
Bug 1571415 - Add a Console Message for XTCO-Nosniff r=ckerschb Differential Revision: https://phabricator.services.mozilla.com/D41550 X-Channel-Repo: mozilla-central X-Channel-Converted-Revision: 15846b81170a0c7cdeee4f72695e6543fbfe8362 X-Channel-Repo: releases/mozilla-beta X-Channel-Revision: e5d98eda2ec359a0968c567076b1a625cb6c99ce X-Channel-Repo: releases/mozilla-release X-Channel-Revision: 2fb19d0466d2f61674c0af80813645cccd510593 X-Channel-Repo: releases/mozilla-esr68 X-Channel-Revision: a8da73ce90a4110e14caaba3e93d8a086b3a0669
dom/chrome/security/security.properties
--- a/dom/chrome/security/security.properties
+++ b/dom/chrome/security/security.properties
@@ -81,16 +81,19 @@ WeakCipherSuiteWarning=This site uses th
 DeprecatedTLSVersion=This site uses a deprecated version of TLS that will be disabled in March 2020. Please upgrade to TLS 1.2 or 1.3.
 
 #XCTO: nosniff
 # LOCALIZATION NOTE: Do not translate "X-Content-Type-Options: nosniff".
 MimeTypeMismatch2=The resource from “%1$S” was blocked due to MIME type (“%2$S”) mismatch (X-Content-Type-Options: nosniff).
 # LOCALIZATION NOTE: Do not translate "X-Content-Type-Options" and also do not translate "nosniff".
 XCTOHeaderValueMissing=X-Content-Type-Options header warning: value was “%1$S”; did you mean to send “nosniff”?
 
+# LOCALIZATION NOTE: Do not translate "X-Content-Type-Options" and also do not translate "nosniff".
+XTCOWithMIMEValueMissing=The resource from “%1$S” was not rendered due to an unknown, incorrect or missing MIME type (X-Content-Type-Options: nosniff).
+
 BlockScriptWithWrongMimeType2=Script from “%1$S” was blocked because of a disallowed MIME type (“%2$S”).
 WarnScriptWithWrongMimeType=The script from “%1$S” was loaded even though its MIME type (“%2$S”) is not a valid JavaScript MIME type.
 # LOCALIZATION NOTE: Do not translate "importScripts()"
 BlockImportScriptsWithWrongMimeType=Loading script from “%1$S” with importScripts() was blocked because of a disallowed MIME type (“%2$S”).
 BlockWorkerWithWrongMimeType=Loading Worker from “%1$S” was blocked because of a disallowed MIME type (“%2$S”).
 BlockModuleWithWrongMimeType=Loading module from “%1$S” was blocked because of a disallowed MIME type (“%2$S”).
 
 # LOCALIZATION NOTE: Do not translate "data: URI".