Opened 10 years ago
Closed 10 years ago
#29196 closed enhancement (fixed)
Set the MIME-Types of JS files to application/javascript
Reported by: | sergej.mueller | Owned by: | wonderboymusic |
---|---|---|---|
Milestone: | 4.2 | Priority: | normal |
Severity: | normal | Version: | 3.9 |
Component: | Script Loader | Keywords: | has-patch |
Focuses: | javascript | Cc: |
Description
From application/x-javascript to application/javascript.
References:
http://www.iana.org/assignments/media-types/application/javascript
http://www.iana.org/assignments/media-types/media-types.xhtml#application
Attachments (1)
Change History (4)
Note: See
TracTickets for help on using
tickets.
Looks good to me.
text/javascript
is obsolete,application/x-javascript
was experimental.application/javascript
is the recommended type per RFC 4329.However,
application/javascript
is not accepted in IE8 or earlier (per Wikipedia), not sure if that's an issue for us (technically we still support IE7).