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

Side by Side Diff: test/debugger/debug/es8/async-function-debug-evaluate.js

Issue 2621173002: Remove --harmony-async-await runtime flag (Closed)
Patch Set: Update test ref Created 3 years, 11 months 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: --harmony-async-await
6
7 var Debug = debug.Debug; 5 var Debug = debug.Debug;
8 var breakPointCount = 0; 6 var breakPointCount = 0;
9 7
10 function listener(event, exec_state, event_data, data) { 8 function listener(event, exec_state, event_data, data) {
11 if (event != Debug.DebugEvent.Break) return; 9 if (event != Debug.DebugEvent.Break) return;
12 ++breakPointCount; 10 ++breakPointCount;
13 try { 11 try {
14 if (breakPointCount === 1) { 12 if (breakPointCount === 1) {
15 assertEquals( 13 assertEquals(
16 "inner", exec_state.frame(0).evaluate("inner").value()); 14 "inner", exec_state.frame(0).evaluate("inner").value());
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 128
131 test(). 129 test().
132 then(x => { 130 then(x => {
133 Debug.setListener(null); 131 Debug.setListener(null);
134 }). 132 }).
135 catch(error => { 133 catch(error => {
136 print(error.stack); 134 print(error.stack);
137 quit(1); 135 quit(1);
138 Debug.setListener(null); 136 Debug.setListener(null);
139 }); 137 });
OLDNEW
« no previous file with comments | « test/debugger/debug/es8/async-debug-step-out.js ('k') | test/debugger/debug/es8/async-function-debug-scopes.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698