Chromium Code Reviews
DescriptionChange MediaKeys.setServerCertificate() to return Promise<boolean>
https://github.com/w3c/encrypted-media/issues/145 changed the EME spec
so that setServerCertificate() returns Promise<boolean>. Update the
implementation to match.
This change updates the IDL and returns true on success.
NOT_SUPPORTED_ERRORs will resolve with false.
BUG=618800
TEST=EME tests pass, www.netflix.com plays
Committed: https://crrev.com/e3d85c9614d5864bc3a9506b529036f2d703e0ec
Cr-Commit-Position: refs/heads/master@{#399595}
Patch Set 1 #
Total comments: 2
Patch Set 2 : resolve false #
Total comments: 10
Patch Set 3 : changes #
Messages
Total messages: 16 (5 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||