diff options
author | Michaël Zasso <targos@protonmail.com> | 2022-04-12 11:10:15 +0200 |
---|---|---|
committer | Michaël Zasso <targos@protonmail.com> | 2022-04-12 22:08:39 +0200 |
commit | fd4f80ce54d7f7b7503e0999f6a9d293d493846d (patch) | |
tree | 00fba34b8aabeb481c7128fccee635719ee44a3b /deps/v8/test/mjsunit/wasm/js-api.js | |
parent | 73d53fe9f56d7ce5de4b9c9ad5257dc601bbce14 (diff) | |
download | node-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/mjsunit/wasm/js-api.js')
-rw-r--r-- | deps/v8/test/mjsunit/wasm/js-api.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/deps/v8/test/mjsunit/wasm/js-api.js b/deps/v8/test/mjsunit/wasm/js-api.js index f9b231242c..30ddf4c1ee 100644 --- a/deps/v8/test/mjsunit/wasm/js-api.js +++ b/deps/v8/test/mjsunit/wasm/js-api.js @@ -715,18 +715,18 @@ assertThrows( /must be convertible to a valid number/); assertThrows( () => set.call(tbl1, 0, undefined), TypeError, - /must be null or a WebAssembly function/); + /Argument 1 is invalid for table of type funcref/); assertThrows( () => set.call(tbl1, undefined, undefined), TypeError, /must be convertible to a valid number/); assertThrows( () => set.call(tbl1, 0, {}), TypeError, - /must be null or a WebAssembly function/); -assertThrows(() => set.call(tbl1, 0, function() { -}), TypeError, /must be null or a WebAssembly function/); + /Argument 1 is invalid for table of type funcref/); +assertThrows(() => set.call(tbl1, 0, function() {}), + TypeError, /Argument 1 is invalid for table of type funcref/); assertThrows( () => set.call(tbl1, 0, Math.sin), TypeError, - /must be null or a WebAssembly function/); + /Argument 1 is invalid for table of type funcref/); assertThrows( () => set.call(tbl1, {valueOf() { throw Error('hai') }}, null), Error, 'hai'); |