summaryrefslogtreecommitdiff
path: root/deps/v8/test/inspector/debugger/continue-to-location-target-call-frames.js
diff options
context:
space:
mode:
authorMichaël Zasso <targos@protonmail.com>2022-04-12 11:10:15 +0200
committerMichaël Zasso <targos@protonmail.com>2022-04-12 22:08:39 +0200
commitfd4f80ce54d7f7b7503e0999f6a9d293d493846d (patch)
tree00fba34b8aabeb481c7128fccee635719ee44a3b /deps/v8/test/inspector/debugger/continue-to-location-target-call-frames.js
parent73d53fe9f56d7ce5de4b9c9ad5257dc601bbce14 (diff)
downloadnode-new-fd4f80ce54d7f7b7503e0999f6a9d293d493846d.tar.gz
deps: update V8 to 10.1.124.6
PR-URL: https://github.com/nodejs/node/pull/42657 Reviewed-By: Darshan Sen <raisinten@gmail.com> Reviewed-By: Richard Lau <rlau@redhat.com> Reviewed-By: Jiawen Geng <technicalcute@gmail.com> Reviewed-By: Michael Dawson <midawson@redhat.com>
Diffstat (limited to 'deps/v8/test/inspector/debugger/continue-to-location-target-call-frames.js')
-rw-r--r--deps/v8/test/inspector/debugger/continue-to-location-target-call-frames.js16
1 files changed, 10 insertions, 6 deletions
diff --git a/deps/v8/test/inspector/debugger/continue-to-location-target-call-frames.js b/deps/v8/test/inspector/debugger/continue-to-location-target-call-frames.js
index c33ff6b93c..02962781f8 100644
--- a/deps/v8/test/inspector/debugger/continue-to-location-target-call-frames.js
+++ b/deps/v8/test/inspector/debugger/continue-to-location-target-call-frames.js
@@ -4,7 +4,8 @@
let {session, contextGroup, Protocol} = InspectorTest.start('Check that continue-to-location works with different strategies.');
-contextGroup.addScript(`
+contextGroup.addInlineScript(
+ `
async function asyncFact(n) {
if (n == 0) return 1;
let r = n * await asyncFact(n - 1);
@@ -20,15 +21,18 @@ function fact(n) {
}
function topLevel() {
- eval(` + '`' + `
+ eval(` +
+ '`' +
+ `
var a = 1;
var b = 2;
fact(3);
console.log(a + b);
- ` + '`' + `);
-}
-
-//# sourceURL=test.js`, 7, 26);
+ ` +
+ '`' +
+ `);
+}`,
+ 'test.js');
session.setupScriptMap();
InspectorTest.runAsyncTestSuite([