| Summary: | Error stack is incomplete for async call | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Xidorn Quan <xidorn-webkit> | ||||
| Component: | JavaScriptCore | Assignee: | Nobody <webkit-unassigned> | ||||
| Status: | NEW --- | ||||||
| Severity: | Normal | CC: | hi, mark.lam, webkit-bug-importer | ||||
| Priority: | P2 | Keywords: | CanvaBug, InRadar | ||||
| Version: | WebKit Nightly Build | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Attachments: |
|
||||||
|
Description
Xidorn Quan
2022-08-08 06:29:03 PDT
I think Firefox had a project for this: https://bugzilla.mozilla.org/show_bug.cgi?id=981514 but it seems to be stalled currently. Note that bug 163230 effectively implemented a bunch of this for Web Inspector. ive done a *lot* of work lately to fix this (and a few other things) =D - 252543@main added async stack trace capturing for `queueMicrotask` (when Web Inspector is open) - 252554@main 252693@main, 252914@main, and 253022@main removed internal functions (e.g. `promiseReactionJob`) from stack traces - 252630@main makes it so that sync stack traces shown in Web Inspector will now always include any async stack traces we currently don't capture async stack trace information when Web Inspector is not open, so i'll leave this bug open as consideration for doing that |