summaryrefslogtreecommitdiff
path: root/deps/v8/test/mjsunit/wasm/errors.js
diff options
context:
space:
mode:
authorMichaël Zasso <targos@protonmail.com>2020-10-15 20:17:08 +0200
committerMichaël Zasso <targos@protonmail.com>2020-10-18 20:16:47 +0200
commita1d639ba5de4ff34e34fb575fbb6cc1d41ec3cce (patch)
treeabc7d41c12f1495b1208fa4449cb2508c92c5e85 /deps/v8/test/mjsunit/wasm/errors.js
parent089d654dd85f8e548597329f60a41d6029260caa (diff)
downloadnode-new-a1d639ba5de4ff34e34fb575fbb6cc1d41ec3cce.tar.gz
deps: update V8 to 8.6.395
PR-URL: https://github.com/nodejs/node/pull/35415 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Jiawen Geng <technicalcute@gmail.com> Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Myles Borins <myles.borins@gmail.com>
Diffstat (limited to 'deps/v8/test/mjsunit/wasm/errors.js')
-rw-r--r--deps/v8/test/mjsunit/wasm/errors.js21
1 files changed, 0 insertions, 21 deletions
diff --git a/deps/v8/test/mjsunit/wasm/errors.js b/deps/v8/test/mjsunit/wasm/errors.js
index 4304e54588..4362895d62 100644
--- a/deps/v8/test/mjsunit/wasm/errors.js
+++ b/deps/v8/test/mjsunit/wasm/errors.js
@@ -155,27 +155,6 @@ function import_error(index, module, func, msg) {
assertTraps(kTrapUnreachable, () => b.instantiate());
})();
-(function TestConversionError() {
- print(arguments.callee.name);
- let b = builder();
- b.addImport('foo', 'bar', kSig_v_l);
- let buffer = b.addFunction('run', kSig_v_v)
- .addBody([kExprI64Const, 0, kExprCallFunction, 0])
- .exportFunc()
- .end()
- .toBuffer();
- assertConversionError(
- buffer, {foo: {bar: (l) => {}}}, kTrapMsgs[kTrapTypeError]);
-
- buffer = builder()
- .addFunction('run', kSig_l_v)
- .addBody([kExprI64Const, 0])
- .exportFunc()
- .end()
- .toBuffer();
- assertConversionError(buffer, {}, kTrapMsgs[kTrapTypeError]);
-})();
-
(function InternalDebugTrace() {
print(arguments.callee.name);
var builder = new WasmModuleBuilder();