Add encryption scheme to MediaKeySystemMediaCapability to enable apps to discover scheme support
Categories
(Core :: Audio/Video: Playback, enhancement, P2)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox69 | --- | fixed |
People
(Reporter: bryce, Assigned: bryce)
References
Details
(Whiteboard: [qa-69b-p2])
Attachments
(4 files)
The changes involved are detailed in this proposal, as well as much of the motivation.
Of note, but not in the scope of this bug: a similar proposal for media capabilities is discussed here.
| Assignee | ||
Comment 1•7 years ago
|
||
Created https://github.com/WICG/encrypted-media-encryption-scheme/pull/12 in response to concerns about enum usage for encryption scheme. Please see the PR and issues linked within for further details.
| Assignee | ||
Comment 2•6 years ago
|
||
| Assignee | ||
Comment 3•6 years ago
|
||
| Assignee | ||
Comment 4•6 years ago
|
||
First step in implementing behaviour proposed in
https://github.com/WICG/encrypted-media-encryption-scheme/blob/master/explainer.md
| Assignee | ||
Comment 5•6 years ago
|
||
Add encryption scheme member to MediaKeySystemMediaCapability dict, but hide it
behind a pref as the behaviour involved is only proposed at this stage.
Depends on D34300
| Assignee | ||
Comment 6•6 years ago
|
||
Depends on D34301
| Assignee | ||
Comment 7•6 years ago
|
||
Enable the web platform tests for clearkey scheme checking. Since these tests
simply check if the functionality is implemented, and do not check if the
browsers actually support different encryption schemes, it's okay to do this
even though we don't have cbcs support in clearkey yet. I.e. it's enough that a
page can ask "do you support cbcs in clearkey?" to Firefox to pass the test, the
answer from Firefox doesn't have to be "yes."
Add the pref setting to the DRM scheme checking test, though leave the
expectations as they are on this test, as in automation the test will still not
pass due to Widevine downloads being blocked. My hope is that we can find a
solution to this Widevine download issue in automation, at which point we'd
expect that tests to start passing due to the pref added in this patch -- at
which point we could toggle the expectations.
Depends on D34302
| Assignee | ||
Comment 8•6 years ago
|
||
My current work on this uses a DOMString for the encryption scheme rather than an enum for the reasons detailed in https://github.com/WICG/encrypted-media-encryption-scheme/pull/12 I'm planning on discussing further on GitHub why I think a DOMString is preferred in the coming week.
| Assignee | ||
Comment 9•6 years ago
|
||
Comment 10•6 years ago
|
||
Comment 11•6 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/be993cc8f451
https://hg.mozilla.org/mozilla-central/rev/7c7382012e4e
https://hg.mozilla.org/mozilla-central/rev/70b2674c95c5
https://hg.mozilla.org/mozilla-central/rev/7cf9846578e4
| Assignee | ||
Comment 12•6 years ago
|
||
Updated•6 years ago
|
Description
•