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

Side by Side Diff: test/mjsunit/es6/debug-promises/async-task-event.js

Issue 440773004: Trigger exception debug events on Promise reject. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: comments Created 6 years, 4 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 | Annotate | Revision Log
OLDNEW
1 // Copyright 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 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 5 // Flags: --expose-debug-as debug
6 6
7 Debug = debug.Debug; 7 Debug = debug.Debug;
8 8
9 var base_id = -1; 9 var base_id = -1;
10 var exception = null; 10 var exception = null;
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 resolver = resolve; 52 resolver = resolve;
53 }); 53 });
54 p.then(function() { 54 p.then(function() {
55 assertLog("then #1"); 55 assertLog("then #1");
56 }).then(function() { 56 }).then(function() {
57 assertLog("then #2"); 57 assertLog("then #2");
58 }); 58 });
59 resolver(); 59 resolver();
60 60
61 assertNull(exception); 61 assertNull(exception);
OLDNEW
« no previous file with comments | « test/mjsunit/es6/debug-promises-undefined-reject.js ('k') | test/mjsunit/es6/debug-promises/events.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698