Open
Bug 1966910
Opened 3 months ago
Make dom::Promise type safe
Categories
(Core :: DOM: Core & HTML, task)
Core
DOM: Core & HTML
Tracking
()
NEW
People
(Reporter: saschanaz, Unassigned)
References
Details
Right now the dom::Promise a black box; you don't know what's in there except it's JS::Value. Whereas the Web IDL syntax has Promise<subtype>
that requires it to include a certain subtype. Meaning we cannot implement the full Web IDL contract with the current dom::Promise implementation.
You need to log in
before you can comment on or make changes to this bug.
Description
•