summaryrefslogtreecommitdiff
path: root/deps/v8/test/mjsunit/wasm/gc-js-interop-async-debugger.js
blob: b7bedc01bbbe9794c1e60c0e7d9d2e3d50c199b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
// Copyright 2022 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

// Flags: --experimental-wasm-gc --allow-natives-syntax

// The implementation of Promises currently takes a different path (a C++
// runtime function instead of a Torque builtin) when the debugger is
// enabled, so exercise that path in this variant of the test.
d8.debugger.enable();
d8.file.execute('test/mjsunit/wasm/gc-js-interop-async.js');