Comment #3 on issue 687 by [email protected]: Object.defineProperty problems with redefining accessor properties in some situations.
http://code.google.com/p/v8/issues/detail?id=687

Here's a simpler repro:

var obj = { get value() {}, set value (v) { throw "Error"; } };
Object.defineProperty(obj, "value", { value: 5, writable:true, configurable: true });

Result: is throw of "Error"

Expect:

obj should equal '{ value: 5 }'



--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to