Re: [Harmony proxies] Inheritance safe proxies (was: [Harmony proxies] Proxies, prototype chain and inheritance)

2011-03-23 Thread Tom Van Cutsem
Hi David, In one of the first discussion about proxies on this list, the question popped up on whether proxy handlers should implement inheritance (prototype chain walking) themselves, or whether the engine should take care of this, only allowing the handler to control the own layer. The

[Harmony proxies] Inheritance safe proxies (was: [Harmony proxies] Proxies, prototype chain and inheritance)

2011-03-22 Thread David Bruant
Le 22/03/2011 12:58, Tom Van Cutsem a écrit : Another way of solving the inconsistency I see in providing the 6 prototype-climbing traps (getPropertyDescriptor, getPropertyNames, has, get, set and enumerate) and protecting Object.getPrototypeOf and instanceof could be to