Closed Bug 1978428 Opened 2 months ago Closed 2 months ago

Implement the enum MediaKeySessionClosedReason

Categories

(Core :: Audio/Video: Playback, task, P2)

task

Tracking

()

RESOLVED FIXED
143 Branch
Tracking Status
firefox143 --- fixed

People

(Reporter: alwu, Assigned: alwu)

References

()

Details

Attachments

(2 files)

MediaKeySessionClosedReason is an enum to indicate why the media key session is closed, so that websites can better handle this in their player to avoid playback error.

This was introduced in the EME spec 4 years ago, and Chromium shipped it in the same year. Our standard position ticket marks this as non-harmful.

Blocks: 1978434

The default is returning closed-by-application for close per the spec [1]. We
will implement returning other reasons in bug 1978434.

[1] https://w3c.github.io/encrypted-media/#ref-for-dom-mediakeysessionclosedreason-closed-by-application-3

Attachment #9502271 - Attachment description: Bug 1978428 - implement MediaKeySessionClosedReason and return `closed-by-application` for close. → Bug 1978428 - implement MediaKeySessionClosedReason and return `closed-by-application` for `closed`.
Attachment #9502271 - Attachment description: Bug 1978428 - implement MediaKeySessionClosedReason and return `closed-by-application` for `closed`. → Bug 1978428 - part1 : implement MediaKeySessionClosedReason and return `closed-by-application` for `closed`.
Pushed by alwu@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/0499c7b6cb55 https://hg.mozilla.org/integration/autoland/rev/4106546df3f1 part1 : implement MediaKeySessionClosedReason and return `closed-by-application` for `closed`. r=media-playback-reviewers,webidl,padenot,emilio https://github.com/mozilla-firefox/firefox/commit/6913aad153f1 https://hg.mozilla.org/integration/autoland/rev/b51ee02c0e85 part2 : adjust wpt result. r=media-playback-reviewers,padenot
Status: NEW → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
Target Milestone: --- → 143 Branch
QA Whiteboard: [qa-triage-done-c144/b143]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: