DescriptionUse ForceSetObjectProperty in DefineOrRedefineDataProperty (fixes crbug 72736).
The current version uses SetObjectProperty which will not set the
value in case this is a readonly property. The spec explictly says
that a configurable but non writable property can have its value
changed with Object.defineProperty (because the same thing can be
accomplished by doing 3 calls (set writable to true, update the value,
set writable to false).
Committed: http://code.google.com/p/v8/source/detail?r=6766
Patch Set 1 #Patch Set 2 : '' #
Messages
Total messages: 3 (0 generated)
|