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

Side by Side Diff: test/debugger/debug/debug-evaluate-shadowed-context-2.js

Issue 2466273005: [debugger] Further stepping support in test wrapper (Closed)
Patch Set: Move more tests 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 2016 the V8 project authors. All rights reserved. 1 // Copyright 2016 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 --no-analyze-environment-liveness
6 5
7 // Test that debug-evaluate correctly collects free outer variables 6 // Test that debug-evaluate correctly collects free outer variables
8 // and does not get confused by variables in nested scopes. 7 // and does not get confused by variables in nested scopes.
9 8
10 Debug = debug.Debug 9 Debug = debug.Debug
11 10
12 var exception = null; 11 var exception = null;
13 function listener(event, exec_state, event_data, data) { 12 function listener(event, exec_state, event_data, data) {
14 if (event != Debug.DebugEvent.Break) return; 13 if (event != Debug.DebugEvent.Break) return;
15 try { 14 try {
(...skipping 16 matching lines...) Expand all
32 let x = 3; 31 let x = 3;
33 (() => x); 32 (() => x);
34 } 33 }
35 debugger; 34 debugger;
36 })(); 35 })();
37 })(); 36 })();
38 })(); 37 })();
39 38
40 Debug.setListener(null); 39 Debug.setListener(null);
41 assertNull(exception); 40 assertNull(exception);
OLDNEW
« no previous file with comments | « test/debugger/debug/debug-evaluate-modify-this.js ('k') | test/debugger/debug/debug-generator-break.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698