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

Re: [[Call]] behaviour of operations

From: Geoffrey Sneddon <gsneddon@opera.com>
Date: Mon, 12 Sep 2011 07:29:42 +0100
Message-ID: <4E6DA6D6.7070407@opera.com>
To: Cameron McCormack <cam@mcc.id.au>
CC: Allen Wirfs-Brock <allen@wirfs-brock.com>, public-script-coord@w3.org
On 09/09/11 12:25, Cameron McCormack wrote:
> On 29/08/11 9:08 PM, Geoffrey Sneddon wrote:
>> Right, so to be consistent with ES built-ins, my suggestion would be
>> simply to add a step 0 to the first list in #es-operations saying:
>> "If the interface on which the operation appears has an [ImplicitThis]
>> extended attribute, and the this value is null or undefined, then let O
>> be the ECMAScript global object associated with the Function object."
>> And change step 1 to start with "Otherwise,".
> I've made this change (or thereabouts).
> http://dev.w3.org/cvsweb/2006/webapi/WebIDL/Overview.html.diff?r1=1.396;r2=1.397;f=h

For the sake of the disposition of comments: I'm happy with that change, 
provided a similar change is made for attribute getters and setters.

Geoffrey Sneddon — Opera Software
Received on Monday, 12 September 2011 06:30:50 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:14:04 UTC