DescriptionFix a bug in a corner case of direct eval detection.
The corner case is calling a function named 'eval' that is looked up at
runtime and found in a non-global context (but not an extension object).
The bug is that we used the function itself as the receiver rather than
using the global object.
R=ager@chromium.org
TEST=has been added to the eval mjsunit test
Committed: http://code.google.com/p/v8/source/detail?r=7696
Patch Set 1 #
Messages
Total messages: 2 (0 generated)
|