[Webkit-unassigned] [Bug 247725] New: Computed Name in Async Method
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Nov 10 04:08:05 PST 2022
https://bugs.webkit.org/show_bug.cgi?id=247725
Bug ID: 247725
Summary: Computed Name in Async Method
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: p51lee at kaist.ac.kr
// input.js
class x { async [ "f" ] ( ) { } }
print(x.prototype.f.name);
_____________________
Hello,
Executing the input.js using JSC prints "async", but "f" is expected.
Running the input.js with JSC results in:
---
$ jsc input.js
async
---
while other engines behave like:
---
# V8 (used console.log)
$ node input.js
f
# GraalJS
$ js input.js
f
---
WebKit version: 615.1.10
--
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/20221110/462edaa6/attachment.htm>
More information about the webkit-unassigned
mailing list