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

Side by Side Diff: test/debugger/debug/es8/async-debug-basic.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
« no previous file with comments | « test/cctest/test-parsing.cc ('k') | test/debugger/debug/es8/async-debug-caught-exception.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: --harmony-async-await
6
7 Debug = debug.Debug 5 Debug = debug.Debug
8 6
9 listenerComplete = false; 7 listenerComplete = false;
10 breakPointCount = 0; 8 breakPointCount = 0;
11 9
12 async function f() { 10 async function f() {
13 await (async function() { var a = "a"; await 1; debugger; })(); 11 await (async function() { var a = "a"; await 1; debugger; })();
14 12
15 var b = "b"; 13 var b = "b";
16 14
(...skipping 13 matching lines...) Expand all
30 assertEquals("c", exec_state.frame(2).evaluate("c")); 28 assertEquals("c", exec_state.frame(2).evaluate("c"));
31 } catch (e) { 29 } catch (e) {
32 exception = e; 30 exception = e;
33 }; 31 };
34 }; 32 };
35 33
36 Debug.setListener(listener); 34 Debug.setListener(listener);
37 35
38 var c = "c"; 36 var c = "c";
39 f(); 37 f();
OLDNEW
« no previous file with comments | « test/cctest/test-parsing.cc ('k') | test/debugger/debug/es8/async-debug-caught-exception.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698