Closed Bug 1628871 Opened 4 years ago Closed 4 years ago

Make media.eme.enabled locking work properly

Categories

(Firefox :: Enterprise Policies, enhancement, P3)

enhancement

Tracking

()

RESOLVED FIXED
Firefox 77
Tracking Status
firefox-esr68 77+ fixed
firefox77 --- fixed

People

(Reporter: mkaply, Assigned: mkaply)

Details

Attachments

(4 files)

Currently we have a pref to turn off media.eme.enabled, but the locked state is ignored by Firefox.

We should implement a proper policy with locking/unlocking and add the check in MediaKeySystemAccessManager.cpp

-    MediaKeySystemAccess::NotifyObservers(mWindow, aRequest->mKeySystem,
-                                          MediaKeySystemStatus::Api_disabled);
+    if (!Preferences::IsLocked("media.eme.enabled")) {
+      MediaKeySystemAccess::NotifyObservers(mWindow, aRequest->mKeySystem,
+                                            MediaKeySystemStatus::Api_disabled);
+    }
Status: NEW → ASSIGNED
Pushed by mozilla@kaply.com:
https://hg.mozilla.org/integration/autoland/rev/3e560ed2592e
Don't show DRM install message if eme pref is locked. r=bryce
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 77

Forgot to mark leave open.

Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Pushed by mozilla@kaply.com:
https://hg.mozilla.org/integration/autoland/rev/74d737283c49
Add policy for Encrypted Media Extensions. r=mconley,fluent-reviewers,flod
Status: REOPENED → RESOLVED
Closed: 4 years ago4 years ago
Resolution: --- → FIXED

[Approval Request Comment]
If this is not a sec:{high,crit} bug, please state case for ESR consideration: Fix to make policy work properly
User impact if declined: When EME pref is locked, UI shows but doesn't work.
Fix Landed on Version: 77
Risk to taking this patch (and alternatives if risky): Low, test and only kicks in if policy is set.

See https://wiki.mozilla.org/Release_Management/ESR_Landing_Process for more info.

Attachment #9145944 - Flags: approval-mozilla-esr68?

Comment on attachment 9140267 [details]
Bug 1628871 - Add policy for Encrypted Media Extensions. r?mconley

ESR Uplift Approval Request

  • If this is not a sec:{high,crit} bug, please state case for ESR consideration: New policy
  • User impact if declined: Policy unavailable
  • Fix Landed on Version: 77
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky): Policy only
  • String or UUID changes made by this patch: New policy string.
Attachment #9140267 - Flags: approval-mozilla-esr68?
QA Whiteboard: [qa-77b-p2]
Comment on attachment 9145944 [details] [diff] [review]
ESR version of first patch

new policy, approved for 68.9
Attachment #9145944 - Flags: approval-mozilla-esr68? → approval-mozilla-esr68+
Attachment #9140267 - Flags: approval-mozilla-esr68? → approval-mozilla-esr68+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: