Open
Bug 1497357
Opened 7 years ago
Updated 1 year ago
ClearKey setServerCertificate rejects with NotSupportedError instead of resolving with false
Categories
(Core :: Audio/Video: Playback, enhancement, P3)
Core
Audio/Video: Playback
Tracking
()
NEW
People
(Reporter: cpearce, Unassigned)
References
(Blocks 1 open bug)
Details
According to the MediaKey.setServerCertificate spec [1] we should resolve with `false` if "If the Key System implementation represented by this object's cdm implementation value does not support server certificates". All other failures are represented by rejecting with an exception.
Widevine supports setServerCertificate() but ClearKey does not. However ClearKey (on desktop) isn't following the spec; it's rejecting with NotSupportedError [2], so we should check into ChromiumCDMProxy::SetServerCertificate().
We could also have something in MediaKeySystemAccess.cpp to denote which keysystems we expect to support setServerCertfificate, and check that in ChromiumCDMProxy::SetServerCertificate().
[1] https://www.w3.org/TR/encrypted-media/#dom-mediakeys-setservercertificate
[2] https://searchfox.org/mozilla-central/rev/29aea2a2a3bd0f5e25ce0b60a76053fb25ba5149/media/gmp-clearkey/0.1/ClearKeySessionManager.cpp#618
Updated•7 years ago
|
Rank: 25
Priority: -- → P3
Updated•3 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•