Status: New Owner: ----New issue 2441 by [email protected]: defineProperty fails silently in strict mode
http://code.google.com/p/v8/issues/detail?id=2441
var x = {};
Object.preventExtensions(x);
var y = {};
try {
Object.defineProperty(x, 'foo', {value: y}); // Correctly throws
TypeError
} catch (e) { }
Object.defineProperty(x, '__proto__', {value: y}); // Should throw, does
not.
-- v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev
