Re: [Harmony proxies] Opinion on the open issue (How to deal with inconsistent data returned by handler traps?)

2011-03-22 Thread David Bruant
Le 22/03/2011 13:12, Tom Van Cutsem a écrit : 2011/3/18 David Bruant bru...@enseirb-matmeca.fr mailto:bru...@enseirb-matmeca.fr Le 16/03/2011 10:25, Tom Van Cutsem a écrit : David, This open issue is indeed one that merits further discussion here. Some thoughts and

Re: [Harmony proxies] Opinion on the open issue (How to deal with inconsistent data returned by handler traps?)

2011-03-22 Thread Brendan Eich
On Mar 22, 2011, at 11:04 AM, David Bruant wrote: I wouldn't argue if we had: Object.defineDataProperty(o, name, enumerable, configurable, writable, value) and Object.defineAccessorProperty(...). Or one Object.defineProperty with ten arguments. But this is not the case. I think that part of

Re: [Harmony proxies] Opinion on the open issue (How to deal with inconsistent data returned by handler traps?)

2011-03-18 Thread David Bruant
Le 16/03/2011 10:25, Tom Van Cutsem a écrit : David, This open issue is indeed one that merits further discussion here. Some thoughts and comments: * I think we did come to an agreement that custom property attributes were seen as very useful for communicating new kinds of meta-data about

Re: [Harmony proxies] Opinion on the open issue (How to deal with inconsistent data returned by handler traps?)

2011-03-18 Thread Brendan Eich
On Mar 15, 2011, at 6:43 PM, David Bruant wrote: Unfortunately, currently, on FF4, the property descriptor is rewritten, but with my comments on the code, you can see what results I would expect. But the potential of having my library-specific property descriptor format is here. Thanks

Re: [Harmony proxies] Opinion on the open issue (How to deal with inconsistent data returned by handler traps?)

2011-03-18 Thread David Bruant
Le 19/03/2011 01:11, Brendan Eich a écrit : On Mar 15, 2011, at 6:43 PM, David Bruant wrote: Unfortunately, currently, on FF4, the property descriptor is rewritten, but with my comments on the code, you can see what results I would expect. But the potential of having my library-specific

Re: [Harmony proxies] Opinion on the open issue (How to deal with inconsistent data returned by handler traps?)

2011-03-16 Thread Tom Van Cutsem
David, This open issue is indeed one that merits further discussion here. Some thoughts and comments: * I think we did come to an agreement that custom property attributes were seen as very useful for communicating new kinds of meta-data about objects, and that they ought to be preserved. See

[Harmony proxies] Opinion on the open issue (How to deal with inconsistent data returned by handler traps?)

2011-03-15 Thread David Bruant
Hi, On the proxy proposal is an open issue. It starts with How to deal with inconsistent data returned by handler traps? (actually, the issue also applies to inputs since I can provide garbage as Object.defineProperty arguments). First of all, I think that there might be a false assumption in the