Closed
Bug 1233274
Opened 9 years ago
Closed 9 years ago
[EME] Don't shutdown detached MediaKeys
Categories
(Core :: Audio/Video: Playback, defect)
Core
Audio/Video: Playback
Tracking
()
RESOLVED
FIXED
mozilla46
Tracking | Status | |
---|---|---|
firefox46 | --- | fixed |
People
(Reporter: cpearce, Assigned: cpearce)
References
(Blocks 1 open bug)
Details
Attachments
(2 files)
Chrome doesn't shutdown a MediaKeys object which is attached to an HTMLMediaElement when a new MediaKeys is set on said HTMLMediaElement. See attached testcase; we reject the MediaKeySession.generateRequest promise, Chrome does not. Note the spec gives us wiggle room to choose what to do here. I think we should try to match Chrome and not shutdown the MediaKeys.
Assignee | ||
Comment 1•9 years ago
|
||
I note that Chrome refuses to allow the MediaKeys to be reset if its already loaded a resource in the media element.
Assignee | ||
Comment 2•9 years ago
|
||
We can basically take this opportunity to update our HTMLMediaElement.setMediaKeys() implementation to match the current spec: http://www.w3.org/TR/encrypted-media/#widl-HTMLMediaElement-setMediaKeys-Promise-void--MediaKeys-mediaKeys
Assignee | ||
Updated•9 years ago
|
Assignee: nobody → cpearce
Assignee | ||
Comment 3•9 years ago
|
||
Review commit: https://reviewboard.mozilla.org/r/29659/diff/#index_header See other reviews: https://reviewboard.mozilla.org/r/29659/
Attachment #8704410 -
Flags: review?(gsquelart)
Comment on attachment 8704410 [details] MozReview Request: Bug 1233274 - Don't shutdown detached MediaKeys. r?gerald https://reviewboard.mozilla.org/r/29659/#review26479 r+ after typo is fixed: ::: dom/media/test/test_eme_detach_media_keys.html:38 (Diff revision 1) > +// after the second MediaKeys has been se on the media element. "se" -> "set"
Attachment #8704410 -
Flags: review?(gsquelart) → review+
Comment 6•9 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/ef39bda60d33
Status: NEW → RESOLVED
Closed: 9 years ago
status-firefox46:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla46
You need to log in
before you can comment on or make changes to this bug.
Description
•