| Index: test/mjsunit/debug-stepin-foreach.js
|
| diff --git a/test/mjsunit/debug-stepin-foreach.js b/test/mjsunit/debug-stepin-foreach.js
|
| index fa728e019c11ed204a6a751e925598d3eab30ea4..c2702f794a989bc48a1099f3a1ea4d9291d6ea94 100644
|
| --- a/test/mjsunit/debug-stepin-foreach.js
|
| +++ b/test/mjsunit/debug-stepin-foreach.js
|
| @@ -37,15 +37,17 @@ function listener(event, exec_state, event_data, data) {
|
| };
|
|
|
| Debug.setListener(listener);
|
| +var bound_callback = callback.bind(null);
|
|
|
| debugger; // Break 0.
|
| [1,2].forEach(callback); // Break 1.
|
| +[3,4].forEach(bound_callback); // Break 6.
|
|
|
| function callback(x) {
|
| - return x; // Break 2. // Break 4.
|
| -} // Break 3. // Break 5.
|
| + return x; // Break 2. // Break 4. // Break 7. // Break 9.
|
| +} // Break 3. // Break 5. // Break 8. // Break 10.
|
|
|
| -assertNull(exception); // Break 6.
|
| +assertNull(exception); // Break 11.
|
| assertEquals(expected_breaks, break_count);
|
|
|
| Debug.setListener(null);
|
|
|