LGTM (with nits).
http://codereview.chromium.org/8506020/diff/1/src/v8natives.js File src/v8natives.js (right): http://codereview.chromium.org/8506020/diff/1/src/v8natives.js#newcode1056 src/v8natives.js:1056: obj.length = 0; I'm fine with this hack for now. But can you please file a bug-report stating that we have a general problem when Object.defineProperty() is invoked on a Function object for the "length" (and maybe the "prototype") property. And also add a comment here referring to the bug number. http://codereview.chromium.org/8506020/ -- v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev
