v8/test/wasm-api-tests
Hisham Muhammad 0f748aac3e [wasm][c-api] Add handle scope to fix wasm_module_validate
This adds a handle scope to Module::validate in C API
so that the wasm_module_validate can be usable from C.

Without the added handle scope, attempting to call
wasm_module_validate function from C code fails with:

    #
    # Fatal error in v8::HandleScope::CreateHandle()
    # Cannot create a handle without a HandleScope
    #

Bug: v8:12941
Change-Id: I2b4d5dccdaed9501f31447158ebf8e7906a1f8f0
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3692020
Reviewed-by: Jakob Kummerow <jkummerow@chromium.org>
Commit-Queue: Jakob Kummerow <jkummerow@chromium.org>
Cr-Commit-Position: refs/heads/main@{#81048}
2022-06-09 16:46:23 +00:00
..
BUILD.gn [wasm][c-api] Add handle scope to fix wasm_module_validate 2022-06-09 16:46:23 +00:00
callbacks.cc [wasm-gc] Merge anyref and externref 2022-03-01 22:12:59 +00:00
DEPS
finalize.cc [wasm][test] Cleanup macros 2021-09-24 16:47:54 +00:00
globals.cc [base] Move utils/vector.h to base/vector.h 2021-06-18 13:33:13 +00:00
hostref.cc [wasm-gc] Merge anyref and externref 2022-03-01 22:12:59 +00:00
memory.cc [base] Move utils/vector.h to base/vector.h 2021-06-18 13:33:13 +00:00
multi-return.cc [base] Move utils/vector.h to base/vector.h 2021-06-18 13:33:13 +00:00
reflect.cc [wasm-gc] Merge anyref and externref 2022-03-01 22:12:59 +00:00
regressions.cc [wasm][c-api] Add handle scope to fix wasm_module_validate 2022-06-09 16:46:23 +00:00
run-all-wasm-api-tests.cc Reland "[include] Split out v8.h" 2021-08-24 13:08:55 +00:00
serialize.cc [wasm] Deserialization should trigger FinishedTopTierCompilation event 2022-01-21 13:21:36 +00:00
startup-errors.cc [base] Move utils/vector.h to base/vector.h 2021-06-18 13:33:13 +00:00
table.cc [wasm] Support reftypes tables in WasmModuleBuilder 2021-08-31 10:02:19 +00:00
testcfg.py [test] Clean up Py2 code 2022-03-17 09:12:36 +00:00
threads.cc [base] Move utils/vector.h to base/vector.h 2021-06-18 13:33:13 +00:00
traps.cc [wasm][c-api] Avoid flag updates after initialization 2022-06-03 10:25:45 +00:00
wasm-api-test.h [wasm][c-api] Add handle scope to fix wasm_module_validate 2022-06-09 16:46:23 +00:00
wasm-api-tests.status [test] Filter tests for third party heap 2021-04-27 10:17:33 +00:00