Closed Bug 1637336 Opened 6 years ago Closed 6 years ago

Change WebRTC screen / window sharing permission dialog to use the same Not Now | Allow popup notification type as Persistent Storage

Categories

(Firefox :: Site Permissions, task)

task

Tracking

()

RESOLVED FIXED
Firefox 78
Tracking Status
firefox77 --- fixed
firefox78 --- fixed

People

(Reporter: mconley, Assigned: mconley)

References

(Blocks 1 open bug)

Details

Attachments

(2 files)

Currently, the WebRTC screen / window sharing popup notification includes a checkbox at the bottom to "Remember this decision", but when checked, we display a warning to users that... we can't actually remember the decision for sharing the screen.

This is true - we never want to remember the decision for sharing the screen, or audio from screens / windows. It seems weird, then, to offer users this checkbox since it's "an impossible option".

shorlander suggested using a Popup Notification style similar to the persistent storage permission. See attachment.

Blocks: 1635257

This is the same preference that will power the notification suppression
option in bug 1635257, hence the preference name.

Assignee: nobody → mconley
Status: NEW → ASSIGNED

Comment on attachment 9147754 [details]
Bug 1637336 - Add a preference that uses an alternative WebRTC screen sharing permission panel configuration. r?johannh!

Beta/Release Uplift Approval Request

  • User impact if declined: None.
  • Is this code covered by automated tests?: Yes
  • Has the fix been verified in Nightly?: Yes
  • Needs manual test from QE?: No
  • If yes, steps to reproduce:
  • List of other uplifts needed: None
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky): Adds a branch to our WebRTC UI code that is preffed off by default.
  • String changes made/needed: None
Attachment #9147754 - Flags: approval-mozilla-beta?

Note that when uplifting, there might be a merge conflict with browser/base/content/test/static/browser_all_files_referenced.js. This is a simple manual conflict resolution, where we need to account for these lines existing in beta:

 // services/sync/modules/bridged_engine.js
 { file: "resource://services-sync/bridged_engine.js" },

These were removed in Nightly recently by bug 1628752.

Comment on attachment 9147754 [details]
Bug 1637336 - Add a preference that uses an alternative WebRTC screen sharing permission panel configuration. r?johannh!

Planned uplift approved via the release exception process, uplift approved for beta 8, thanks.

Attachment #9147754 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
Group: mozilla-employee-confidential
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: