Closed Bug 1469195 Opened 7 years ago Closed 7 years ago

Provide better error message when DOM media method throws or promise is rejected

Categories

(Core :: Audio/Video: Playback, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1469193

People

(Reporter: jya, Unassigned)

References

Details

Right now, all media DOM methods when throwing or when a promise is rejected use a plain nsresult error code. No other information is provided. It makes for obscure and not that useful information errors. We should be providing the full MediaResult information instead.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.