Status: Accepted Owner: [email protected] Labels: Type-Bug Priority-Medium
New issue 334 by [email protected]: Setting a property resets attributes. http://code.google.com/p/v8/issues/detail?id=334 When setting an existing property with non-trivial attributes (e.g. DontEnum), the existing attributes are cleared. According to the specification of [[Set]], the existing attributes should not be changed. Exmaple: String.prototype.toString = function() { return "gotcha"; } for (var i in "") print(i) prints "toString", where it shouldn't. -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings --~--~---------~--~----~------------~-------~--~----~ v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev -~----------~----~----~----~------~----~------~--~---
