| Index: test/mjsunit/harmony/debug-blockscopes.js
|
| diff --git a/test/mjsunit/harmony/debug-blockscopes.js b/test/mjsunit/harmony/debug-blockscopes.js
|
| index f56a306b6faace323ac8249132adbf1a6e386d4d..ee281d9d91a7fa6403ed11411c333a8cd819cae6 100644
|
| --- a/test/mjsunit/harmony/debug-blockscopes.js
|
| +++ b/test/mjsunit/harmony/debug-blockscopes.js
|
| @@ -412,10 +412,12 @@ function for_loop_3() {
|
|
|
| listener_delegate = function(exec_state) {
|
| CheckScopeChain([debug.ScopeType.Block,
|
| + debug.ScopeType.Block,
|
| debug.ScopeType.Local,
|
| debug.ScopeType.Global], exec_state);
|
| CheckScopeContent({x:3}, 0, exec_state);
|
| - CheckScopeContent({}, 1, exec_state);
|
| + CheckScopeContent({x:3}, 1, exec_state);
|
| + CheckScopeContent({}, 2, exec_state);
|
| };
|
| for_loop_3();
|
| EndTest();
|
| @@ -434,11 +436,13 @@ function for_loop_4() {
|
| listener_delegate = function(exec_state) {
|
| CheckScopeChain([debug.ScopeType.Block,
|
| debug.ScopeType.Block,
|
| + debug.ScopeType.Block,
|
| debug.ScopeType.Local,
|
| debug.ScopeType.Global], exec_state);
|
| CheckScopeContent({x:5}, 0, exec_state);
|
| CheckScopeContent({x:3}, 1, exec_state);
|
| - CheckScopeContent({}, 2, exec_state);
|
| + CheckScopeContent({x:3}, 2, exec_state);
|
| + CheckScopeContent({}, 3, exec_state);
|
| };
|
| for_loop_4();
|
| EndTest();
|
| @@ -455,10 +459,12 @@ function for_loop_5() {
|
|
|
| listener_delegate = function(exec_state) {
|
| CheckScopeChain([debug.ScopeType.Block,
|
| + debug.ScopeType.Block,
|
| debug.ScopeType.Local,
|
| debug.ScopeType.Global], exec_state);
|
| CheckScopeContent({x:3,y:5}, 0, exec_state);
|
| - CheckScopeContent({}, 1, exec_state);
|
| + CheckScopeContent({x:3,y:5}, 1, exec_state);
|
| + CheckScopeContent({}, 2, exec_state);
|
| };
|
| for_loop_5();
|
| EndTest();
|
|
|