| Summary: | JavaScript mime-type signature | ||
|---|---|---|---|
| Product: | shared-mime-info | Reporter: | Michael A Nachbaur <mike> |
| Component: | freedesktop.org.xml | Assignee: | Jonathan Blandford <jrb> |
| Status: | RESOLVED WONTFIX | QA Contact: | |
| Severity: | normal | ||
| Priority: | high | ||
| Version: | unspecified | ||
| Hardware: | x86 (IA32) | ||
| OS: | Linux (All) | ||
| Whiteboard: | |||
| i915 platform: | i915 features: | ||
The correct mime type for javascript files seem to be application/x-javascript, and it's already present in the mime database. Is application/x-javascript causing problems for you, or is it ok ? Cleaning up bugzilla. Correct mime-type already exists |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.
In order to properly detect JavaScript files, I've added the following to my local freedesktop.org.xml file. If sufficient, it would be nice if this could be included in the official version (though I haven't i18n'd the comment). <mime-type type="text/x-javascript"> <comment>JavaScript sources</comment> <glob pattern="*.js"/> </mime-type>