W3C home > Mailing lists > Public > public-html@w3.org > August 2009

Re: The script element

From: L. David Baron <dbaron@dbaron.org>
Date: Mon, 3 Aug 2009 08:06:01 -0700
To: Geoffrey Sneddon <gsneddon@opera.com>
Cc: HTMLWG WG <public-html@w3.org>
Message-ID: <20090803150601.GA3788@pickering.dbaron.org>
On Monday 2009-08-03 14:01 +0200, Geoffrey Sneddon wrote:
> Off that list, only IE and Chromium support text/javascript1.1,  
> text/javascript1.2, and text/javascript1.3, and nothing supports the  
> remainder of the text/javascript1.* media types (it appears Firefox and  
> Opera don't treat @language as "text/" + @language, with Firefox having  
> a separate list for @language, while Opera just ignores @language  
> completely).

For what it's worth, Mozilla supports the types: "text/javascript",
"text/ecmascript", "application/javascript",
"application/ecmascript", and "application/x-javascript", and
supports a "version" parameter on all of those types, which is in
the range 1.0 to 1.8 (exact string match, not numeric match), and
also an "e4x" parameter taking values "0" or "1" (for example,
"text/javascript; version=1.7").  Which version is specified turns
on/off a number of language features that may be
backwards-incompatible.

-David

-- 
L. David Baron                                 http://dbaron.org/
Mozilla Corporation                       http://www.mozilla.com/
Received on Monday, 3 August 2009 15:06:53 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 9 May 2012 00:16:43 GMT