W3C home > Mailing lists > Public > public-script-coord@w3.org > July to September 2011

Re: [WebIDL] Use of ECMAScript [[Put]] in WebIDL algorithms

From: Cameron McCormack <cam@mcc.id.au>
Date: Tue, 23 Aug 2011 12:06:06 +1200
Message-ID: <4E52EEEE.9050605@mcc.id.au>
To: Allen Wirfs-Brock <allen@wirfs-brock.com>
CC: public-script-coord@w3.org
Hi Allen.

Thanks for the comment.

On 22/07/11 9:12 AM, Allen Wirfs-Brock wrote:
> I spotted the following issue in 4.2.17 of WebIDL.  It may well
> occurs other places too.
...
> It is for this reason that in the ECMAScript specification we avoid
> using [[Put]] when we specify object construction algorithms like
> this one.  Instead of [[Put]] we use [[DefineOwnProperty]] which will
> create a property without invoking inherited setters.

That makes sense.  I've made the change there and in the correspond 
section for sequence values.

http://dev.w3.org/cvsweb/2006/webapi/WebIDL/Overview.html.diff?r1=1.349;r2=1.350;f=h

Could you please indicate whether you are satisfied with this resolution 
so that I can include this in the Disposition of Comments document I'll 
need to prepare.

Thanks,

Cameron
Received on Tuesday, 23 August 2011 00:06:55 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 8 May 2013 19:30:04 UTC