DescriptionFixes <http://code.google.com/p/v8/issues/detail?id=2758>.
Array.prototype.{pop, push, shift, unshift, slice, splice, concat} are
wrapped if they are not already wrapped by other repairs.
Future work after this security patch is deployed:
* In principle, the bug might get partially fixed, and we should
thus have an independent test and repair for each method to avoid
unnecessary wrappers and the subtest() gimmick; I have refrained
from adding such novel things to repairES5's patterns for now.
* es53-test-scan-guest should be extended to detect this category of
problems.
@r5550
Patch Set 1 #
Total comments: 16
Patch Set 2 : SES: Repair v8 Array methods getting implicit this=window. #Patch Set 3 : SES: Repair v8 Array methods getting implicit this=window. #
Total comments: 2
Patch Set 4 : SES: Repair v8 Array methods getting implicit this=window. #MessagesTotal messages: 10
|