From f4e7cbc86e67e7bc39cf8167823fcf0d8ace9ce1 Mon Sep 17 00:00:00 2001 From: Bastien Nocera Date: Mon, 23 May 2022 21:26:35 +0200 Subject: 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, . --- data/freedesktop.org.xml.in | 6 +++--- 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. - + JavaScript program - + @@ -2630,7 +2630,7 @@ command to generate the output files. JSON document JSON JavaScript Object Notation - + 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 -- cgit v1.2.1