WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
298508
[JSC] Add `async` prefix for async function frame on stack trace
https://bugs.webkit.org/show_bug.cgi?id=298508
Summary
[JSC] Add `async` prefix for async function frame on stack trace
Sosuke Suzuki
Reported
2025-09-06 20:04:14 PDT
When we have code like this: async function one() { await two(); } async function two() { await three(); } async function three() { await 3; throw new Error("error from three"); } V8 generates stack traces like the following. Note that async functions that were executing before being suspended have an "async" prefix in the stack trace: Error: error from three at three (./WebKitBuild/Debug/test.js:3:41) at async two (./WebKitBuild/Debug/test.js:2:24) at async one (./WebKitBuild/Debug/test.js:1:24) Currently, JSC's async stack traces do not add this prefix.
Attachments
Add attachment
proposed patch, testcase, etc.
Sosuke Suzuki
Comment 1
2025-09-06 20:05:24 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/50418
EWS
Comment 2
2025-09-06 22:58:27 PDT
Committed
299668@main
(5dd8842ba4a0): <
https://commits.webkit.org/299668@main
> Reviewed commits have been landed. Closing PR #50418 and removing active labels.
Radar WebKit Bug Importer
Comment 3
2025-09-06 22:59:14 PDT
<
rdar://problem/160042989
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug