Issue metadata
Sign in to add a comment
|
Permissions API not prompting user for camera access
Reported by
shachar...@gmail.com,
May 8 2018
|
||||||||||||||||||||||
Issue descriptionSteps to reproduce the problem: 1. Run this fiddle in Chrome on Android (version specified): https://jsfiddle.net/yzcgbcmk/2/ 2. Click on the file input and try to choose a file 3. if it works try clearing site data and redoing from step no. 1 What is the expected behavior? In the fiddle the camera permission state should show PROMPT but is DENIED. I re-checked on the device in chrome site settings that the camera consent sholud prompt always but it doesn't at all. This bug didn't occur 1-2 weeks ago. What went wrong? Chrome doesn't prompt the user for permissions to use the camera but still opens the file chooser dialog. Chrome gets stuck, displaying a modal saying "Chrome stopped" Did this work before? Yes same as far as I know Does this work in other browsers? N/A Chrome version: 66.0.3359.126 Channel: n/a OS Version: 6.0.1;SM-J510FN Build/MMB29M Flash Version: Not sure if this has anything to do with clearing site data.
,
May 8 2018
Tested: 1. Works in Samsung Internet on the same device but doesn't show the permission state (guessing because it isn't supported). 2. In chrome version 66.0.3359.126, OS Android 7.0.0; SM-A520F Build/NRD90M allows access to the camera but shows that the permission state is DENIED. (hope the fiddle is valid...) hope this helps
,
May 8 2018
update: Apparently the permission state is PROMPT when I browse chrome in this device: Chrome version: 66.0.3359.126 Channel: n/a OS Version: 6.0.1;SM-J510FN Build/MMB29M Chrome doesn't prompt the user and fails to open the camera
,
May 9 2018
,
May 9 2018
Tested the issue using #66.0.3359.126 on Android Samsung J7, 7.0.0 and could not reproduce the issue as per the steps mentioned below. Steps: 1. Launch Browser 2. Run this fiddle in Chrome on Android (version specified): https://jsfiddle.net/yzcgbcmk/2/ 3. Click on the file input and try to choose a file 4. Observed camera permission state: PROMPT 5. Able to open the Camera as well @Reporter: Could you please find the above observations and help us with a screencast for further triaging of the issue?
,
May 9 2018
See screenshots. Sorry for the ones that aren't in English. In order, hopefully: 1. Permissions for the jsfiddle site, no camera permission. 2. Chrome stopped after attempting to open a file chooser after clicking the file input. 3. Jsfiddle stating that the camera permission state is PROMPT. 4. Permissions for the PWA I'm testing and getting the bug in the specified device. בתאריך יום ד׳, 9 במאי 2018, 13:26, מאת sandeepk… via monorail < monorail+v2.1342645230@chromium.org>:
,
May 9 2018
Thank you for providing more feedback. Adding the requester to the cc list. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
,
May 9 2018
I saw you tested on Android 7.0.0 The bug occurs on Android 6.0.1 as specified בתאריך יום ד׳, 9 במאי 2018, 13:59, מאת שחר ננצל <shacharnen@gmail.com>:
,
May 10 2018
Tested the issue using #66.0.3359.158 on Android Nexus 5; 6.0.1 and could not reproduce the issue as per the steps mentioned below. Steps: 1. Launch Browser 2. Run this fiddle in Chrome on Android (version specified): https://jsfiddle.net/yzcgbcmk/2/ 3. Click on the file input and try to choose a file 4. Observed camera permission state: PROMPT 5. Able to open the Camera as well @Reporter: Please find the screenshot and help us with a screencast or screenshot from your end? Thanks!!
,
May 10 2018
I replied from gmail with attachments, it didn't attach the files. Sorry about that. See attachments, sorry for non-english details. Strangely enough it now works. 10 hours ago it didn't. After checking what changed I saw in chrome settings that the version updated from #66.0.3359.126 to #66.0.3359.158. Thanks for the thorough response! Will attach a screencast
,
May 10 2018
Thank you for providing more feedback. Adding the requester to the cc list. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
,
May 10 2018
screencast made on a different device: OS Android #6.0.0 Chrome #66.0.3359.126
,
May 10 2018
This screencast works. At the end there's a bug report - maybe helpful
,
May 11 2018
Requesting Blink>GetUserMedia team for further triaging of the issue as this issue isn't repro from our end on Android 6.0.1, 7.0.0. Thanks!!
,
May 11 2018
shacharnen@gmail.com: Thanks for providing the screencast. Unfortunately, I can't understand it. Can you provide one in English? Also, please clarify what the bug is. Your original report says that this went wrong: "Chrome doesn't prompt the user for permissions to use the camera but still opens the file chooser dialog" However, opening the file chooser does not depend on any camera permission, so shy shouldn't Chrome open it? Chrome will prompt for permission to use the camera if you call getUserMedia and request video.
,
May 15 2018
,
Jun 25 2018
Closing since no feedback has been provided and it is not clear that this refers to a real bug. Please reopen or file a new bug if this is still an issue and there is more information available. |
|||||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||||
Comment 1 Deleted