Closed Bug 1411205 Opened 8 years ago Closed 7 years ago

[EME] Test case for Bug 1404230 HDCP Policy check on MediaKeys

Categories

(Core :: Audio/Video: GMP, enhancement, P2)

55 Branch
enhancement

Tracking

()

RESOLVED FIXED
mozilla59
Tracking Status
firefox59 --- fixed

People

(Reporter: JamesCheng, Assigned: JamesCheng)

References

Details

Attachments

(1 file)

I will design a test case in this bug. And land these two bugs together.
Attachment #8922229 - Flags: review?(cpearce)
Comment on attachment 8922229 [details] Bug 1411205 - Add a test case for Bug 1404230 HDCP Policy check on MediaKeys. https://reviewboard.mozilla.org/r/193252/#review199760 ::: dom/media/test/test_eme_getstatusforpolicy.html:57 (Diff revision 2) > + let video = document.getElementById("v"); > + is(video.mediaKeys, m, "Should have set MediaKeys on media element"); > + // getStatusForPolicy() is not suppored by ClearKey key system. > + // The promise will always be rejected with NotSupportedError. > + let hdcpPolicy = new MediaKeysPolicy({minHdcpVersion: "hdcp-2.0"}); > + return video.mediaKeys.getStatusForPolicy(hdcpPolicy); s/return video/return video/
Attachment #8922229 - Flags: review?(cpearce) → review+
Pushed by jacheng@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/bbcf8cb962bb Add a test case for Bug 1404230 HDCP Policy check on MediaKeys. r=cpearce
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla59
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: