[Webkit-unassigned] [Bug 243596] New: [JSC] The JSONP parser for the fast path should be more idiomatic
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Aug 5 10:59:07 PDT 2022
https://bugs.webkit.org/show_bug.cgi?id=243596
Bug ID: 243596
Summary: [JSC] The JSONP parser for the fast path should be
more idiomatic
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: JavaScriptCore
Assignee: webkit-unassigned at lists.webkit.org
Reporter: yijia_huang at apple.com
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
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20220805/b57302d7/attachment-0001.htm>
More information about the webkit-unassigned
mailing list