New issue
Advanced search Search tips

Issue 796417 link

Starred by 1 user

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

Use a CdmPromise<bool> for setServerCertificate()

Project Member Reported by jrumm...@chromium.org, Dec 20 2017

Issue description

MediaKeys.setServerCertificate() returns a promise that resolves to true or false. Rather than treating a rejection with NOTSUPPORTEDERROR as a resolve(false) [1], use a CdmPromise<bool> so that CDMs can signal if they support certificates or not.

[1] https://cs.chromium.org/chromium/src/third_party/WebKit/Source/modules/encryptedmedia/MediaKeys.cpp?l=142
 

Sign in to add a comment