With privacy.resistFingerprinting, "☑ Remember this decision" forgetting which camera and microphone was shared is confusing
Categories
(Core :: WebRTC: Audio/Video, defect, P3)
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:
- Make sure you have two cameras (two mics works too)
- In about:config set
privacy.resistFingerprinting
totrue
- Open https://jsfiddle.net/jib1/LbtxeLvw/ and revoke any persistent permission (from the URL bar)
- Click
Start!
, pick the secondary camera, e.g. Logitech BRIO, check ☑ Remember this decision, and Allow - Click
Stop!
- 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.
Reporter | ||
Updated•2 years ago
|
Updated•2 years ago
|
Comment 1•1 year ago
•
|
||
Nevermind I misunderstood the initial issue.
Comment 2•1 year ago
•
|
||
Nevermind I misunderstood the initial issue.
Comment 3•1 year ago
•
|
||
Nevermind I misunderstood the initial issue.
Updated•7 months ago
|
Description
•