Bug 205498

Summary: An issue of assignment expression
Product: WebKit Reporter: yaohouyou
Component: JavaScriptCoreAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: bfulgham, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Local Build   
Hardware: Unspecified   
OS: Unspecified   

yaohouyou
Reported 2019-12-20 05:39:22 PST
According to ES10, the exception is described in static semantics and the exception should be thrown during parssing. I suspect it's a bug of javascriptCore. ## version b96bf75 https://github.com/WebKit/webkit/commit/b96bf7590bc090fa8161cff1189255ca3319c94b ## command webkit/WebKitBuild/Release/bin/jsc testcase.js ## testcase var NISLFuzzingFunc = function(){ var e,n; (e = n) = "object"; }; ## output ## expected output SyntaxError: Invalid left-hand side in assignment
Attachments
yaohouyou
Comment 1 2020-01-07 19:33:05 PST
Is this an issue? Looking forward to your reply! Thank you!
Radar WebKit Bug Importer
Comment 2 2022-07-01 11:51:03 PDT
Note You need to log in before you can comment on or make changes to this bug.