Change Content-Type-Options: nosniff allowed script MIME types to match the spec.
bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1431095
gecko-commit: 38626987c0cfd6e715cfcc6f4f1a1209191a03c5
gecko-integration-branch: central
gecko-reviewers: ckerschb
diff --git a/fetch/nosniff/script.html b/fetch/nosniff/script.html
index 6532e3d..e0b5dac 100644
--- a/fetch/nosniff/script.html
+++ b/fetch/nosniff/script.html
@@ -5,7 +5,7 @@
   var log = function() {}, // see comment below
       p = function() {}, // see comment below
       fails = [null, "", "x", "x/x", "text/html", "text/json"],
-      passes = ["text/javascript", "text/ecmascript", "text/ecmascript;blah"]
+      passes = ["text/javascript", "text/ecmascript", "text/ecmascript;blah", "text/javascript1.0"]
 
   // Ideally we'd also check whether the scripts in fact execute, but that would involve
   // timers and might get a bit racy without cross-browser support for the execute events.