Bug 242862 - [iOS 16] Camera permission gets re-enabled after tab switch
Summary: [iOS 16] Camera permission gets re-enabled after tab switch
Status: RESOLVED DUPLICATE of bug 242856
Alias: None
Product: WebKit
Classification: Unclassified
Component: Media (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-07-18 09:50 PDT by Ali Juma
Modified: 2022-07-18 16:18 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ali Juma 2022-07-18 09:50:49 PDT
On iOS 16 (tested in developer beta 3), when camera permission is disabled on a page, it gets re-enabled after switching tabs.

Steps to reproduce in Safari:
1) Visit https://webcammictest.com/
2) Click "Test Webcam" and click "Allow" when prompted. Notice the sound that signals video recording.
3) Tap the red camera icon on the left end of the address bar, and tap on "Stop using camera". Notice that the sound stops playing at this point.
4) Open a new tab. Notice that the sound from the previous tab returns.
5) Switch back to the previous tab. Notice the camera is enabled.

This is also filed as FB10637549.
Comment 1 Sam Sneddon [:gsnedders] 2022-07-18 16:18:15 PDT

*** This bug has been marked as a duplicate of bug 242856 ***