summaryrefslogtreecommitdiff
path: root/deps/v8/test/debugger/debug/es8/async-debug-step-nested.js
diff options
context:
space:
mode:
authorMichaƫl Zasso <targos@protonmail.com>2017-09-12 11:34:59 +0200
committerAnna Henningsen <anna@addaleax.net>2017-09-13 16:15:18 +0200
commitd82e1075dbc2cec2d6598ade10c1f43805f690fd (patch)
treeccd242b9b491dfc341d1099fe11b0ef528839877 /deps/v8/test/debugger/debug/es8/async-debug-step-nested.js
parentb4b7ac6ae811b2b5a3082468115dfb5a5246fe3f (diff)
downloadnode-new-d82e1075dbc2cec2d6598ade10c1f43805f690fd.tar.gz
deps: update V8 to 6.1.534.36
PR-URL: https://github.com/nodejs/node/pull/14730 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Ali Ijaz Sheikh <ofrobots@google.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Diffstat (limited to 'deps/v8/test/debugger/debug/es8/async-debug-step-nested.js')
-rw-r--r--deps/v8/test/debugger/debug/es8/async-debug-step-nested.js20
1 files changed, 10 insertions, 10 deletions
diff --git a/deps/v8/test/debugger/debug/es8/async-debug-step-nested.js b/deps/v8/test/debugger/debug/es8/async-debug-step-nested.js
index 9a1342419b..79e8dfaaef 100644
--- a/deps/v8/test/debugger/debug/es8/async-debug-step-nested.js
+++ b/deps/v8/test/debugger/debug/es8/async-debug-step-nested.js
@@ -24,7 +24,7 @@ Debug.setListener(listener);
var late_resolve;
function g() {
- return new Promise( // B4 StepOut
+ return new Promise( // B3 StepOut
function(res, rej) {
late_resolve = res;
}
@@ -34,17 +34,17 @@ function g() {
async function f1() {
var a = 1;
debugger; // B0 StepNext
- a += // B1 StepNext
- await // B6 StepNext
+ a +=
+ await // B1 StepIn
f2(); // B2 StepIn
- return a; // B7 StepNext
-} // B8 Continue
+ return a; // B5 StepNext
+} // B6 Continue
async function f2() {
- var b =
- await // B5 StepOut
- g(); // B3 StepIn
- return b;
+ var b = 0 + // B2 StepIn
+ await
+ g();
+ return b; // B4 StepOut
}
f1();
@@ -53,4 +53,4 @@ late_resolve(3);
%RunMicrotasks();
-assertEquals(9, step_count);
+assertEquals(7, step_count);