DescriptionObject.observe: Move notification of JSArray length changes to JSArray::SetElementsLength
The previous implementation in Accessors::ArraySetLength failed when array length was set through StoreIC_ArrayLength. But that stub and the accessor both delegate to JSArray::SetElementsLength, so moving the code there allows notifications to be sent in both cases.
Committed: https://code.google.com/p/v8/source/detail?r=12962
Patch Set 1 #
Total comments: 2
Patch Set 2 : Added GC warning comment #Patch Set 3 : Add test #
Messages
Total messages: 8 (0 generated)
|