Bug 867

Summary: JavaScript mime-type signature
Product: shared-mime-info Reporter: Michael A Nachbaur <mike>
Component: freedesktop.org.xmlAssignee: 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:

Description Michael A Nachbaur 2004-07-14 05:38:36 UTC
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>
Comment 1 Christophe Fergeau 2004-11-01 13:32:11 UTC
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 ?
Comment 2 Stewart Jeacocke 2005-05-02 07:21:10 UTC
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.