Status: New
Owner: ----

New issue 1636 by [email protected]: Prototype chain is not searched if named property handler does not set a property
http://code.google.com/p/v8/issues/detail?id=1636

If an object has a named property handler and the setter does not set a property (ie the NamedPropertySetter returns an empty handle) then the property is set on the instance.

However the prototype chain should be searched instead, so that if the property exists on the prototype chain with either an AccessorSetter, NamedPropertySetter, or a JavaScript setter, then that should be invoked instead.

The intent should be to make the behavior of setting a property in the presence of named property handlers which disclaim interest in the property being set mirror how an property setting ordinarily works in JavaScript.

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

Reply via email to