Open
Bug 1599434
Opened 5 years ago
Updated 2 years ago
Add support for AggregateError to PromiseWorker
Categories
(Toolkit :: Async Tooling, enhancement)
Toolkit
Async Tooling
Tracking
()
NEW
Tracking | Status | |
---|---|---|
firefox72 | --- | affected |
People
(Reporter: anba, Unassigned)
References
Details
The Promise.any proposal (bug 1568903) adds a new kind of built-in error (AggregateError
: https://tc39.es/proposal-promise-any/#sec-aggregate-error-object-structure). AggregateErrors are similar to the existing built-in errors with the exception of:
- The
AggregateError
constructor must be called with an iterable value as its first argument. AggregateError.prototype
has anerrors
getter-only accessor. This accessor returns an array of aggregated errors.
Promise.any
and AggregateError
are currently Nightly-only!
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•