Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(699)

Side by Side Diff: test/debugger/debug/es6/regress/regress-468661.js

Issue 2497973002: [debug-wrapper] Further extend the debug wrapper (Closed)
Patch Set: Address comments Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2015 the V8 project authors. All rights reserved. 1 // Copyright 2015 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Flags: --expose-debug-as debug
6 5
7 Debug = debug.Debug 6 Debug = debug.Debug
8 var exception = null; 7 var exception = null;
9 var break_count = 0; 8 var break_count = 0;
10 const expected_breaks = 9; 9 const expected_breaks = 9;
11 10
12 var expected_values = 11 var expected_values =
13 [ReferenceError, undefined, 0, 0, 0, 0, 1, 12 [ReferenceError, undefined, 0, 0, 0, 0, 1,
14 ReferenceError, ReferenceError]; 13 ReferenceError, ReferenceError];
15 14
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 i++) { // Break 5. 61 i++) { // Break 5.
63 let key = i; // Break 3. 62 let key = i; // Break 3.
64 sum += key; // Break 4. 63 sum += key; // Break 4.
65 } 64 }
66 }()); // Break 7. 65 }()); // Break 7.
67 66
68 assertNull(exception); // Break 8. 67 assertNull(exception); // Break 8.
69 assertEquals(expected_breaks, break_count); 68 assertEquals(expected_breaks, break_count);
70 69
71 Debug.setListener(null); 70 Debug.setListener(null);
OLDNEW
« no previous file with comments | « test/debugger/debug/es6/default-parameters-debug.js ('k') | test/debugger/debug/harmony/async-function-debug-evaluate.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698