WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
243596
[JSC] The JSONP parser for the fast path should be more idiomatic
https://bugs.webkit.org/show_bug.cgi?id=243596
Summary
[JSC] The JSONP parser for the fast path should be more idiomatic
Yijia Huang
Reported
2022-08-05 10:59:07 PDT
JOSNP is a super legacy feature. And the current JSONP parser for the fast path doesn't lines up with JSONP idioms. Patterns should not trigger JSONP fast path: * "const" and "let" * "var foo", "x.foo =", and "x["foo"] =" Reasonable Patterns for JSONP fast path: * "foo(<JSON>)", "x.foo(<JSON>)", and "x["foo"](<JSON>)" * One expression statement that ends with a call
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2022-08-12 11:00:20 PDT
<
rdar://problem/98577379
>
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