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

Side by Side Diff: test/debugger/debug/es8/async-function-debug-scopes.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 global_marker = 7; 6 var global_marker = 7;
9 7
10 async function thrower() { throw 'Exception'; } 8 async function thrower() { throw 'Exception'; }
11 9
12 async function test(name, func, args, handler, continuation) { 10 async function test(name, func, args, handler, continuation) {
13 var handler_called = false; 11 var handler_called = false;
14 var exception = null; 12 var exception = null;
15 13
16 function listener(event, exec_state, event_data, data) { 14 function listener(event, exec_state, event_data, data) {
(...skipping 524 matching lines...) Expand 10 before | Expand all | Expand 10 after
541 539
542 if (scope_size < count) { 540 if (scope_size < count) {
543 print('Names found in scope:'); 541 print('Names found in scope:');
544 var names = scope.scopeObject().propertyNames(); 542 var names = scope.scopeObject().propertyNames();
545 for (var i = 0; i < names.length; i++) { 543 for (var i = 0; i < names.length; i++) {
546 print(names[i]); 544 print(names[i]);
547 } 545 }
548 } 546 }
549 assertTrue(scope_size >= count); 547 assertTrue(scope_size >= count);
550 } 548 }
OLDNEW
« no previous file with comments | « test/debugger/debug/es8/async-function-debug-evaluate.js ('k') | test/debugger/debug/es8/debug-async-break.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698