Comment #5 on issue 2383 by
sulf...@gmail.com: assignment to index property
fails to fail when property on prototype is non-writable
https://code.google.com/p/v8/issues/detail?id=2383
What a pitty that issue #1169 was "fixed". It is the specification that
should be fixed!!
In a few words, it's nonsense to protect a property from being set,
judgeing by the attributes of ANOTHER object's property.
The argument that the other object is the prototype of the former doesn't
hold, as the inheritance of the [[Writable]] attribute MUST then be
accompanied by WRITE ACCESS to the "inherited" property, which is not the
case - you can never set a new value for the inherited property, you can
only hide that value with a property with the same name.
Sorry, I couldn't help.
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings