Re: Object.{getPropertyDescriptor,getPropertyNames}

2011-09-06 Thread Mark S. Miller
[+stay] On Tue, Sep 6, 2011 at 7:35 AM, David Bruant wrote: [...] > I guess i should ask the question more directly: > Should (some) current inheritance-based expectations be turn into > invariants? Are there good arguments to do so? Or are own layer invariants > enough? > In a way, having a non

Re: Object.{getPropertyDescriptor,getPropertyNames}

2011-09-06 Thread David Bruant
Le 06/09/2011 16:12, Tom Van Cutsem a écrit : 2011/9/3 David Bruant > If i recall correctly, this proposal was on hold because of the fixed properties proposal (only getPropertyDescriptor I think). The idea was that if there is a getPropertyDescriptor tr

Re: Object.{getPropertyDescriptor,getPropertyNames}

2011-09-06 Thread Tom Van Cutsem
2011/9/3 David Bruant > If i recall correctly, this proposal was on hold because of the fixed > properties proposal (only getPropertyDescriptor I think). > The idea was that if there is a getPropertyDescriptor trap, then it > became impossible (or it would just require some proto-climbing with >

Re: Object.{getPropertyDescriptor,getPropertyNames}

2011-09-03 Thread David Bruant
Le 03/09/2011 00:33, David Herman a écrit : > The proxies page refers to Object.getPropertyDescriptor and > Object.getPropertyNames as the obvious operations that they ought to be, but > also points out that they aren't in ES5. Is there a part of the wiki specs > that explicitly state that they

Re: Object.{getPropertyDescriptor,getPropertyNames}

2011-09-02 Thread David Herman
Duly chastised. :) Dave On Sep 2, 2011, at 3:39 PM, Brendan Eich wrote: > Already in harmony: namespace on the wiki: > > http://wiki.ecmascript.org/doku.php?id=harmony:extended_object_api&s=object+getpropertydescriptor > > (note the &s=... query part shows I found this by searching -- worked!)

Re: Object.{getPropertyDescriptor,getPropertyNames}

2011-09-02 Thread Brendan Eich
Already in harmony: namespace on the wiki: http://wiki.ecmascript.org/doku.php?id=harmony:extended_object_api&s=object+getpropertydescriptor (note the &s=... query part shows I found this by searching -- worked!) /be On Sep 2, 2011, at 3:33 PM, David Herman wrote: > Object.getPropertyDescripto

Object.{getPropertyDescriptor,getPropertyNames}

2011-09-02 Thread David Herman
The proxies page refers to Object.getPropertyDescriptor and Object.getPropertyNames as the obvious operations that they ought to be, but also points out that they aren't in ES5. Is there a part of the wiki specs that explicitly state that they should be included in ES6? If not, we all agree the