diff options
-rw-r--r-- | data/freedesktop.org.xml.in | 6 | ||||
-rw-r--r-- | tests/mime-detection/list | 8 |
2 files changed, 7 insertions, 7 deletions
diff --git a/data/freedesktop.org.xml.in b/data/freedesktop.org.xml.in index b3fe3b7f..082416db 100644 --- a/data/freedesktop.org.xml.in +++ b/data/freedesktop.org.xml.in @@ -2604,10 +2604,10 @@ command to generate the output files. </magic> <glob pattern="*.pack"/> </mime-type> - <mime-type type="application/javascript"> + <mime-type type="text/javascript"> <comment>JavaScript program</comment> <alias type="application/x-javascript"/> - <alias type="text/javascript"/> + <alias type="application/javascript"/> <sub-class-of type="application/ecmascript"/> <generic-icon name="text-x-script"/> <magic> @@ -2630,7 +2630,7 @@ command to generate the output files. <comment>JSON document</comment> <acronym>JSON</acronym> <expanded-acronym>JavaScript Object Notation</expanded-acronym> - <sub-class-of type="application/javascript"/> + <sub-class-of type="text/javascript"/> <generic-icon name="text-x-script"/> <glob pattern="*.json"/> </mime-type> diff --git a/tests/mime-detection/list b/tests/mime-detection/list index 25ef57ba..29955b8c 100644 --- a/tests/mime-detection/list +++ b/tests/mime-detection/list @@ -302,11 +302,11 @@ helloworld.vbs text/vbscript ox build.gradle text/x-gradle ox ico.ksy text/x-kaitai-struct ox # Copied from http://asurvey.net/ccsfagent/media/survey.js -survey.js application/javascript ox +survey.js text/javascript ox # Copied from gecko/accessible/src/jsat/Utils.jsm in Boot2Gecko -Utils.jsm application/javascript ox -esm.mjs application/javascript ox -javascript-without-extension application/javascript xoo +Utils.jsm text/javascript ox +esm.mjs text/javascript ox +javascript-without-extension text/javascript xoo # The following two copied from RFC 4627. json_object.json application/json ox json_array.json application/json ox |