| Index: test/mjsunit/harmony/debug-blockscopes.js
|
| diff --git a/test/mjsunit/harmony/debug-blockscopes.js b/test/mjsunit/harmony/debug-blockscopes.js
|
| index ca2ab9e5a68d90d362e6eb37b02a1cfc7493bb3c..f56a306b6faace323ac8249132adbf1a6e386d4d 100644
|
| --- a/test/mjsunit/harmony/debug-blockscopes.js
|
| +++ b/test/mjsunit/harmony/debug-blockscopes.js
|
| @@ -147,18 +147,10 @@ function CheckScopeContent(content, number, exec_state) {
|
| if (!scope.scopeObject().property('arguments').isUndefined()) {
|
| scope_size--;
|
| }
|
| - // Also ignore synthetic variable from catch block.
|
| - if (!scope.scopeObject().property('.catch-var').isUndefined()) {
|
| - scope_size--;
|
| - }
|
| // Skip property with empty name.
|
| if (!scope.scopeObject().property('').isUndefined()) {
|
| scope_size--;
|
| }
|
| - // Also ignore synthetic variable from block scopes.
|
| - if (!scope.scopeObject().property('.block').isUndefined()) {
|
| - scope_size--;
|
| - }
|
|
|
| if (count != scope_size) {
|
| print('Names found in scope:');
|
| @@ -375,8 +367,9 @@ listener_delegate = function(exec_state) {
|
| debug.ScopeType.Local,
|
| debug.ScopeType.Global], exec_state);
|
| CheckScopeContent({x:'y'}, 0, exec_state);
|
| - // The function scope contains a temporary iteration variable.
|
| - CheckScopeContent({'.for.x':'y'}, 1, exec_state);
|
| + // The function scope contains a temporary iteration variable, but it is
|
| + // hidden to the debugger.
|
| + CheckScopeContent({}, 1, exec_state);
|
| };
|
| for_loop_1();
|
| EndTest();
|
| @@ -400,8 +393,9 @@ listener_delegate = function(exec_state) {
|
| debug.ScopeType.Global], exec_state);
|
| CheckScopeContent({x:3}, 0, exec_state);
|
| CheckScopeContent({x:'y'}, 1, exec_state);
|
| - // The function scope contains a temporary iteration variable.
|
| - CheckScopeContent({'.for.x':'y'}, 2, exec_state);
|
| + // The function scope contains a temporary iteration variable, hidden to the
|
| + // debugger.
|
| + CheckScopeContent({}, 2, exec_state);
|
| };
|
| for_loop_2();
|
| EndTest();
|
|
|