Test case: /]/u Expected: SyntaxError thrown Actual: RegExp instance ECMA262: https://tc39.es/ecma262/#prod-annexB-Term (/u flag precludes the use of ExtendedPatternCharacter) Term[U, N] :: [~U] ExtendedAtom[?N] ExtendedAtom[N] :: ExtendedPatternCharacter ExtendedPatternCharacter :: SourceCharacter but not one of ^ $ \ . * + ? ( ) [ | Test262: https://test262.report/browse/built-ins/RegExp/unicode_restricted_brackets.js
Created attachment 389309 [details] Patch
The commit-queue encountered the following flaky tests while processing attachment 389309 [details]: editing/spelling/spellcheck-async-remove-frame.html bug 158401 (authors: morrita@google.com, rniwa@webkit.org, and tony@chromium.org) The commit-queue is continuing to process your patch.
Comment on attachment 389309 [details] Patch Clearing flags on attachment: 389309 Committed r255505: <https://trac.webkit.org/changeset/255505>
All reviewed patches have been landed. Closing bug.
<rdar://problem/59065180>