Closed Bug 1174566 Opened 4 years ago Closed 4 years ago
[EME] Report more helpful messages when Media
Key System Status rejects
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.
* 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+
Beta try push that builds: https://treeherder.mozilla.org/#/jobs?repo=try&revision=7645c670e21b
It's looking like we won't need this uplifted...
You need to log in before you can comment on or make changes to this bug.