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

Side by Side Diff: test/debugger/debug/compiler/osr-typing-debug-change.js

Issue 2480223002: [debugger] Migrate more debugger tests to inspector (Closed)
Patch Set: Fix status line 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
« no previous file with comments | « no previous file | test/debugger/debug/es6/debug-break-default-constructor.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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: --allow-natives-syntax --expose-debug-as debug
6 5
7 var Debug = debug.Debug; 6 var Debug = debug.Debug;
8 7
9 var changed = false; 8 var changed = false;
10 9
11 function listenerSetJToResult( 10 function listenerSetJToResult(
12 event, exec_state, event_data, data) { 11 event, exec_state, event_data, data) {
13 12
14 if (event == Debug.DebugEvent.Break) { 13 if (event == Debug.DebugEvent.Break) {
15 var scope = exec_state.frame(1).scope(0); 14 var scope = exec_state.frame(1).scope(0);
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 return j; 109 return j;
111 } 110 }
112 111
113 var r4 = ChangeIntVarAndOsr(); 112 var r4 = ChangeIntVarAndOsr();
114 if (changed) { 113 if (changed) {
115 assertEquals(101, r4); 114 assertEquals(101, r4);
116 assertEquals(1, counter); 115 assertEquals(1, counter);
117 } else { 116 } else {
118 assertEquals(5, r4); 117 assertEquals(5, r4);
119 } 118 }
OLDNEW
« no previous file with comments | « no previous file | test/debugger/debug/es6/debug-break-default-constructor.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698