Open Bug 1563820 Opened 5 years ago Updated 3 years ago

Clicking on enable DRM overrides the [Never Activate] option for Widevine.

Categories

(Firefox :: Site Permissions, defect, P3)

70 Branch
defect

Tracking

()

Firefox 70

People

(Reporter: BryanFRitt, Unassigned)

Details

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0

Steps to reproduce:

Try to watch an a video that uses DRM

Actual results:

popup near top of browser "You must enable DRM to play some audio or video on this page."[Enable DRM]
Clicking this then overrides the [Never Activate] preference.

Expected results:

The above [at least to me] counts as an [Ask to Activate] even though I have Widevine set to [Never Activate] and not [Ask to Activate] and not [Always Activate].

DRM is more generic term than Widevine DRM. Seeing this message implies that this message possibly goes with one of the [Ask to Activate] plugins. Even though Widevine plugin was set to [Never Activate] clicking on this Activates the Widevine plugin without any further prompts. It shouldn't do this. It should honor the [Never Activate] option for this.

Also, there should be a [Ask to Active] option available for Widevine, and if preference is set, after the Enable DRM prompt, then [Ask to Activate] this specific plugin(s), or whatever that's set to [Ask to Activate] that is needed.

Related 'bugfix' that may have caused this bug.
https://bugzilla.mozilla.org/show_bug.cgi?id=1265321
[Widevine] The Widevine plug-in can't be enabled from the "You must enable DRM..." bar

I am going to assign "Core: Audio/Video: Playback" component for it.

Product: Firefox → Core
Component: Untriaged → Audio/Video: Playback

Could you please try to update Firefox to the latest version and test if the issue is still reproducible?
Thanks.

Flags: needinfo?(BryanFRitt)

I managed to reproduce this but I'm not sure if this is a bug or it's the expected behavior here.
I assigned the component above and hopefully someone with more knowledge in this area will a look over this.

Flags: needinfo?(BryanFRitt)

This happens in both the current firefox 68.0 (64-bit), and the current firefox-esr 60.7.2esr (64-bit).

(In reply to Bryan from comment #4)

This happens in both the current firefox 68.0 (64-bit), and the current firefox-esr 60.7.2esr (64-bit).

at least on my Debian Linux system.

(In reply to Hani Yacoub from comment #3)

I managed to reproduce this but I'm not sure if this is a bug or it's the expected behavior here.
I assigned the component above and hopefully someone with more knowledge in this area will a look over this.

Another way to think about this is that the prompt to [Enable DRM], overrides the [Never Activate] option when it shouldn't.

Think of [Enable DRM] as enabling the DRM choices
[] Enable DRM
--- specific DRM 1 -- [] Always Activate [] Ask to Activate [] Never Activate
--- specific DRM 2 -- [] Always Activate [] Ask to Activate [] Never Activate
--- specific DRM 2 -- [] Always Activate [] Ask to Activate [] Never Activate
...
After the Enable DRM prompt or enabling DRM through the settings, The specific DRM's needed that are set to [Always Activate] should become Active, the ones needed that are set to [Ask to Activate] should prompt, and the ones set to [Never Activate] should stay Disabled without prompting.
Disabling DRM should disable all DRM, but not change their Activation settings, etc...

[] Always Activate [] Ask to Activate [] Never Activate,
Should be more of a 'When DRM is enabled...', 'if asked for be website then...'

[edit - be->by]
[] Always Activate [] Ask to Activate [] Never Activate,
Should be more of a 'When DRM is enabled...', 'if asked for by website then...'

This sounds more like a UI bug than a playback bug, so I'm going to move it to the Firefox product. Please move it back if I'm incorrect.

Component: Audio/Video: Playback → Site Identity and Permission Panels
Product: Core → Firefox
Target Milestone: --- → Firefox 70
Version: 60 Branch → 70 Branch

If you wish to silence any prompts in the meantime I believe the prompt can be completely hidden by setting both of the following to false in about config:

media.gmp-widevinecdm.enabled
media.gmp-widevinecdm.visible
Status: UNCONFIRMED → NEW
Ever confirmed: true
Priority: -- → P3
Component: Site Identity → Site Permissions
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.