Intent to Ship: EME MediaKeySession Closed Reason

71 views
Skip to first unread message

Xiaohan Wang (王消寒)

unread,
Aug 27, 2021, 7:06:50 PM8/27/21
to blink-dev

Contact emails

xhw...@chromium.org

Explainer

https://github.com/w3c/encrypted-media/issues/473

Specification

https://w3c.github.io/encrypted-media/#dom-mediakeysessionclosedreason

Summary

A MediaKeySessionClosedReason is proposed to indicate the reason for EME MediaKeySession closure, and the closed attribute would return a Promise<MediaKeySessionClosedReason> instead of the current Promise<void>.


Blink component

Internals>Media>Encrypted

TAG review

According to the "intent to prototype" discussion the TAG review shouldn't be necessary for this small change. It's still requested though at https://github.com/w3ctag/design-reviews/issues/671 just in case.

TAG review status

Not applicable 

Risks


Interoperability and Compatibility



Gecko: "non-harmful and lack of further comments" on the Request for Position.

WebKitSupport in W3C Media Working Group meeting. No response on the Request for Position.

Web developers: Supported and approved by Netflix's spec editor.


Debuggability

No DevTools changes are required, treated like any other attribute/enum.

Is this feature fully tested by web-platform-tests?

Yes (media/encrypted-media/encrypted-media-session-closed-event.html)

Flag name

EncryptedMediaSessionClosedReason (see CL)

Requires code in //chrome?

False

Tracking bug

https://crbug.com/1208618

Launch bug

https://crbug.com/1208618

Estimated milestones

M96

Link to entry on the Chrome Platform Status

https://www.chromestatus.com/feature/5632124143009792

Links to previous Intent discussions

Intent to prototype: https://groups.google.com/a/chromium.org/g/blink-dev/c/Vze-UnN9d3w


This intent message was generated by Chrome Platform Status.

Yoav Weiss

unread,
Sep 2, 2021, 3:25:00 PM9/2/21
to blink-dev, Xiaohan Wang
LGTM1

On Saturday, August 28, 2021 at 1:06:50 AM UTC+2 Xiaohan Wang wrote:

Contact emails

xhw...@chromium.org

Explainer

https://github.com/w3c/encrypted-media/issues/473

Specification

https://w3c.github.io/encrypted-media/#dom-mediakeysessionclosedreason

Summary

A MediaKeySessionClosedReason is proposed to indicate the reason for EME MediaKeySession closure, and the closed attribute would return a Promise<MediaKeySessionClosedReason> instead of the current Promise<void>.


Blink component

Internals>Media>Encrypted

TAG review

According to the "intent to prototype" discussion the TAG review shouldn't be necessary for this small change. It's still requested though at https://github.com/w3ctag/design-reviews/issues/671 just in case.

Can you mark the TAG review as an FYI? That way it won't be blocking here.

Alex Russell

unread,
Sep 2, 2021, 3:25:54 PM9/2/21
to blink-dev, Yoav Weiss, Xiaohan Wang, blink-dev
LGTM2

Chris Harrelson

unread,
Sep 2, 2021, 3:26:32 PM9/2/21
to Alex Russell, blink-dev, Yoav Weiss, Xiaohan Wang
LGTM3

--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/2ac12686-e871-4db3-a4aa-a61f3c985c1en%40chromium.org.

Xiaohan Wang (王消寒)

unread,
Sep 2, 2021, 6:40:15 PM9/2/21
to Chris Harrelson, Alex Russell, blink-dev, Yoav Weiss
Thank you all!
Reply all
Reply to author
Forward
0 new messages