[Webkit-unassigned] [Bug 205684] New: Changing camera access from deny to ask requires browser restart to take effect, but user isn't prompted

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jan 2 01:02:39 PST 2020


https://bugs.webkit.org/show_bug.cgi?id=205684

            Bug ID: 205684
           Summary: Changing camera access from deny to ask requires
                    browser restart to take effect, but user isn't
                    prompted
           Product: WebKit
           Version: Safari 13
          Hardware: iPhone / iPad
                OS: iOS 13
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebRTC
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: daginge at confrere.com
                CC: youennf at gmail.com

In the settings menu on iOS users have the option to Ask, Deny or Allow access to Camera and Microphone for all web pages. If the user has selected "Deny" we will get a NotAllowedError as per specification. We prompt the user to change this behaviour to use our application by setting the option to "Ask". However, once the user does this and returns to the page we still get a "NotAllowedError". Refreshing, or even opening a new tab doesn't seem to work.

Steps to reproduce:
1. Make sure you have set the Camera and Microphone setting to "Deny"
2. Navigate to https://webrtc.github.io/samples/src/content/getusermedia/gum/
3. Click "Open camera"
4. Observe that you get NotAllowedError
5. Go to settings and set Camera and Microphone to "Ask"
6. Go back to the Safari app and click "Open Camera"
7. Observe that you get NotAllowedError
8. Reload the page and click "Open camera"
9. Observe that you get NotAllowedError
10. Go back to the main view for WebRTC samples (I used "back")
11. Click "Basic getUserMedia demo", observe that a new tab is created
12. Click "Open camera"
13. Observe that you get NotAllowedError
14. Kill the Safari app and re-open it
15. Click "Open camera"
16. Observe that you now can access the camera

Video:
https://photos.app.goo.gl/FruotncxzD1gwJ2PA

Expected behaviour:
Call to getUserMedia after settings have been changed works. Alternatively, user is prompted/Safari is automatically restarted when changing this setting.

Impact:
We have received several user reports that despite saying to restart Safari the user does not know how to do this, nor do they understand easily our directions for how to do it (Long press home or slightly swipe up from the bottom, flick away the app, and re-open). This has often required us to call the user on the phone to help them kill Safari so we can reset the setting and re-enable camera access.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20200102/ebd950a7/attachment.htm>


More information about the webkit-unassigned mailing list