Open Bug 1322517 Opened 3 years ago Updated 15 days ago

[EME] Remove support for EME on insecure contexts

Categories

(Core :: Audio/Video: Playback, defect, P3)

defect

Tracking

()

People

(Reporter: cpearce, Assigned: JamesCheng)

References

(Blocks 1 open bug)

Details

(Keywords: site-compat)

Attachments

(2 files, 1 obsolete file)

The EME spec says it is only to be supported on secure contexts.

Netflix are already only using EME over HTTPS in Firefox.

Our intention is to make this change the Firefox release after Chrome ships this.
Depends on: 1360438
Depends on: 1361000
MozReview-Commit-ID: 1kIWXRS7BJu
Chrome has removed support for EME on insecure contexts in their 58 (https://www.chromestatus.com/features/5724389932793856)

I will take over this bug and move on dom peer reviewing.
Assignee: cpearce → jacheng
Telemetry shows that 10.92% of all EME content is served on non-secure contexts in Firefox 56 release: https://mzl.la/2h0hbUF

The telemetry has expired too, we should really renew it.
If I extend the telemetry, should I still need to work on this bug to remove supporting on insecure context? 

Thanks.
Flags: needinfo?(cpearce)
The MEDIA_EME_SECURE_CONTEXT will be expired in gecko 60.

http://searchfox.org/mozilla-central/rev/aa1343961fca52e8c7dab16788530da31aab7c8d/toolkit/components/telemetry/Histograms.json#8569

So we will extend the telemetry when Nightly hits ver.60 (2018-01-15). I will extend the telemetry to 63.

Telemetry shows that 10.92% of all EME content is served on non-secure contexts in Firefox 56.

We expect the number eliminates to around 2% then I will move on this bug.
Flags: needinfo?(cpearce)
Depends on: 1413398
Depends on: 1413427
There is a lot of test failures 

https://treeherder.mozilla.org/#/jobs?repo=try&revision=e095734e1666d0384b4dfa12a7c7459077c94a28&selectedJob=144854157

I think we should use

https://searchfox.org/mozilla-central/rev/a662f122c37704456457a526af90db4e3c0fd10e/dom/tests/mochitest/general/test_interfaces.js#874

to mark them test in SecureContext.

I will provide a patch in this bug to fix those error together when I need to go back working on this.
Attachment #8893631 - Attachment is obsolete: true
Keywords: site-compat
You need to log in before you can comment on or make changes to this bug.