david.bruant at labri.fr
Sat Sep 3 11:27:28 PDT 2011
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 should be included in ES6?
> If not, we all agree they should be, yes?
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
some performance issue?) to guarantee the invariants of non-configurable
properties. But now that I think about it, i can't remember exactly what
was the annoying use case.
Adding Tom in copy. Maybe he'll remember.
More information about the es-discuss