Bug 205498
Summary: | An issue of assignment expression | ||
---|---|---|---|
Product: | WebKit | Reporter: | yaohouyou |
Component: | JavaScriptCore | Assignee: | 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
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 | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
yaohouyou
Is this an issue? Looking forward to your reply! Thank you!
Radar WebKit Bug Importer
<rdar://problem/96306309>