DescriptionFix the debugger for strict-mode functions.
undefined is passed unchanged as the receiver for strict-mode
functions through call and apply. Also, if a strict-mode function is
called without an explicit receiver, undefined is passed as the
receiver (not the global object as for other functions).
R=vegorov@chromium.org
BUG=89236
TEST=mjsunit/debug-scopes.js
Committed: http://code.google.com/p/v8/source/detail?r=8675
Patch Set 1 #
Total comments: 2
Patch Set 2 : Address comment. #Patch Set 3 : Add new test file instead. #
Total comments: 6
Patch Set 4 : Address comments. #
Messages
Total messages: 6 (0 generated)
|