We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6c32776 commit 0c9f417Copy full SHA for 0c9f417
testing/web-platform/tests/wasm/jsapi/jspi/js-promise-integration.any.js
@@ -237,10 +237,10 @@ promise_test(async () => {
237
238
let exported_promise = wrapped_export();
239
AbeforeB.setB();
240
- assert_true(AbeforeB.isAbeforeB());
241
242
assert_equals(await exported_promise, 42);
243
-}, "Do not suspend if the import's return value is not a Promise");
+ assert_true(AbeforeB.isBbeforeA());
+}, "Do suspend even if the import's return value is not a Promise by wrapping it with Promise.resolve");
244
245
promise_test(async (t) => {
246
let tag = new WebAssembly.Tag({
0 commit comments