v8/test/unittests/wasm
Michael Achenbach 43accc8b7f Revert "[wasm] The name of a custom section can cause a validation error"
This reverts commit 03d5a7ba9b.

Reason for revert: Needs rebaseline:
https://ci.chromium.org/p/v8/builders/ci/V8%20Blink%20Linux/3243

Original change's description:
> [wasm] The name of a custom section can cause a validation error
> 
> The WebAssembly spec defines that the name of a custom section can cause
> a validation error. The streaming decoder, however, used a separate
> Decoder object to decode the name, and thereby avoided a validation
> error. With this CL the streaming decoder uses the main decoder to
> decode the name of the custom section.
> 
> In addition this CL removes the test mjsunit/regress/wasm/regress-789952.
> This test defined an invalid WebAssembly module and expected it to
> compile. As it is a regression test, it makes no sense to fix the test.
> The module is invalid because it defines the length of the custom section
> to be '0', so there are no bytes in the custom section for its name.
> 
> R=​clemensb@chromium.org
> CC=​thibaudm@chromium.org
> 
> Bug: v8:10126
> Change-Id: I8cfc77c9a5916570d5362d5922e0179a29774da8
> Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2041446
> Commit-Queue: Andreas Haas <ahaas@chromium.org>
> Reviewed-by: Clemens Backes <clemensb@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#66348}

TBR=ahaas@chromium.org,clemensb@chromium.org

Change-Id: I5a7ea265ce47b9e685a5056bb83db6dc58f774a9
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: v8:10126
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2065168
Reviewed-by: Michael Achenbach <machenbach@chromium.org>
Commit-Queue: Michael Achenbach <machenbach@chromium.org>
Cr-Commit-Position: refs/heads/master@{#66356}
2020-02-19 21:38:28 +00:00
..
control-transfer-unittest.cc [cleanup] Eliminate non-const reference parameters 2019-09-10 11:47:39 +00:00
decoder-unittest.cc Move more relevant files to src/objects 2019-05-23 08:52:30 +00:00
function-body-decoder-unittest.cc [wasm][reference-types] Implement declarative segments 2020-02-17 17:38:27 +00:00
leb-helper-unittest.cc Move more relevant files to src/objects 2019-05-23 08:52:30 +00:00
loop-assignment-analysis-unittest.cc [wasm] Rename {Get,Set,Tee}Local to Local{Get,Set,Tee} 2019-10-08 14:14:40 +00:00
module-decoder-unittest.cc Revert "[wasm] The name of a custom section can cause a validation error" 2020-02-19 21:38:28 +00:00
OWNERS [wasm] Update OWNERS 2020-01-08 14:56:06 +00:00
streaming-decoder-unittest.cc [wasm] Improve code size estimate for streaming 2019-11-08 08:28:11 +00:00
trap-handler-posix-unittest.cc [wasm] Implement trap handler on Windows 2018-10-30 10:25:37 +00:00
trap-handler-win-unittest.cc Move utility code to src/utils 2019-05-23 14:13:34 +00:00
trap-handler-x64-unittest.cc [test] Use Fuchsia test runner for unittests 2019-12-05 14:22:01 +00:00
wasm-code-manager-unittest.cc [wasm] Fix TODO and remove bad tests 2019-09-24 10:41:26 +00:00
wasm-compiler-unittest.cc Move code generation related files to src/codegen 2019-05-21 10:33:39 +00:00
wasm-macro-gen-unittest.cc [wasm] Clean up WASM_CALL_INDIRECT macros 2019-11-28 14:44:06 +00:00
wasm-module-builder-unittest.cc Move remaining files in src/ 2019-05-24 18:24:36 +00:00
wasm-module-sourcemap-unittest.cc Add source map support of WasmModule 2019-08-26 15:19:02 +00:00
wasm-opcodes-unittest.cc [wasm] [test] [cleanup] Add missing undefs 2017-09-11 12:09:50 +00:00