v8/test
Vicky Kontoura add69092c5 [web snapshot] Support RegExp
This CL adds support for regular expressions. To serialize a regular
expression, the pattern and flags are extracted and serialized as
strings.

Also, JSRegExp::StringFromFlags() is introduced to allow for
transforming back from JSRegExp::Flags to the corresponding flag string.
To verify that this implementation is on par with
RegExp.prototype.flags, unittests are introduced under
regexp/regexp-unittest.cc and RegExpBuiltinsAssembler::FlagsGetter()
is updated to include a slow path that calls JSRegExp::StringFromFlags()
through a runtime function.

Bug: v8:11525, v8:11706
Change-Id: I9cad4c464129ba1cbf64672130d8410730d7d679
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2878751
Commit-Queue: Vicky Kontoura <vkont@google.com>
Reviewed-by: Camillo Bruni <cbruni@chromium.org>
Reviewed-by: Marja Hölttä <marja@chromium.org>
Cr-Commit-Position: refs/heads/master@{#74566}
2021-05-14 10:27:57 +00:00
..
benchmarks [build] Fix gn check errors in test/benchmarks/cpp 2021-04-27 10:35:33 +00:00
cctest [web snapshot] Support RegExp 2021-05-14 10:27:57 +00:00
common [wasm][eh] Make stack overflows uncatchable 2021-05-03 16:18:41 +00:00
debugger Adding support for const redeclaration on REPL mode. 2021-05-11 16:47:04 +00:00
debugging [wasm] Rename kWasmStmt -> kWasmVoid 2021-03-22 07:58:18 +00:00
fuzzer [cleanup][test] Remove redundant NOLINT annotations 2021-04-30 11:46:14 +00:00
fuzzilli Fix unhandled promise rejections in REPRL mode 2020-09-30 13:34:23 +00:00
inspector [wasm][debug] Properly mark WebAssembly APIs as side-effect free. 2021-05-14 05:23:07 +00:00
intl Implement proposal-intl-locale-info 2021-05-06 02:05:48 +00:00
js-perf-test Update OWNERS in test/* 2021-02-25 14:26:24 +00:00
memory [snapshot] Fix the Memory.json benchmark 2021-04-28 07:54:34 +00:00
message [wasm] Consider only function names from the name section. 2021-05-05 12:54:27 +00:00
mjsunit [turbofan] Disallow floating control in wasm 2021-05-12 15:26:33 +00:00
mkgrokdump [build] Fold v8_wrappers into v8_libbase 2021-02-25 10:56:20 +00:00
mozilla [compiler, infra] Add a --stress-concurrent-inlining flag and a bot 2021-01-29 12:05:03 +00:00
test262 [parser] Allow escaped future reserved keywords as identifiers 2021-05-04 17:58:26 +00:00
torque [torque] Add LazyNode support 2021-02-23 16:51:53 +00:00
unittests [web snapshot] Support RegExp 2021-05-14 10:27:57 +00:00
wasm-api-tests [wasm-api] Enable trap handler in c-api tests 2021-05-03 19:48:22 +00:00
wasm-js [wasm] Update spec tests 2021-04-14 13:48:55 +00:00
wasm-spec-tests [wasm-simd] Rename no_simd_sse to no_simd_hardware to be generic 2021-04-23 00:25:29 +00:00
webkit Disallow \8 and \9 in strict mode and template literals 2020-08-03 18:05:14 +00:00
BUILD.gn [no-wasm] Exclude more targets from build 2021-03-09 11:25:54 +00:00
OWNERS Use relative paths to OWNERS files 2019-08-12 13:52:52 +00:00