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

Side by Side Diff: test/debugger/debug/regress/regress-crbug-568477-2.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 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 --allow-natives-syntax
6 5
7 var Debug = debug.Debug; 6 var Debug = debug.Debug;
8 var expected = ["debugger;", 7 var expected = ["debugger;",
9 "var x = y;", 8 "var x = y;",
10 "new Promise(f).catch(call_f_with_deeper_stack);", 9 "new Promise(f).catch(call_f_with_deeper_stack);",
11 "var a = 1;", "var a = 1;", 10 "var a = 1;", "var a = 1;",
12 "debugger;", 11 "debugger;",
13 "var x = y;"]; 12 "var x = y;"];
14 13
15 function listener(event, exec_state, event_data, data) { 14 function listener(event, exec_state, event_data, data) {
(...skipping 14 matching lines...) Expand all
30 var x = y; 29 var x = y;
31 print(x); 30 print(x);
32 } 31 }
33 32
34 function call_f_with_deeper_stack() { 33 function call_f_with_deeper_stack() {
35 (() => () => () => f())()()(); 34 (() => () => () => f())()()();
36 } 35 }
37 36
38 new Promise(f).catch(call_f_with_deeper_stack); 37 new Promise(f).catch(call_f_with_deeper_stack);
39 var a = 1; 38 var a = 1;
OLDNEW
« no previous file with comments | « test/debugger/debug/regress/regress-crbug-517592.js ('k') | test/debugger/debug/regress/regress-crbug-621361.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698