<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>27644</bug_id>
          
          <creation_ts>2014-12-17 23:53:08 +0000</creation_ts>
          <short_desc>Defaulting to obsolete MIME type text/javascript which was obsoleted in 2006 by RFC4329</short_desc>
          <delta_ts>2014-12-18 00:54:17 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>HTML WG</product>
          <component>HTML5 spec</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>6684</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>gerwin</reporter>
          <assigned_to name="This bug has no owner yet - up for the taking">dave.null</assigned_to>
          <cc>eoconnor</cc>
    
    <cc>mike</cc>
    
    <cc>public-html-admin</cc>
    
    <cc>public-html-wg-issue-tracking</cc>
    
    <cc>sierkb</cc>
          
          <qa_contact name="HTML WG Bugzilla archive list">public-html-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>116438</commentid>
    <comment_count>0</comment_count>
    <who name="">gerwin</who>
    <bug_when>2014-12-17 23:53:08 +0000</bug_when>
    <thetext>The HTML5.1 script tag constantly refers to the &quot;text/javascript&quot; 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 &quot;application/ecmascript&quot; or &quot;application/javascript&quot;.

Excerpt from the Spec:

&quot;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 &quot;text/javascript&quot;.&quot;


As per RFC4329 Section 3

Use of the &quot;text&quot; 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 &quot;obsolete&quot;.  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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>116440</commentid>
    <comment_count>1</comment_count>
    <who name="Edward O&apos;Connor">eoconnor</who>
    <bug_when>2014-12-18 00:05:29 +0000</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 6684 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>