Commit f4e7cbc8 authored by Bastien Nocera's avatar Bastien Nocera
Browse files

application/javascript: Rename to text/javascript

As per RFC 9239.

Miller, M., Borins, M., Bynens, M., and B. Farias, "Updates to ECMAScript
Media Types", RFC 9239, DOI 10.17487/RFC9239, May 2022,
<https://www.rfc-editor.org/info/rfc9239>.
parent 35969aa0
Pipeline #610307 passed with stage
in 49 seconds
...@@ -2604,10 +2604,10 @@ command to generate the output files. ...@@ -2604,10 +2604,10 @@ command to generate the output files.
</magic> </magic>
<glob pattern="*.pack"/> <glob pattern="*.pack"/>
</mime-type> </mime-type>
<mime-type type="application/javascript"> <mime-type type="text/javascript">
<comment>JavaScript program</comment> <comment>JavaScript program</comment>
<alias type="application/x-javascript"/> <alias type="application/x-javascript"/>
<alias type="text/javascript"/> <alias type="application/javascript"/>
<sub-class-of type="application/ecmascript"/> <sub-class-of type="application/ecmascript"/>
<generic-icon name="text-x-script"/> <generic-icon name="text-x-script"/>
<magic> <magic>
...@@ -2630,7 +2630,7 @@ command to generate the output files. ...@@ -2630,7 +2630,7 @@ command to generate the output files.
<comment>JSON document</comment> <comment>JSON document</comment>
<acronym>JSON</acronym> <acronym>JSON</acronym>
<expanded-acronym>JavaScript Object Notation</expanded-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"/> <generic-icon name="text-x-script"/>
<glob pattern="*.json"/> <glob pattern="*.json"/>
</mime-type> </mime-type>
......
...@@ -302,11 +302,11 @@ helloworld.vbs text/vbscript ox ...@@ -302,11 +302,11 @@ helloworld.vbs text/vbscript ox
build.gradle text/x-gradle ox build.gradle text/x-gradle ox
ico.ksy text/x-kaitai-struct ox ico.ksy text/x-kaitai-struct ox
# Copied from http://asurvey.net/ccsfagent/media/survey.js # 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 # Copied from gecko/accessible/src/jsat/Utils.jsm in Boot2Gecko
Utils.jsm application/javascript ox Utils.jsm text/javascript ox
esm.mjs application/javascript ox esm.mjs text/javascript ox
javascript-without-extension application/javascript xoo javascript-without-extension text/javascript xoo
# The following two copied from RFC 4627. # The following two copied from RFC 4627.
json_object.json application/json ox json_object.json application/json ox
json_array.json application/json ox json_array.json application/json ox
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment