Closed Bug 1110497 Opened 10 years ago Closed 10 years ago

[EME] Reject clearkey updates with invalid license data

Categories

(Core :: Audio/Video, defect)

x86_64
Windows 8.1
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla37
Tracking Status
firefox37 --- fixed
firefox38 --- fixed
firefox39 --- fixed

People

(Reporter: cpearce, Assigned: cpearce)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

We should be rejecting MediaKeySession.update() messages which contain invalid licenses. From the update() spec: https://w3c.github.io/encrypted-media/#widl-MediaKeySession-update-Promise-void--BufferSource-response "If the format of sanitized response is invalid in any way, reject promise with a new DOMException whose name is InvalidAccessError." This makes it harder for people to write ClearKey test pages...
Make gmp-clearkey reject license messages that don't conform to the required format.
Attachment #8535282 - Flags: review?(edwin)
Comment on attachment 8535282 [details] [diff] [review] Patch: Make gmp-clearkey reject invalid license messages Review of attachment 8535282 [details] [diff] [review]: ----------------------------------------------------------------- Eh, ok.
Attachment #8535282 - Flags: review?(edwin) → review+
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla37
Mass update firefox-status to track EME uplift.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: