diff options
author | janekptacijarabaci <janekptacijarabaci@seznam.cz> | 2018-04-03 19:50:55 +0200 |
---|---|---|
committer | janekptacijarabaci <janekptacijarabaci@seznam.cz> | 2018-04-03 19:50:55 +0200 |
commit | 3968897fb4b227b1a634700cbeaea715e58ac543 (patch) | |
tree | f07bc2a6ec5b759ba56180200070bc3485e52dee /testing/web-platform/tests/fetch/nosniff | |
parent | dc8aad9b9dc6983bb88aa586f34d9db007840eb8 (diff) | |
download | UXP-3968897fb4b227b1a634700cbeaea715e58ac543.tar UXP-3968897fb4b227b1a634700cbeaea715e58ac543.tar.gz UXP-3968897fb4b227b1a634700cbeaea715e58ac543.tar.lz UXP-3968897fb4b227b1a634700cbeaea715e58ac543.tar.xz UXP-3968897fb4b227b1a634700cbeaea715e58ac543.zip |
Bug 1431095 - Change Content-Type-Options: nosniff allowed script MIME types to match the spec
Diffstat (limited to 'testing/web-platform/tests/fetch/nosniff')
-rw-r--r-- | testing/web-platform/tests/fetch/nosniff/script.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/testing/web-platform/tests/fetch/nosniff/script.html b/testing/web-platform/tests/fetch/nosniff/script.html index 667f3c99a..c5c5167f5 100644 --- a/testing/web-platform/tests/fetch/nosniff/script.html +++ b/testing/web-platform/tests/fetch/nosniff/script.html @@ -4,8 +4,8 @@ <script> var log = function() {}, // see comment below p = function() {}, // see comment below - fails = ["", "?type=", "?type=x", "?type=x/x"], - passes = ["?type=text/javascript", "?type=text/ecmascript", "?type=text/ecmascript;blah"] + fails = ["", "?type=", "?type=x", "?type=x/x", "?type=text/json"], + passes = ["?type=text/javascript", "?type=text/ecmascript", "?type=text/ecmascript;blah", "?type=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. |