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,
parent 35969aa0
......@@ -2604,10 +2604,10 @@ command to generate the output files.
<glob pattern="*.pack"/>
<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"/>
......@@ -2630,7 +2630,7 @@ command to generate the output files.
<comment>JSON document</comment>
<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"/>
......@@ -302,11 +302,11 @@ helloworld.vbs text/vbscript ox
build.gradle text/x-gradle ox
ico.ksy text/x-kaitai-struct ox
# Copied from
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
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