[EME] keyids initdata format should not have a session type parameter

RESOLVED FIXED in Firefox 52

Status

()

defect
P3
normal
RESOLVED FIXED
3 years ago
3 years ago

People

(Reporter: cpearce, Assigned: cpearce)

Tracking

(Blocks 1 bug)

unspecified
mozilla52
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(firefox52 fixed)

Details

Attachments

(1 attachment)

The EME spec for keyids initdata format does not specify a session type:
https://w3c.github.io/encrypted-media/format-registry/initdata/keyids.html

But ClearKeyUtils::ParseKeyIdsInitData() is checking for a session type, and assuming a "temporary" session type if no session type is specified. This is one of the cause of the Web Platform Test http://www.w3c-test.org/encrypted-media/clearkey-mp4-playback-destroy-persistent-license.html failing.
Assignee

Updated

3 years ago
Summary: [EME] keyids initdata format should have a session type parameter → [EME] keyids initdata format should not have a session type parameter
Comment hidden (mozreview-request)

Comment 2

3 years ago
mozreview-review
Comment on attachment 8799300 [details]
Bug 1308821 - Ensure ClearKey doesn't parse a keyids initdata format session type parameter.

https://reviewboard.mozilla.org/r/84520/#review83352

Looks good to me.
Attachment #8799300 - Flags: review?(kikuo) → review+
The patch here also makes clearkey-mp4-syntax-mediakeysession.html pass.

Comment 4

3 years ago
Pushed by cpearce@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/9b132e52aa0a
Ensure ClearKey doesn't parse a keyids initdata format session type parameter. r=kikuo

Comment 5

3 years ago
Backout by philringnalda@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/1834eea3fbce
Backed out changeset 9b132e52aa0a for wpt encrypted-media/clearkey timeouts and unexpected passes
https://hg.mozilla.org/integration/mozilla-inbound/rev/50482ffb2969a1013d3daa2af2924fa3cd86aa75
Bug 1308821 - Ensure ClearKey doesn't parse a keyids initdata format session type parameter. r=kikuo

Comment 8

3 years ago
bugherder
https://hg.mozilla.org/mozilla-central/rev/50482ffb2969
Status: NEW → RESOLVED
Last Resolved: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla52
You need to log in before you can comment on or make changes to this bug.