Open Bug 1876810 Opened 2 years ago Updated 7 months ago

With privacy.resistFingerprinting, "☑ Remember this decision" forgetting which camera and microphone was shared is confusing

Categories

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

defect

Tracking

()

People

(Reporter: jib, Unassigned)

References

(Blocks 1 open bug)

Details

To reduce fingerprinting, bug 1372073 turns off device selection through web APIs by returning one opaque camera and microphone. End-users can still choose which camera and microphone this is through Firefox's permission prompt.

This works decently by default: subsequent gUM calls yield the same device until that (per-)device permission expires (60 minutes) or the tab is closed. End-users can revoke permission in the URL bar earlier to get the Firefox prompt back sooner — OKish for this fairly restrictive mode popular among Linux users.

But it doesn't work very well with ☑ Remember this decision which grants permission to all devices: subsequent gUM calls now yield the default device, surprisingly not the one the end-user chose initially.

Normally the webpage owns this decision, but in this mode in particular it might make more sense (to both end-user and webpage) if Firefox returned the same device as in the previous visit — maybe even prompt if that device isn't available? — since anything else breaks the illusion that there's just one device.

STR:

  1. Make sure you have two cameras (two mics works too)
  2. In about:config set privacy.resistFingerprinting to true
  3. Open https://jsfiddle.net/jib1/LbtxeLvw/ and revoke any persistent permission (from the URL bar)
  4. Click Start!, pick the secondary camera, e.g. Logitech BRIO, check ☑ Remember this decision, and Allow
  5. Click Stop!
  6. Click Start!

Ignore the text output, and instead visually inspect the video to verify which camera was active in step 4 and 6.

Expected result:

  • The same device (e.g. Logitech Brio) both times

Actual result:

  • The chosen device (e.g. Logitech Brio) in step 4 but the default device (e.g. FaceTime HD Camera) in step 6.
Summary: With privacy.resistFingerprinting, "☑ Remember this decision" forgets which camera and microphone was shared → With privacy.resistFingerprinting, "☑ Remember this decision" forgetting which camera and microphone was shared is confusing
Severity: -- → S3
Priority: -- → P2
See Also: → 1899736

Nevermind I misunderstood the initial issue.

Nevermind I misunderstood the initial issue.

Nevermind I misunderstood the initial issue.

Priority: P2 → P3
You need to log in before you can comment on or make changes to this bug.