Open
Bug 2031740
Opened 4 months ago
Updated 4 months ago
Should the promise allocated inside internal await be debuggable
Categories
(Core :: JavaScript Engine, task, P3)
Core
JavaScript Engine
Tracking
()
NEW
People
(Reporter: mgaudet, Unassigned)
References
(Blocks 2 open bugs)
Details
Inside of InternalAwait we allocate a promise with unforgeableResolve.
This promise gets the normal debugger treatment:
- the debugger API can see this browser
- We track PromiseDebugInfo
In some benchmarks you can actually see this. So I am left wondering: should we actually make this promise much more stripped down and avoid ever doing tracking like this?
(Async-fs is an example here, and the thing I spotted was saving the resolution site)
| Reporter | ||
Updated•4 months ago
|
Blocks: jetstream3
Updated•4 months ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•