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

Side by Side Diff: test/mjsunit/es6/debug-promises/stepin-handler.js

Issue 1404783002: Debugger: allow stepping into resolver from Promise constructor. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 2 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 2015 the V8 project authors. All rights reserved. 1 // Copyright 2015 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 --allow-natives-syntax --noalways-opt 5 // Flags: --expose-debug-as debug --allow-natives-syntax --noalways-opt
6 // Tests stepping into through Promises. 6 // Tests stepping into through Promises.
7 7
8 Debug = debug.Debug 8 Debug = debug.Debug
9 var exception = null; 9 var exception = null;
10 var break_count = 0; 10 var break_count = 0;
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 function callback(x) { 56 function callback(x) {
57 return x; // Break 2. // Break 4. // Break 6. 57 return x; // Break 2. // Break 4. // Break 6.
58 } // Break 3. // Break 5. // Break 7. 58 } // Break 3. // Break 5. // Break 7.
59 59
60 function finalize() { 60 function finalize() {
61 assertNull(exception); // Break 8. 61 assertNull(exception); // Break 8.
62 assertEquals(expected_breaks, break_count); 62 assertEquals(expected_breaks, break_count);
63 63
64 Debug.setListener(null); 64 Debug.setListener(null);
65 } 65 }
OLDNEW
« no previous file with comments | « test/mjsunit/es6/debug-promises/stepin-constructor.js ('k') | test/mjsunit/es6/debug-stepin-promises.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698