summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAlex Henrie <alexhenrie24@gmail.com>2020-03-28 03:25:31 -0600
committerAlex Henrie <alexhenrie24@gmail.com>2020-03-28 03:25:31 -0600
commit6b14de9ff884a5ffcc5d6dbf2279e9a5f4ff057f (patch)
tree6adbc0bc6013101e2a1e5c1351fe2c4af6222334 /tests
parent6f67e1137d18274453f2de482a67f927dc7835ea (diff)
downloadshared-mime-info-6b14de9ff884a5ffcc5d6dbf2279e9a5f4ff057f.tar.gz
Add text/vbscript
Section 18.2.2 of the HTML 4.0 specification gives "text/vbscript" as the MIME type for VBScript and no later standard has changed that. Internet Explorer also accepts the nonstandard type text/vbs for these files. https://www.w3.org/TR/1998/REC-html40-19980424/interact/scripts.html#h-18.2.2
Diffstat (limited to 'tests')
-rw-r--r--tests/mime-detection/helloworld.vbs1
-rw-r--r--tests/mime-detection/list1
2 files changed, 2 insertions, 0 deletions
diff --git a/tests/mime-detection/helloworld.vbs b/tests/mime-detection/helloworld.vbs
new file mode 100644
index 00000000..43049052
--- /dev/null
+++ b/tests/mime-detection/helloworld.vbs
@@ -0,0 +1 @@
+MsgBox("Hello World!")
diff --git a/tests/mime-detection/list b/tests/mime-detection/list
index e014fbaf..3e9dd5b0 100644
--- a/tests/mime-detection/list
+++ b/tests/mime-detection/list
@@ -256,6 +256,7 @@ bug-30656-xchat.conf application/octet-stream oxx
bug-30656-xchat.conf text/plain x
helloworld.java text/x-java ox
helloworld.groovy text/x-groovy ox
+helloworld.vbs text/vbscript ox
build.gradle text/x-gradle ox
# Copied from http://asurvey.net/ccsfagent/media/survey.js
survey.js application/javascript ox