| Index: test/mjsunit/es6/debug-stepnext-for.js
|
| diff --git a/test/mjsunit/es6/debug-stepnext-for.js b/test/mjsunit/es6/debug-stepnext-for.js
|
| index 98af911ae3218ff6f6d024e269e8047ae88f9550..79cb3781a79a697b8f8305ceb8967b8d35008bfc 100644
|
| --- a/test/mjsunit/es6/debug-stepnext-for.js
|
| +++ b/test/mjsunit/es6/debug-stepnext-for.js
|
| @@ -81,28 +81,28 @@ Debug.setListener(listener);
|
| f();
|
| Debug.setListener(null); // Break z
|
|
|
| -print(JSON.stringify(log));
|
| +print("log:\n"+ JSON.stringify(log));
|
| // The let declaration differs from var in that the loop variable
|
| // is declared in every iteration.
|
| var expected = [
|
| // Entry
|
| "a2","b2",
|
| - // Empty for-in-var: var decl, get enumerable
|
| - "c7","c16",
|
| + // Empty for-in-var: get enumerable
|
| + "c16",
|
| // Empty for-in: get enumerable
|
| "d12",
|
| - // For-in-var: var decl, get enumerable, assign, body, assign, body, ...
|
| - "e7","e16","e11","E4","e11","E4","e11","E4","e11",
|
| + // For-in-var: get enumerable, assign, body, assign, body, ...
|
| + "e16","e11","E4","e11","E4","e11","E4","e11",
|
| // For-in: get enumerable, assign, body, assign, body, ...
|
| "f12","f7","F4","f7","F4","f7","F4","f7",
|
| - // For-in-let: get enumerable, next, new let, body, next, new let, ...
|
| - "g16","g11","g7","G4","g11","g7","G4","g11","g7","G4","g11",
|
| - // For-of-var: var decl, next(), body, next(), body, ...
|
| - "h7","h16","H4","h16","H4","h16","H4","h16",
|
| + // For-in-let: get enumerable, next, body, next, ...
|
| + "g16","g11","G4","g11","G4","g11","G4","g11",
|
| + // For-of-var: next(), body, next(), body, ...
|
| + "h16","H4","h16","H4","h16","H4","h16",
|
| // For-of: next(), body, next(), body, ...
|
| "i12","I4","i12","I4","i12","I4","i12",
|
| - // For-of-let: next(), new let, body, next(), new let, ...
|
| - "j16","j7","J4","j16","j7","J4","j16","j7","J4","j16",
|
| + // For-of-let: next(), body, next(), ...
|
| + "j16","J4","j16","J4","j16","J4","j16",
|
| // For-var: var decl, condition, body, next, condition, body, ...
|
| "k7","k20","K4","k23","k20","K4","k23","k20","K4","k23","k20",
|
| // For: init, condition, body, next, condition, body, ...
|
| @@ -110,6 +110,7 @@ var expected = [
|
| // Exit.
|
| "y0","z0",
|
| ]
|
| +print("expected:\n"+ JSON.stringify(log));
|
|
|
| assertArrayEquals(expected, log);
|
| assertEquals(48, s);
|
|
|