Re: Enriched Descriptors, maybe ES7 ?

2014-03-10 Thread Tom Van Cutsem
2014-03-09 21:05 GMT+01:00 Brendan Eich bren...@mozilla.com: Tom has experimented, IIRC. I don't know which implementations preserve extended property descriptor properties. As Allen mentioned earlier, proxies should receive in their defineProperty trap the full descriptor object as it was

Re: Enriched Descriptors, maybe ES7 ?

2014-03-10 Thread David Bruant
Le 10/03/2014 08:02, Tom Van Cutsem a écrit : Using Firefox's built-in direct proxies implementation I get a TypeError. I'll investigate further and file a bug. You already did https://bugzilla.mozilla.org/show_bug.cgi?id=601379 ;-) David ___

Re: Enriched Descriptors, maybe ES7 ?

2014-03-10 Thread Andrea Giammarchi
Thanks Tom, I see what you mean but using proxies is a performance killer, while I am trying to propose something that theoretically could also give a performance boost. I am not proposing custom descriptor attributes here, I am proposing `type`, `arguments` (or `parameters`) and `returns` as

Re: Enriched Descriptors, maybe ES7 ?

2014-03-10 Thread Tom Van Cutsem
2014-03-10 11:10 GMT+01:00 David Bruant bruan...@gmail.com: Using Firefox's built-in direct proxies implementation I get a TypeError. I'll investigate further and file a bug. You already did https://bugzilla.mozilla.org/show_bug.cgi?id=601379 ;-) Thanks for refreshing my memory on that one