haikuwebkit/JSTests
Michael Saboff 4f900270dd [YARR] Interpreter incorrectly matches non-BMP characters with multiple . w/dotAll flag
https://bugs.webkit.org/show_bug.cgi?id=223666

Reviewed by Mark Lam.

JSTests:

Added tests for dotAll.  Also made sure that we test both JIT and non-JIT execution.

* stress/regexp-dot-match-nonBMP.js:

Source/JavaScriptCore:

In checkCharacterClassDontAdvanceInputForNonBMP(), we need to check for input.readChecked() returning -1
and return that the character class didn't match.

* yarr/YarrInterpreter.cpp:
(JSC::Yarr::Interpreter::checkCharacterClassDontAdvanceInputForNonBMP):


Canonical link: https://commits.webkit.org/235702@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@274945 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2021-03-24 17:29:02 +00:00
..
ChakraCore [JSC] Add @ in Error.stack if URL exists 2021-02-01 11:04:22 +00:00
complex Unreviewed, reverting r274405. 2021-03-16 19:02:56 +00:00
controlFlowProfiler
es6 [JSC] Implement RegExp Match Indices proposal 2021-02-18 19:14:34 +00:00
exceptionFuzz
executableAllocationFuzz
heapProfiler
microbenchmarks Align JSGlobalObject::defineOwnProperty() with the spec and other runtimes 2021-03-12 00:08:05 +00:00
modules Add JSModuleNamespaceObject::deletePropertyByIndex() method 2021-03-03 16:37:24 +00:00
mozilla Unreviewed, reverting r274405. 2021-03-16 19:02:56 +00:00
perf
regexp
slowMicrobenchmarks
stress [YARR] Interpreter incorrectly matches non-BMP characters with multiple . w/dotAll flag 2021-03-24 17:29:02 +00:00
test262 [JSC] Update test262 2021-03-04 06:13:44 +00:00
typeProfiler
wasm JS->Wasm IC must save the tag registers if it uses them 2021-03-19 04:20:11 +00:00
.gitattributes
ChakraCore.yaml [JSC] Simplify get*PropertyNames() methods and EnumerationMode 2021-01-07 23:56:37 +00:00
ChangeLog [YARR] Interpreter incorrectly matches non-BMP characters with multiple . w/dotAll flag 2021-03-24 17:29:02 +00:00
ChangeLog-2018-09-11
ChangeLog-2021-03-18 Roll over the ChangeLogs 2021-03-19 04:57:59 +00:00
complex.yaml Unreviewed, reverting r274405. 2021-03-16 19:02:56 +00:00
controlFlowProfiler.yaml
es6.yaml
exceptionFuzz.yaml
executableAllocationFuzz.yaml
heapProfiler.yaml
modules.yaml
slowMicrobenchmarks.yaml
typeProfiler.yaml
wasm.yaml [JSC] wasm atomic wait offset is not index 2021-03-14 18:19:00 +00:00