v8/test/mjsunit/wasm
clemensh f0523e3046 [wasm] Add UTF-8 validation
Names passed for imports and exports are checked during decoding,
leading to errors if they are no valid UTF-8. Function names are not
checked during decode, but rather lead to undefined being returned at
runtime if they are not UTF-8.

We need to do these checks on the Wasm side, since the factory
methods assume to get valid UTF-8 strings.

R=titzer@chromium.org, yangguo@chromium.org

Review-Url: https://codereview.chromium.org/1967023004
Cr-Commit-Position: refs/heads/master@{#36208}
2016-05-12 13:02:14 +00:00
..
embenchen
adapter-frame.js [wasm] Binary 11: Bump module version to 0xB. 2016-04-29 09:40:24 +00:00
asm-wasm-copy.js
asm-wasm-deopt.js
asm-wasm-f32.js
asm-wasm-f64.js
asm-wasm-heap.js
asm-wasm-i32.js
asm-wasm-literals.js
asm-wasm-stdlib.js
asm-wasm-switch.js [wasm] Binary 11: WASM AST is now postorder. 2016-04-29 09:16:21 +00:00
asm-wasm-u32.js
asm-wasm.js [wasm] Binary 11: WASM AST is now postorder. 2016-04-29 09:16:21 +00:00
calls.js [wasm] Binary 11: Bump module version to 0xB. 2016-04-29 09:40:24 +00:00
divrem-trap.js [wasm] Binary 11: Bump module version to 0xB. 2016-04-29 09:40:24 +00:00
export-table.js [wasm] Binary 11: Bump module version to 0xB. 2016-04-29 09:40:24 +00:00
ffi-error.js [wasm] Binary 11: Bump module version to 0xB. 2016-04-29 09:40:24 +00:00
ffi.js [wasm] Binary 11: Bump module version to 0xB. 2016-04-29 09:40:24 +00:00
function-prototype.js [wasm] Binary 11: Bump module version to 0xB. 2016-04-29 09:40:24 +00:00
gc-frame.js [wasm] Binary 11: Bump module version to 0xB. 2016-04-29 09:40:24 +00:00
import-table.js [wasm] Binary 11: Bump module version to 0xB. 2016-04-29 09:40:24 +00:00
indirect-calls.js [wasm] Binary 11: Bump module version to 0xB. 2016-04-29 09:40:24 +00:00
instantiate-module-basic.js [wasm] Binary 11: Bump module version to 0xB. 2016-04-29 09:40:24 +00:00
instantiate-run-basic.js [wasm] Binary 11: Bump module version to 0xB. 2016-04-29 09:40:24 +00:00
module-memory.js [wasm] Binary 11: Bump module version to 0xB. 2016-04-29 09:40:24 +00:00
OWNERS
parallel_compilation.js [wasm] Implement parallel compilation. 2016-05-12 11:58:48 +00:00
params.js [wasm] Binary 11: Bump module version to 0xB. 2016-04-29 09:40:24 +00:00
stack.js [wasm] Patch trapping position into stack trace 2016-05-12 09:08:40 +00:00
stackwalk.js [wasm] Binary 11: Bump module version to 0xB. 2016-04-29 09:40:24 +00:00
start-function.js [wasm] Binary 11: Bump module version to 0xB. 2016-04-29 09:40:24 +00:00
test-wasm-module-builder.js [wasm] Binary 11: Bump module version to 0xB. 2016-04-29 09:40:24 +00:00
trap-location.js [wasm] Patch trapping position into stack trace 2016-05-12 09:08:40 +00:00
unicode-validation.js [wasm] Add UTF-8 validation 2016-05-12 13:02:14 +00:00
unreachable.js [wasm] Binary 11: Bump module version to 0xB. 2016-04-29 09:40:24 +00:00
verify-function-basic-errors.js
verify-function-simple.js [wasm] Binary 11: Bump module version to 0xB. 2016-04-29 09:40:24 +00:00
verify-module-basic-errors.js
wasm-constants.js [wasm] Patch trapping position into stack trace 2016-05-12 09:08:40 +00:00
wasm-module-builder.js [wasm] Add UTF-8 validation 2016-05-12 13:02:14 +00:00
wasm-object-api.js [wasm] Binary 11: WASM AST is now postorder. 2016-04-29 09:16:21 +00:00