Bug 254313
| Summary: | [JSC] Align RegExp V Flags Syntax errors with V8 | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Michael Saboff <msaboff> |
| Component: | JavaScriptCore | Assignee: | Michael Saboff <msaboff> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Local Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Michael Saboff
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 | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/107116409>
Michael Saboff
Pull request: https://github.com/WebKit/WebKit/pull/11850
EWS
Committed 262017@main (825b9eb20878): <https://commits.webkit.org/262017@main>
Reviewed commits have been landed. Closing PR #11850 and removing active labels.