Open
Bug 1836517
Opened 3 years ago
Updated 1 year ago
Test permission-based (non) exposure of camera/microphone device labels (with and wo/media.devices.enumerate.legacy.enabled)
Categories
(Core :: WebRTC: Audio/Video, task, P3)
Core
WebRTC: Audio/Video
Tracking
()
NEW
People
(Reporter: jib, Assigned: jib)
References
Details
This is a follow-up to bug 1836377 which will land with manual testing for now. There, we learned we lack WPT coverage here due to bug 1524074.
Some notes from karlt:
I guess we didn't have a good test for this. Need a mochitest probably to poke the permissions with SpecialPowers. Do you happen to know a similar test to copy here?
- karlt looks
karlt
permissions are handled in the parent process, so a browser chrome test would be better
either run the prompt dialog to remember allow, something like https://searchfox.org/mozilla-central/source/browser/base/content/test/webrtc/browser_devices_select_audio_output.js#154 but for always allow
or share devices - i'm not so familiar with this one https://searchfox.org/mozilla-central/source/browser/base/content/test/webrtc/head.js#1247
or set the permission directly https://searchfox.org/mozilla-central/source/browser/base/content/test/webrtc/browser_devices_select_audio_output.js#218
which would avoid the need for two tabs
| Assignee | ||
Updated•3 years ago
|
Assignee: nobody → jib
Severity: -- → S3
Priority: -- → P2
Updated•1 year ago
|
Priority: P2 → P3
You need to log in
before you can comment on or make changes to this bug.
Description
•