DescriptionFunction constructor should avoid String.prototype methods
Replace a use of .indexOf with a call to StringIndexOf. As always,
lexical scoping to the rescue.
R=mstarzinger@chromium.org
TEST=mjsunit/regress/regress-2686
BUG=v8:2686
Committed: 14678
Patch Set 1 #
Total comments: 1
Patch Set 2 : Use %_CallFunction instead of .call #
Total comments: 1
Patch Set 3 : Fix nit #
Messages
Total messages: 4 (0 generated)
|