- From: <bugzilla@jessica.w3.org>
- Date: Wed, 17 Dec 2014 23:53:08 +0000
- To: public-html-admin@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=27644 Bug ID: 27644 Summary: Defaulting to obsolete MIME type text/javascript which was obsoleted in 2006 by RFC4329 Product: HTML WG Version: unspecified Hardware: PC OS: Linux Status: NEW Severity: normal Priority: P2 Component: HTML5 spec Assignee: dave.null@w3.org Reporter: gerwin@vandesteeg.co.nz QA Contact: public-html-bugzilla@w3.org CC: mike@w3.org, public-html-admin@w3.org, public-html-wg-issue-tracking@w3.org The HTML5.1 script tag constantly refers to the "text/javascript" MIME type which has been obsolete since 2006 according to RFC4329. We should stop using the obsolete MIME type and move on to one of the non-obsoleted MIME types, be this "application/ecmascript" or "application/javascript". Excerpt from the Spec: "The type attribute gives the language of the script or format of the data. If the attribute is present, its value must be a valid MIME type. The charset parameter must not be specified. The default, which is used if the attribute is absent, is "text/javascript"." As per RFC4329 Section 3 Use of the "text" top-level type for this kind of content is known to be problematic. This document thus defines text/javascript and text/ ecmascript but marks them as "obsolete". Use of experimental and unregistered media types, as listed in part above, is discouraged. The media types, * application/javascript * application/ecmascript which are also defined in this document, are intended for common use and should be used instead. -- You are receiving this mail because: You are on the CC list for the bug.
Received on Wednesday, 17 December 2014 23:53:11 UTC