This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
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.
*** This bug has been marked as a duplicate of bug 6684 ***