v8/test
Daniel Clark 92147e3aca [modules] Introduce SyntheticModule
This change is a partial implementation of Synthetic Module Record as specified here:
https://heycam.github.io/webidl/#synthetic-module-records

This includes:
- Introduce SyntheticModule class inheriting from Module.
- Extend v8::Module interface in v8.h to include Synthetic Module APIs, with corresponding
  implementations in api.cc.
- Provide SyntheticModule implementations of PrepareInstantiate, FinishInstantiate, and SetExport.
- Provide cctest unit tests for the implementations in the preceding item.

We will follow up with further submissions to implement the remaining members of
SyntheticModule (ResolveExport and Evaluate).

Bug: v8:9292
Change-Id: I25b1b695b5d1c3004677cd685f0dfd95283438fa
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1626829
Commit-Queue: Dan Clark <daniec@microsoft.com>
Reviewed-by: Adam Klein <adamk@chromium.org>
Reviewed-by: Georg Neis <neis@chromium.org>
Cr-Commit-Position: refs/heads/master@{#62433}
2019-06-27 22:23:46 +00:00
..
benchmarks [test] Skip flaky test on predictable mode 2019-05-07 13:57:18 +00:00
cctest [modules] Introduce SyntheticModule 2019-06-27 22:23:46 +00:00
common [turbofan] JSHeapBroker logging respects --trace-turbo-filter 2019-06-12 11:02:38 +00:00
debugger [test] Remove module pragma in favor of .mjs 2019-06-27 13:25:48 +00:00
fuzzer [cleanup] Drop some occurrences of Isolate::Current 2019-06-26 19:39:21 +00:00
inspector [cleanup] Drop some occurrences of Isolate::Current 2019-06-26 19:39:21 +00:00
intl [test] Support LC_ALL=en_US.UTF-8 in test runner 2019-06-27 11:54:29 +00:00
js-perf-test add micro-benchmark for proxy trap setPrototypeOf 2019-06-25 16:18:52 +00:00
memory [owners] Remove redundant OWNERS files in test/ 2019-06-24 12:44:32 +00:00
message [test] Remove module pragma in favor of .mjs 2019-06-27 13:25:48 +00:00
mjsunit Add GetPropertyWithReceiver stub for proxy get trap 2019-06-27 21:44:25 +00:00
mkgrokdump [owners] Remove redundant OWNERS files in test/ 2019-06-24 12:44:32 +00:00
mozilla Reland "[array] Move Array#sort pre-processing to Torque" 2019-05-24 12:13:17 +00:00
preparser Add OWNERS files for src and test 2019-05-30 04:51:21 +00:00
test262 Remove always-true --harmony-global runtime flag 2019-06-26 09:47:14 +00:00
torque [torque] Support 'real' internal classes 2019-06-21 16:09:28 +00:00
unittests [cleanup][ptr-compr][turbofan] DecompressionElimination test cleanup 2019-06-24 21:35:06 +00:00
wasm-api-tests [wasm-c-api] Faster C-to-Wasm entry 2019-06-27 13:39:48 +00:00
wasm-js [testrunner] generalize test loader to accept multiple extensions 2019-06-25 12:12:11 +00:00
wasm-spec-tests [wasm] Update spec tests 2019-05-22 14:58:45 +00:00
webkit Add quotes around unexpected token SyntaxError 2019-06-11 06:11:58 +00:00
BUILD.gn [wasm-c-api] Add tests and fixes 2019-05-28 09:57:04 +00:00
OWNERS [owners] Make test/ owned by COMMON_OWNERS 2019-06-06 20:56:09 +00:00