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

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

From: Allen Wirfs-Brock <allen@wirfs-brock.com>
Date: Mon, 22 Aug 2011 17:26:21 -0700
Cc: public-script-coord@w3.org
Message-Id: <A384701A-AACC-4A03-92E3-72EFEB763423@wirfs-brock.com>
To: Cameron McCormack <cam@mcc.id.au>
Yes, that seems like the correct fix

Allen

On Aug 22, 2011, at 5:06 PM, Cameron McCormack wrote:

> 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:27:09 UTC

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