[Webkit-unassigned] [Bug 187758] New: Inconsistent output compared with other JS engines
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Jul 18 07:32:36 PDT 2018
https://bugs.webkit.org/show_bug.cgi?id=187758
Bug ID: 187758
Summary: Inconsistent output compared with other JS engines
Product: WebKit
Version: WebKit Local Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: JavaScriptCore
Assignee: webkit-unassigned at lists.webkit.org
Reporter: sunlili at ict.ac.cn
Hello,
The following code behaves strangely (inconsistent with other engines).
class c {
[d = function () {
return c;
}]() {
}
}
print("BT_FLAG");
In JavaScriptCore, the output is
BT_FLAG
However, in V8 and SpiderMonkey, output is
ReferenceError: d is not defined
BT group
2018.7.18
--
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/20180718/46b516d5/attachment.html>
More information about the webkit-unassigned
mailing list