W3C home > Mailing lists > Public > public-svg-wg@w3.org > July to September 2010

Re: Browsers and ECMAscript editions

From: Oliver Hunt <oliver@apple.com>
Date: Mon, 12 Jul 2010 10:08:11 -0700
Cc: SVG Working Group WG <public-svg-wg@w3.org>
Message-Id: <E06B25CD-1C39-4713-9B69-D10CF3CD44DA@apple.com>
To: Chris Lilley <chris@w3.org>
Broadly speaking all of the major browsers are moving towards support for ES5, however much like HTML5 support comes in gradually over time -- a number of engines supported features that became part of ES5 years ago, some features have are supported only in the most recent releases, and some features are still some way off.

That said from the PoV of a spec there isn't a substantial change in language semantics between ES3 and ES5, the only real difference is the change in property attribute terminology:
ES3           ES5
DontEnum      enumerable
ReadOnly      writable
DontDelete    configurable

The basic difference is that the meanings are reversed, eg. DontEnum == !enumerable

But even these terms i think only really matter to the WebIDL spec -- the WebIDL spec provides the wrapper that most DOM related specs seem to use in defining behaviour.

--Oliver

On Jul 12, 2010, at 9:50 AM, Chris Lilley wrote:

> On Monday, July 12, 2010, 4:19:06 PM, Chris wrote:
> 
> CL> Hello,
> 
> CL> Mohamed has asked us to link to ECMAScript 5th Edition of
> CL> December 2009. We aren't sure what edition is actually implemented
> CL> in browsers, and other SVG implementors.
> 
> CL> Comments by implementors would help here.
> 
> Mozilla  seems to be proceeding with ECMAScript 5th edition (1.5)
> https://developer.mozilla.org/En/JavaScript/ECMAScript_5_support_in_Mozilla
> 
> Webkit also
> http://labs.trolltech.com/blogs/2010/01/15/ecmascript-5-and-webkitjavascriptcore/
> 
> Opera has partial support and 'will support it once finalized'
> http://www.opera.com/docs/specs/presto25/#ecmascript
> 
> Its not clear whether Mozilla Rhino
> http://www.mozilla.org/rhino/
> and thus other engines which use Rhino, such as Batik
> http://xmlgraphics.apache.org/batik/using/scripting/ecmascript.html
> are on ECMAScript 5.
> 
> A bugzilla bug indicates that it is requested, and may be underway
> https://bugzilla.mozilla.org/show_bug.cgi?id=489326
> https://developer.mozilla.org/en/Rhino_Wish_List#Implement_ECMAScript_edition_5
> 
> 
> CL> ISSUE-2344 
> CL> ACTION-2821
> 
> 
> 
> 
> 
> -- 
> Chris Lilley                    mailto:chris@w3.org
> Technical Director, Interaction Domain
> W3C Graphics Activity Lead
> Co-Chair, W3C Hypertext CG
> 
> 
Received on Monday, 12 July 2010 17:10:19 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:20:12 UTC