|
|
@ -10,86 +10,84 @@ |
|
|
|
{"input": "font/woff", "groups": ["font"]}, |
|
|
|
{"input": "font/x", "groups": ["font"]}, |
|
|
|
{"input": "application/font-cff", "groups": ["font"]}, |
|
|
|
{"input": "application/font-off", "groups": ["font"]}, |
|
|
|
{"input": "application/font-sfnt", "groups": ["font"]}, |
|
|
|
{"input": "application/font-ttf", "groups": ["font"]}, |
|
|
|
{"input": "application/font-woff", "groups": ["font"]}, |
|
|
|
{"input": "application/vnd.ms-fontobject", "groups": ["font"]}, |
|
|
|
{"input": "application/vnd.ms-opentype", "groups": ["font"]}, |
|
|
|
{"input": "application/font-cff;x=x", "groups": ["font"]}, |
|
|
|
{"input": "application/font-off", "groups": ["font"]}, |
|
|
|
{"input": "application/font-off;x=x", "groups": ["font"]}, |
|
|
|
{"input": "application/font-sfnt", "groups": ["font"]}, |
|
|
|
{"input": "application/font-sfnt;x=x", "groups": ["font"]}, |
|
|
|
{"input": "application/font-ttf", "groups": ["font"]}, |
|
|
|
{"input": "application/font-ttf;x=x", "groups": ["font"]}, |
|
|
|
{"input": "application/font-woff", "groups": ["font"]}, |
|
|
|
{"input": "application/font-woff;x=x", "groups": ["font"]}, |
|
|
|
{"input": "application/vnd.ms-fontobject", "groups": ["font"]}, |
|
|
|
{"input": "application/vnd.ms-fontobject;x=x", "groups": ["font"]}, |
|
|
|
{"input": "application/vnd.ms-opentype", "groups": ["font"]}, |
|
|
|
{"input": "application/vnd.ms-opentype;x=x", "groups": ["font"]}, |
|
|
|
{"input": "x/x+zip", "groups": ["ZIP-based"]}, |
|
|
|
{"input": "x/+zip", "groups": ["ZIP-based"]}, |
|
|
|
{"input": "x/x+zip;x=x", "groups": ["ZIP-based"]}, |
|
|
|
{"input": "x/+zip", "groups": ["ZIP-based"]}, |
|
|
|
{"input": "x/+zip;x=x", "groups": ["ZIP-based"]}, |
|
|
|
"application/zip also matches the archive group", |
|
|
|
{"input": "application/zip", "groups": ["ZIP-based", "archive"]}, |
|
|
|
{"input": "application/zip;x=x", "groups": ["ZIP-based", "archive"]}, |
|
|
|
{"input": "application/x-rar-compressed", "groups": ["archive"]}, |
|
|
|
{"input": "application/x-gzip", "groups": ["archive"]}, |
|
|
|
{"input": "application/x-rar-compressed;x=x", "groups": ["archive"]}, |
|
|
|
{"input": "application/x-gzip", "groups": ["archive"]}, |
|
|
|
{"input": "application/x-gzip;x=x", "groups": ["archive"]}, |
|
|
|
"XML is also scriptable", |
|
|
|
{"input": "x/x+xml", "groups": ["XML", "scriptable"]}, |
|
|
|
{"input": "x/+xml", "groups": ["XML", "scriptable"]}, |
|
|
|
{"input": "x/x+xml;x=x", "groups": ["XML", "scriptable"]}, |
|
|
|
{"input": "x/+xml", "groups": ["XML", "scriptable"]}, |
|
|
|
{"input": "x/+xml;x=x", "groups": ["XML", "scriptable"]}, |
|
|
|
{"input": "application/xml", "groups": ["XML", "scriptable"]}, |
|
|
|
{"input": "text/xml", "groups": ["XML", "scriptable"]}, |
|
|
|
{"input": "application/xml;x=x", "groups": ["XML", "scriptable"]}, |
|
|
|
{"input": "text/xml", "groups": ["XML", "scriptable"]}, |
|
|
|
{"input": "text/xml;x=x", "groups": ["XML", "scriptable"]}, |
|
|
|
"HTML is scriptable", |
|
|
|
{"input": "text/html", "groups": ["HTML", "scriptable"]}, |
|
|
|
{"input": "text/html;x=x", "groups": ["HTML", "scriptable"]}, |
|
|
|
"XHTML is not considered HTML", |
|
|
|
{"input": "application/xhtml+xml", "groups": ["XML", "scriptable"]}, |
|
|
|
"PDF is scriptable", |
|
|
|
{"input": "application/pdf", "groups": ["scriptable"]}, |
|
|
|
{"input": "application/pdf;x=x", "groups": ["scriptable"]}, |
|
|
|
{"input": "application/ecmascript", "groups": ["JavaScript"]}, |
|
|
|
{"input": "application/javascript", "groups": ["JavaScript"]}, |
|
|
|
{"input": "application/x-ecmascript", "groups": ["JavaScript"]}, |
|
|
|
{"input": "application/x-javascript", "groups": ["JavaScript"]}, |
|
|
|
{"input": "text/ecmascript", "groups": ["JavaScript"]}, |
|
|
|
{"input": "text/javascript", "groups": ["JavaScript"]}, |
|
|
|
{"input": "text/javascript1.0", "groups": ["JavaScript"]}, |
|
|
|
{"input": "text/javascript1.1", "groups": ["JavaScript"]}, |
|
|
|
{"input": "text/javascript1.2", "groups": ["JavaScript"]}, |
|
|
|
{"input": "text/javascript1.3", "groups": ["JavaScript"]}, |
|
|
|
{"input": "text/javascript1.4", "groups": ["JavaScript"]}, |
|
|
|
{"input": "text/javascript1.5", "groups": ["JavaScript"]}, |
|
|
|
{"input": "text/jscript", "groups": ["JavaScript"]}, |
|
|
|
{"input": "text/livescript", "groups": ["JavaScript"]}, |
|
|
|
{"input": "text/x-ecmascript", "groups": ["JavaScript"]}, |
|
|
|
{"input": "text/x-javascript", "groups": ["JavaScript"]}, |
|
|
|
{"input": "application/ecmascript;x=x", "groups": ["JavaScript"]}, |
|
|
|
{"input": "application/javascript", "groups": ["JavaScript"]}, |
|
|
|
{"input": "application/javascript;x=x", "groups": ["JavaScript"]}, |
|
|
|
{"input": "application/x-ecmascript", "groups": ["JavaScript"]}, |
|
|
|
{"input": "application/x-ecmascript;x=x", "groups": ["JavaScript"]}, |
|
|
|
{"input": "application/x-javascript", "groups": ["JavaScript"]}, |
|
|
|
{"input": "application/x-javascript;x=x", "groups": ["JavaScript"]}, |
|
|
|
{"input": "text/ecmascript", "groups": ["JavaScript"]}, |
|
|
|
{"input": "text/ecmascript;x=x", "groups": ["JavaScript"]}, |
|
|
|
{"input": "text/javascript", "groups": ["JavaScript"]}, |
|
|
|
{"input": "text/javascript;x=x", "groups": ["JavaScript"]}, |
|
|
|
{"input": "text/javascript1.0", "groups": ["JavaScript"]}, |
|
|
|
{"input": "text/javascript1.0;x=x", "groups": ["JavaScript"]}, |
|
|
|
{"input": "text/javascript1.1", "groups": ["JavaScript"]}, |
|
|
|
{"input": "text/javascript1.1;x=x", "groups": ["JavaScript"]}, |
|
|
|
{"input": "text/javascript1.2", "groups": ["JavaScript"]}, |
|
|
|
{"input": "text/javascript1.2;x=x", "groups": ["JavaScript"]}, |
|
|
|
{"input": "text/javascript1.3", "groups": ["JavaScript"]}, |
|
|
|
{"input": "text/javascript1.3;x=x", "groups": ["JavaScript"]}, |
|
|
|
{"input": "text/javascript1.4", "groups": ["JavaScript"]}, |
|
|
|
{"input": "text/javascript1.4;x=x", "groups": ["JavaScript"]}, |
|
|
|
{"input": "text/javascript1.5", "groups": ["JavaScript"]}, |
|
|
|
{"input": "text/javascript1.5;x=x", "groups": ["JavaScript"]}, |
|
|
|
{"input": "text/jscript", "groups": ["JavaScript"]}, |
|
|
|
{"input": "text/jscript;x=x", "groups": ["JavaScript"]}, |
|
|
|
{"input": "text/livescript", "groups": ["JavaScript"]}, |
|
|
|
{"input": "text/livescript;x=x", "groups": ["JavaScript"]}, |
|
|
|
{"input": "text/x-ecmascript", "groups": ["JavaScript"]}, |
|
|
|
{"input": "text/x-ecmascript;x=x", "groups": ["JavaScript"]}, |
|
|
|
{"input": "text/x-javascript", "groups": ["JavaScript"]}, |
|
|
|
{"input": "text/x-javascript;x=x", "groups": ["JavaScript"]}, |
|
|
|
{"input": "x/x+json", "groups": ["JSON"]}, |
|
|
|
{"input": "x/+json", "groups": ["JSON"]}, |
|
|
|
{"input": "x/x+json;x=x", "groups": ["JSON"]}, |
|
|
|
{"input": "x/+json", "groups": ["JSON"]}, |
|
|
|
{"input": "x/+json;x=x", "groups": ["JSON"]}, |
|
|
|
{"input": "application/json", "groups": ["JSON"]}, |
|
|
|
{"input": "text/json", "groups": ["JSON"]}, |
|
|
|
{"input": "application/json;x=x", "groups": ["JSON"]}, |
|
|
|
{"input": "text/json", "groups": ["JSON"]}, |
|
|
|
{"input": "text/json;x=x", "groups": ["JSON"]}, |
|
|
|
"Sanity check", |
|
|
|
{"input": "x/x", "groups": []}, |
|
|
@ -150,6 +148,8 @@ |
|
|
|
{"input": "image/svg+xml", "groups": ["image", "XML", "scriptable"]}, |
|
|
|
"Hypothetical SVG font type", |
|
|
|
{"input": "font/svg+xml", "groups": ["font", "XML", "scriptable"]}, |
|
|
|
"XHTML is not considered HTML", |
|
|
|
{"input": "application/xhtml+xml", "groups": ["XML", "scriptable"]}, |
|
|
|
"Subtype longer than 255", |
|
|
|
{"input": "x/01234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789+zip", |
|
|
|
"groups": ["ZIP-based"]}, |
|
|
|