Status: Accepted Owner: [email protected] CC: [email protected], [email protected] Labels: Type-Bug Priority-Medium
New issue 2398 by [email protected]: Formatting Error.message is observable.
http://code.google.com/p/v8/issues/detail?id=2398 "use strict"; var object = { toString: function() { print("observed!") } }; Object.defineProperty(object, "ro", { value: 1 }); try { object.ro = 2; // TypeError caused by trying to write to read-only. } catch (e) { e.message; // Causes formatting of the message object. } -- v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev
