Index: test/mjsunit/wasm/js-api.js |
diff --git a/test/mjsunit/wasm/js-api.js b/test/mjsunit/wasm/js-api.js |
index 0f6b0816bee33a1ffdb8c2d3f585edf4e66f3700..689a0adbc4e187ed70067d9a1c69f606df95115d 100644 |
--- a/test/mjsunit/wasm/js-api.js |
+++ b/test/mjsunit/wasm/js-api.js |
@@ -713,6 +713,7 @@ |
var error = null; |
assertPromiseResult(compile(...args), unexpectedSuccess, error => { |
assertTrue(error instanceof err); |
+ assertTrue(Boolean(error.stack.match('js-api.js'))); |
// TODO assertTrue(Boolean(error.message.match(msg))); |
}); |
} |
@@ -759,6 +760,7 @@ |
var error = null; |
assertPromiseResult(instantiate(...args), unexpectedSuccess, error => { |
assertTrue(error instanceof err); |
+ assertTrue(Boolean(error.stack.match('js-api.js'))); |
// TODO assertTrue(Boolean(error.message.match(msg))); |
}); |
} |