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 /dom/base/nsContentUtils.h | |
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 'dom/base/nsContentUtils.h')
-rw-r--r-- | dom/base/nsContentUtils.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/dom/base/nsContentUtils.h b/dom/base/nsContentUtils.h index 0a293d73e..0932f451e 100644 --- a/dom/base/nsContentUtils.h +++ b/dom/base/nsContentUtils.h @@ -1018,12 +1018,7 @@ public: static bool IsChildOfSameType(nsIDocument* aDoc); /** - '* Returns true if the content-type is any of the supported script types. - */ - static bool IsScriptType(const nsACString& aContentType); - - /** - '* Returns true if the content-type will be rendered as plain-text. + * Returns true if the content-type will be rendered as plain-text. */ static bool IsPlainTextType(const nsACString& aContentType); |