RESOLVED FIXED254313
[JSC] Align RegExp V Flags Syntax errors with V8
https://bugs.webkit.org/show_bug.cgi?id=254313
Summary [JSC] Align RegExp V Flags Syntax errors with V8
Michael Saboff
Reported 2023-03-22 21:25:06 PDT
Comparing the Syntax Errors from JSTests/stress/regexp-vflag-property-of-strings.js against what V8/Chrome produce some slightly different results. For example, /[a--;;]/v produces the equivalent of JSC"s "invalid operation in class set" Syntax error instead of an "invalid class set character". Most of the difference are of that type, or a few that are the inverse where V8 produces the equivalent of JSC's "invalid class set character" instead of "invalid operation in class set".
Attachments
Radar WebKit Bug Importer
Comment 1 2023-03-22 21:29:48 PDT
Michael Saboff
Comment 2 2023-03-22 21:44:44 PDT
EWS
Comment 3 2023-03-23 08:27:15 PDT
Committed 262017@main (825b9eb20878): <https://commits.webkit.org/262017@main> Reviewed commits have been landed. Closing PR #11850 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.