| Index: test/mjsunit/debug-stepin-function-call.js
|
| diff --git a/test/mjsunit/debug-stepin-function-call.js b/test/mjsunit/debug-stepin-function-call.js
|
| index 3b5240c9337da878527f414d7edba7c0e9f3a779..eaeebcedb257d3187b2c9f4203b24c97ade77e1e 100644
|
| --- a/test/mjsunit/debug-stepin-function-call.js
|
| +++ b/test/mjsunit/debug-stepin-function-call.js
|
| @@ -142,8 +142,19 @@ function bind1() {
|
| bound();
|
| }
|
|
|
| +// Test step into apply of bound function.
|
| +function applyAndBind1() {
|
| + var bound = g.bind(null, 3);
|
| + debugger;
|
| + bound.apply(null, [3]);
|
| + var aLocalVar = 'test';
|
| + var anotherLocalVar = g(aLocalVar) + 's';
|
| + var yetAnotherLocal = 10;
|
| +}
|
| +
|
| var testFunctions =
|
| - [call1, call2, call3, call4, apply1, apply2, apply3, apply4, bind1];
|
| + [call1, call2, call3, call4, apply1, apply2, apply3, apply4, bind1,
|
| + applyAndBind1];
|
|
|
| for (var i = 0; i < testFunctions.length; i++) {
|
| state = 0;
|
| @@ -161,4 +172,4 @@ assertNull(exception);
|
| assertEquals(3, state);
|
|
|
| // Get rid of the debug event listener.
|
| -Debug.setListener(null);
|
| +Debug.setListener(null);
|
|
|