Open Bug 1599435 Opened 5 years ago Updated 2 years ago

Add support for AggregateError to devtools

Categories

(DevTools :: General, enhancement, P3)

enhancement

Tracking

(Not tracked)

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 an errors getter-only accessor. This accessor returns an array of aggregated errors. (Edit: Changed to a data property on the individual AggregateError instances in bug 1641355.)

Promise.any and AggregateError are currently Nightly-only!

See Also: → 1568903

Will there a bug for Promise.any to ride the trains that we could block this bug on, just so we know how to prioritize it?

Flags: needinfo?(andrebargull)
Blocks: 1599769

No, but I've just created bug 1599769.

No longer blocks: 1599769
Flags: needinfo?(andrebargull)
Blocks: 1599769
Priority: -- → P3
Severity: normal → S3
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.