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

Yes, that seems like the correct fix


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.
> 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