Closed
Bug 1436640
Opened 7 years ago
Closed 7 years ago
Firefox for Android doesn't reject the promise returned by getUserMedia
Categories
(Firefox for Android Graveyard :: General, defect, P3)
Tracking
(Not tracked)
RESOLVED
INACTIVE
People
(Reporter: youlix, Unassigned)
References
Details
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36
Steps to reproduce:
1. Called the navigator.mediaDevices.getUserMedia method with the parameter { audio: true }.
2. A pop-up showed up to ask me whether sharing or not sharing microphone with the site.
3. Touched on the gray area instead of the 2 buttons.
Actual results:
1. The pop-up disappeared.
2. Nothing happened on the promise returned by the getUserMedia method.
Expected results:
1. The pop-up disappeared.
2. The promise returned by the getUserMedia method should be rejected.
Comment 1•7 years ago
|
||
I suspect that this behaves like geolocation. Not getting a response is a valid response. A response is only returned when the user explicitly denies or accepts the request. Over to WebRTC where there are people who know the spec better.
Component: Audio/Video → WebRTC
Product: Firefox for Android → Core
Version: Firefox 58 → 58 Branch
Comment 2•7 years ago
|
||
No response as a valid response makes sense to me. :jib, is that correct?
Flags: needinfo?(jib)
Comment 3•7 years ago
|
||
Yes, this works as designed on Android.
FWIW this design predates our semi-modal (undismissable) permission redo in Firefox 53 for desktop (52- used to have less-intrusive disappearing permission prompts even for desktop, but they were removed because their design confused users).
This leaves a bit of a consistency gap perhaps between Android and desktop, but I haven't seen any good designs to close it (taking over half the screen and refusing to dismiss hardly seems SEMI-modal).
This decision is up to the Android UX folks however. There's no bug in core WebRTC here. Back to the android team.
Component: WebRTC → General
Flags: needinfo?(jib)
Product: Core → Firefox for Android
See Also: → 1302137
Updated•7 years ago
|
Flags: needinfo?(kbrosnan)
Updated•7 years ago
|
Flags: needinfo?(kbrosnan)
[triage] Inconsistent with desktop but acceptable behavior - non-critical.
Priority: -- → P3
Comment 5•7 years ago
|
||
Closing per https://bugzilla.mozilla.org/show_bug.cgi?id=1473195
Contact :susheel if you think this bug should be re-opened
Status: UNCONFIRMED → RESOLVED
Closed: 7 years ago
Resolution: --- → INACTIVE
Assignee | ||
Updated•4 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•