Closed
Bug 1282142
Opened 9 years ago
Closed 9 years ago
[EME]: navigator.requestMediaKeySystemAccess should fail for unsupported session types for clear key
Categories
(Core :: Audio/Video: Playback, defect, P3)
Tracking
()
RESOLVED
FIXED
mozilla50
Tracking | Status | |
---|---|---|
firefox50 | --- | fixed |
People
(Reporter: watsonm, Assigned: cpearce)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36
Steps to reproduce:
navigator.requestMediaKeySystemAccess( 'org.w3.clearkey', [ { sessionTypes: [ 'persistent-usage-record' ] } ] )
Actual results:
The returned promise resolves with a MediaKeyAccess object from which a MediaKeys can be created and then on createSession( 'persistent-usage-record') an error is thrown.
Expected results:
The requestMediaKeySystemAccess should throw NotSupportedException per the specification https://w3c.github.io/encrypted-media/#get-supported-configuration-and-consent, step 13.3
Reporter | ||
Updated•9 years ago
|
Component: Untriaged → Audio/Video: Playback
OS: Unspecified → Mac OS X
Product: Firefox → Core
Hardware: Unspecified → x86_64
Mass change P2 -> P3
Priority: P2 → P3
Assignee | ||
Comment 2•9 years ago
|
||
Support for the latest navigator.requestMediaKeySystemAccess() behaviour (except prompting for consent) is implemented in bug 1278198, which just landed.
I'll add a test case here to enforce expected results above, since our implementation doesn't support persistent-usage-record MediaKeySessionTypes.
Assignee | ||
Comment 3•9 years ago
|
||
Review commit: https://reviewboard.mozilla.org/r/66324/diff/#index_header
See other reviews: https://reviewboard.mozilla.org/r/66324/
Attachment #8773593 -
Flags: review?(gsquelart)
Assignee: nobody → cpearce
Comment on attachment 8773593 [details]
Bug 1282142 - Add testcase ensuring persistent-usage-record MediaKeySessions are unsupported by ClearKey.
https://reviewboard.mozilla.org/r/66324/#review63102
Attachment #8773593 -
Flags: review?(gsquelart) → review+
Assignee | ||
Comment 5•9 years ago
|
||
Assignee | ||
Comment 6•9 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/48bcc4d343b3a33d08b13300f5a8b0d71e793a32
Bug 1282142 - Add testcase ensuring persistent-usage-record MediaKeySessions are unsupported by ClearKey. r=gerald
Pushed by cpearce@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/48bcc4d343b3
Add testcase ensuring persistent-usage-record MediaKeySessions are unsupported by ClearKey. r=gerald
Comment 8•9 years ago
|
||
bugherder |
Status: UNCONFIRMED → RESOLVED
Closed: 9 years ago
status-firefox50:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla50
You need to log in
before you can comment on or make changes to this bug.
Description
•