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

Side by Side Diff: test/debugger/debug/es6/debug-scope-default-param-with-eval.js

Issue 2505363002: [debug-wrapper] Adapt tests, breakpoint.actual_location (Closed)
Patch Set: Rebase Created 4 years 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
6 5
7 // Test that the parameter initialization block scope set up for 6 // Test that the parameter initialization block scope set up for
8 // sloppy eval is visible to the debugger. 7 // sloppy eval is visible to the debugger.
9 8
10 var Debug = debug.Debug; 9 var Debug = debug.Debug;
11 var exception = null; 10 var exception = null;
12 var break_count = 0; 11 var break_count = 0;
13 12
14 function call_for_break() { 13 function call_for_break() {
15 return 5; 14 return 5;
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 } 51 }
53 52
54 Debug.setListener(listener); 53 Debug.setListener(listener);
55 54
56 assertEquals(12, test()); 55 assertEquals(12, test());
57 56
58 Debug.setListener(null); 57 Debug.setListener(null);
59 58
60 assertNull(exception); 59 assertNull(exception);
61 assertEquals(2, break_count); 60 assertEquals(2, break_count);
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698