Jan 29 TC39 Meeting Notes

Andreas Rossberg rossberg at google.com
Thu Feb 7 09:22:35 PST 2013


On 7 February 2013 18:09, David Bruant <bruant.d at gmail.com> wrote:
> Speaking of proxies, what should happen in the following case (setter and
> proxy from same realm):
> var protoSetter = Object.getOwnPropertyDescriptor(Object.prototype,
> '__proto__').set
> var p = new Proxy({}, handler);
> protoSetter.call(p, {});
> ?

The property descriptor for Object.prototype.__proto__ will contain a
poisoned setter that always throws.

/Andreas


More information about the es-discuss mailing list