Closed
Bug 1289931
Opened 8 years ago
Closed 8 years ago
Clearkey should fire InvalidAccessError instead of AbortError on invalid initData
Categories
(Core :: Audio/Video: Playback, defect)
Core
Audio/Video: Playback
Tracking
()
RESOLVED
FIXED
mozilla50
Tracking | Status | |
---|---|---|
firefox50 | --- | fixed |
People
(Reporter: cpearce, Assigned: cpearce)
References
(Blocks 1 open bug, )
Details
Attachments
(1 file)
This EME WPT of Google's fails: https://w3c-test.org/encrypted-media/Google/encrypted-media-generate-request-disallowed-input.html It fails because our ClearKey has different behaviour to Chrome's. When our ClearKey's generateRequest() is passed invalid initData, our ClearKey rejects with AbortError, but the test assumes InvalidAccessError.
Assignee | ||
Comment 1•8 years ago
|
||
Google's Web Platform EME test expects this, and it makes sense. Review commit: https://reviewboard.mozilla.org/r/67522/diff/#index_header See other reviews: https://reviewboard.mozilla.org/r/67522/
Attachment #8775354 -
Flags: review?(gsquelart)
Comment on attachment 8775354 [details] Bug 1289931 - Fire InvalidAccessError instead of AbortError when ClearKey's generateRequest is passed invalid initData. https://reviewboard.mozilla.org/r/67522/#review64672
Attachment #8775354 -
Flags: review?(gsquelart) → review+
Pushed by cpearce@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/7f6d8a4e0ee6 Fire InvalidAccessError instead of AbortError when ClearKey's generateRequest is passed invalid initData. r=gerald
Comment 4•8 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/7f6d8a4e0ee6
Status: NEW → RESOLVED
Closed: 8 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
•