Bug 233707

Summary: Safari freezes when navigating to Youtube and back on device with iOS 15.0.2/15.0/15.1
Product: WebKit Reporter: Madara Freimane <madara.freimane>
Component: WebRTCAssignee: Nobody <webkit-unassigned>
Status: RESOLVED CONFIGURATION CHANGED    
Severity: Normal CC: webkit-bug-importer, youennf
Priority: P2 Keywords: InRadar
Version: Safari 15   
Hardware: iPhone / iPad   
OS: iOS 15   

Description Madara Freimane 2021-12-01 08:50:23 PST
Created attachment 445579 [details]
sysdiagnose_2021.12.01_14-36-25+0200_iPhone-OS_iPhone_19A404.tar.gz

Summary: 
Safari freezes when navigating to Youtube and back on device with iOS 15.0.2/15.0/15.1


Tested devices:
Bug is reproducible on:
*iPhone 11 Pro Max | 15.0.2
*iPhone 13 | iOS 15.0
*iPhone 12 Pro Max | iOS 15.1
*iPhone XS | iOS 15.1


Bug is not reproducible on:
*iPhone XS Max | iOS 14.6
*iPhone 13 | iOS 15.2 Beta 3


Scenario:
Precondition:
Active WebRTC call

Steps:
1. Put browser in the background
2. Open Youtube app
3. Play a song
4. Put Youtube app in the background
5. Relaunch Safari

Actual result:
Safari freezes when navigating to Youtube and back to the active WebRTC call. The only way to stop this behaviour is by reloading the page.


Expected result:
Safari is usable


Reproducibility:
80%
Comment 1 Alexey Proskuryakov 2021-12-02 18:33:19 PST
rdar://85998808
Comment 2 youenn fablet 2021-12-03 04:58:25 PST
Is it still happening in iOS 15.2 beta?
Comment 3 youenn fablet 2021-12-03 04:59:03 PST
Oh, I see you wrote it is no longer reproducing in iOS 15.2 beta 3
Comment 4 youenn fablet 2021-12-03 05:00:56 PST
Looking at logs, this is indeed an issue when disposing Audio units, which is supposed to be fixed in iOS 15.2 betas.
Marking as configuration changed.