Closed
Bug 1174566
Opened 10 years ago
Closed 10 years ago
[EME] Report more helpful messages when MediaKeySystemStatus rejects
Categories
(Core :: Audio/Video, defect, P1)
Core
Audio/Video
Tracking
()
RESOLVED
FIXED
mozilla41
Tracking | Status | |
---|---|---|
firefox41 | --- | fixed |
People
(Reporter: cpearce, Assigned: cpearce)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
8.92 KB,
patch
|
eflores
:
review+
|
Details | Diff | Splinter Review |
When we reject a navigator.requestMediaKeySystemAccess() promise, we can provide a message string to help debug the reason for failure. We should provide more helpful strings. For example, in MediaKeySystemAccess::GetKeySystemStatus() we signal a reject for the "EME disabled" case, but we'll end up reporting a generic "not supported" error. GMPVideoDecoderTrialCreator seems to always reject with the same generic error message.
We should make these messages more helpful, so that we can debug in the field more easily.
Updated•10 years ago
|
Priority: -- → P1
Assignee | ||
Updated•10 years ago
|
Assignee: nobody → cpearce
Assignee | ||
Comment 1•10 years ago
|
||
* Add more helpful exception messages when requestMediaKeySystemAccess rejects.
* Remove the MP4Decoder::CanCreateH264Decoder() and MP4Decoder::CanCreateAACDecoder() checks from MediaKeySystemAccess::GetKeySystemStatus(), since it doesn't make much sense since we now have GMPTrialVideoCreator.
Attachment #8626349 -
Flags: review?(edwin)
Attachment #8626349 -
Flags: review?(edwin) → review+
Comment 3•10 years ago
|
||
Status: NEW → RESOLVED
Closed: 10 years ago
status-firefox41:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla41
Assignee | ||
Comment 4•10 years ago
|
||
Flags: needinfo?(cpearce)
Assignee | ||
Comment 5•10 years ago
|
||
Beta try push that builds:
https://treeherder.mozilla.org/#/jobs?repo=try&revision=7645c670e21b
Assignee | ||
Comment 6•10 years ago
|
||
It's looking like we won't need this uplifted...
Flags: needinfo?(cpearce)
You need to log in
before you can comment on or make changes to this bug.
Description
•