WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
244839
RegExp.rightContext differs between JSC and V8
https://bugs.webkit.org/show_bug.cgi?id=244839
Summary
RegExp.rightContext differs between JSC and V8
qbtly
Reported
2022-09-06 04:45:03 PDT
Created
attachment 462161
[details]
the minimal poc var str = "ab"; var pattern = /a/; str.split(pattern); print(RegExp.rightContext); //JSC: //V8:b
Attachments
the minimal poc
(85 bytes, application/x-javascript)
2022-09-06 04:45 PDT
,
qbtly
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2022-09-13 04:45:20 PDT
<
rdar://problem/99865597
>
Yusuke Suzuki
Comment 2
2022-09-14 13:23:39 PDT
Note: this is because String split is not using RegExpCache's performMatch (we are using RegExp::match instead). We should just use it instead.
Sosuke Suzuki
Comment 3
2024-03-24 06:23:28 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/26387
EWS
Comment 4
2024-04-16 11:14:45 PDT
Committed
277559@main
(c5b8a0234ef8): <
https://commits.webkit.org/277559@main
> Reviewed commits have been landed. Closing PR #26387 and removing active labels.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug