Open
Bug 1616731
Opened 5 years ago
Updated 3 years ago
Fenix should ask user for camera/mic before asking OS.
Categories
(GeckoView :: General, defect, P3)
Tracking
(Not tracked)
NEW
People
(Reporter: jib, Unassigned)
Details
(Whiteboard: [geckoview:2023?])
STRs:
- (If not a clean install, go to ⚙️ / Apps / Firefox Nightly (Preview) / Permissions, and turn off Camera and Microphone, and restart Fenix)
- Open https://jan-ivar.github.io/dummy/gum.html in Fenix
Expected results:
- Allow jan-ivar.github.io to use your camera and microphone? Don't allow / Allow (← click Allow)
- Allow Firefox Nightly to take pictures and record video? Deny / Allow
Actual results:
- Allow Firefox Nightly to take pictures and record video? Deny / Allow (← click Allow)
- Allow jan-ivar.github.io to use your camera and microphone? Don't allow / Allow
Reasons:
- Gives the user context for why Firefox is suddenly asking for camera/mic upfront (e.g. which site will receive access).
- Primes user to not block Fenix forever by mistake.
- It's what Fennec and Chrome do.
Comment 1•5 years ago
|
||
This is UI behavior which makes it a Android Components or Fenix issue.
This has come up before, and the reason this happens can be found here: https://bugzilla.mozilla.org/show_bug.cgi?id=1527056#c13
If you'd like to change this that's probably fine, but AFAIK GV is mostly just proxying the permission requests from the WebRTC impl.
Priority: -- → P2
Updated•5 years ago
|
Rank: 17
| Reporter | ||
Updated•5 years ago
|
Flags: needinfo?(dminor)
Comment 3•5 years ago
|
||
Bug 1610939 removed the permissions check as part of enumerate devices that was mentioned in https://bugzilla.mozilla.org/show_bug.cgi?id=1527056#c13. Even with those changes I'm still seeing the Android permissions prompt before the Firefox prompt, but there might be more we can do about it now.
Flags: needinfo?(dminor)
Updated•3 years ago
|
Priority: P2 → P3
Whiteboard: [geckoview:2023?]
Updated•3 years ago
|
Severity: normal → S3
Updated•3 years ago
|
Rank: 17 → 333
You need to log in
before you can comment on or make changes to this bug.
Description
•