- From: Jeff Cutsinger <jeff@cutsinger.org>
- Date: Mon, 02 Apr 2007 15:04:19 -0500
- To: Dean Edwards <dean@edwards.name>
- CC: Vitaly Harisov <vitaly@harisov.name>, public-html@w3.org
Received on Monday, 2 April 2007 20:04:39 UTC
Dean Edwards wrote: > Jeff Cutsinger wrote: >> Vitaly Harisov wrote: >>> I suggest to define 'text/javascript' as default value to script's >>> 'type' attribute. >>> >> >> Except that text/javascript is deprecated. The default should be >> application/javascript. >> > > Actually it's: > > application/x-javascript > > -dean No, actually it's application/javascript. From RFC4329: > 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. See also http://www.iana.org/assignments/media-types/application/, which lists javascript and ecmascript. Jeff Cutsinger
Received on Monday, 2 April 2007 20:04:39 UTC