NEW 274820
Microphone permission popup is hidden in fullscreen
https://bugs.webkit.org/show_bug.cgi?id=274820
Summary Microphone permission popup is hidden in fullscreen
Ben
Reported 2024-05-29 01:58:07 PDT
The getUserMedia microphone permission popup is hidden when Safari is in fullscreen. Tested on iPad 17.5.1 Test: https://output.jsbin.com/yogecumufe <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width"> <title>test</title> <script> async function start() { await document.documentElement.requestFullscreen(); const stream = await navigator.mediaDevices.getUserMedia({audio: true, video: false}); } </script> </head> <body> <button onclick="start()">Start</button> </body> </html>
Attachments
Radar WebKit Bug Importer
Comment 1 2024-05-29 10:30:11 PDT
Ahmad Saleem
Comment 2 2024-05-30 05:26:08 PDT
@Ben - I am unable to trigger any permission pop-up in iPadOS. Can you share video recording to help us understand better - what are steps to reproduce and we can try on our side? Looking forward to your support. Thanks!
Ben
Comment 3 2024-06-05 07:17:14 PDT
The JavaScript to reproduce this bug is added in the first post. Specifically: await document.documentElement.requestFullscreen(); const stream = await navigator.mediaDevices.getUserMedia({audio: true, video: false}); 1. Open this page https://benbro.github.io/samples/src/content/getusermedia/gum/ 2. Click on the red "Open camera" button. 3. It should start full screen and show the microphone permission popup. On iPadOS the microphone permission popup is not shown. Only when you exit fullscreen by clicking on the X on the top left you see the popup. Test it on Chrome on Windows to see the popup.
Karl Dubost
Comment 4 2024-06-06 22:25:15 PDT
@Ben thanks a lot for the simple test page. It reproduces indeed.
Note You need to log in before you can comment on or make changes to this bug.