- From: Brendan Eich <brendan@secure.meer.net>
- Date: Thu, 13 Nov 2014 11:36:03 -0800
- To: Boris Zbarsky <bzbarsky@mit.edu>
- CC: "public-script-coord@w3.org" <public-script-coord@w3.org>
Boris Zbarsky wrote: > Currently Web IDL does not provide the "this" value a static method > was invoked with to the implementation of the static method. > > However, it seems like supporting subclassing might require access to > this object. For example, Promise.resolve actually uses the "this" > value to construct the promise to be returned... > > Is this an unlikely edge case, or should we adjust Web IDL to pass in > the this value? Not an edge case, ES6 normative for class-side inheritance, as in the Promise.resolve example. /be
Received on Thursday, 13 November 2014 19:36:33 UTC