summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2014-04-01 10:11:32 +0200
committerBastien Nocera <hadess@hadess.net>2014-04-01 10:11:32 +0200
commita6d00cedc6eafe9af825f3f4267f27abfff65baa (patch)
treefc9c6b99d2cf42507df0140cac701cb68ce05f1b
parent3805d0bcf22b6344fb4a4a36ad4e15e30d17b624 (diff)
downloadshared-mime-info-a6d00cedc6eafe9af825f3f4267f27abfff65baa.tar.gz
Add *.jsm glob for Javascript
As used in Gecko/Firefox related projects. https://bugs.freedesktop.org/show_bug.cgi?id=75031
-rw-r--r--freedesktop.org.xml.in1
-rw-r--r--tests/list2
2 files changed, 3 insertions, 0 deletions
diff --git a/freedesktop.org.xml.in b/freedesktop.org.xml.in
index 4350437e..49c1c7ae 100644
--- a/freedesktop.org.xml.in
+++ b/freedesktop.org.xml.in
@@ -2176,6 +2176,7 @@ command to generate the output files.
<sub-class-of type="text/x-csrc"/>
<generic-icon name="text-x-script"/>
<glob pattern="*.js"/>
+ <glob pattern="*.jsm"/>
</mime-type>
<mime-type type="application/json">
<_comment>JSON document</_comment>
diff --git a/tests/list b/tests/list
index 10cfe551..bfb375a8 100644
--- a/tests/list
+++ b/tests/list
@@ -217,6 +217,8 @@ bug-30656-xchat.conf text/plain x
helloworld.java text/x-java ox
# Copied from http://asurvey.net/ccsfagent/media/survey.js
survey.js application/javascript ox
+# Copied from gecko/accessible/src/jsat/Utils.jsm in Boot2Gecko
+Utils.jsm application/javascript ox
# The following two copied from RFC 4627.
json_object.json application/json ox
json_array.json application/json ox