DescriptionChange __defineGetter__ and __defineSetter__ to respect non-configurable.
This makes us compatible with firefox. Earlier on we were somehow
compatible with safari - which will allow defining a getter even when
an existing getter is present and non-configurable. We would, however,
in addition to overwriting the getter also change configurable to
true. The approach used by firefox seems much more sound, i.e., why
should it be possible to use __defineGetter__ or __defineSetter__ to
overwrite a non-configurable getter or setter respectively.
I will file a bug on the webkit bugtracker.
Committed: http://code.google.com/p/v8/source/detail?r=7143
Patch Set 1 #Patch Set 2 : '' #
Total comments: 6
Messages
Total messages: 4 (0 generated)
|