Bug 260388 - REGRESSION (iOS 17 Beta): The browser page is refreshed or iOS User is disconnected from the call if iOS User receives a PSTN/FaceTime call and waits at least 1 min in the middle of WebRTC call
Summary: REGRESSION (iOS 17 Beta): The browser page is refreshed or iOS User is discon...
Status: RESOLVED CONFIGURATION CHANGED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebRTC (show other bugs)
Version: Safari 17
Hardware: iPhone / iPad Other
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-08-18 08:59 PDT by Madara Freimane
Modified: 2023-10-24 01:55 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 Madara Freimane 2023-08-18 08:59:22 PDT
Summary:
The browser page is refreshed or iOS User is disconnected from the call if iOS User receives a PSTN/FaceTime call and waits at least 1 min in the middle of WebRTC call

Tested devices:
The bug is reproducible on:
- iPhone 11 Pro Max (iOS 17 Public Beta 4, build: 21A5312c) and Safari
- iPhone 13 (iOS 17 Public Beta 4, build: 21A5312c) and Safari

The bug is not reproducible on:
- iPhone 13 (iOS 16.6) and Safari

Scenario:
Preconditions:
Browser opened on iOS 17 device
The User is in an active WebRTC call with audio/video ON

Steps:
1. iOS 17 User receives PSTN/FaceTime call in the middle of the WebRTC call
2. iOS 17 User spends at least 1min in a PSTN/FaceTime call
3. iOS 17 User or another User ends the PSTN/FaceTime call
4. iOS 17 User sees that browser page refreshes OR iOS User is disconnected from the call

Actual result:
The browser page is refreshed if iOS User receives a PSTN/FaceTime call and waits at least 1 min in the middle of WebRTC call OR iOS User is disconnected from the call

Expected result:
The browser page is not refreshed and iOS User can continue to use WebRTC call if iOS User receives a PSTN/FaceTime call and waits at least 1 min in the middle of WebRTC call

Reproducibility:
100%

Additional information:
Observed that higher reproducibility (100%) is when User has only audio call and video is disabled.
Comment 1 Radar WebKit Bug Importer 2023-08-21 08:41:52 PDT
<rdar://problem/114196339>
Comment 2 youenn fablet 2023-08-29 00:31:53 PDT
I am not able to reproduce by doing the following:
- Load in Safari https://webrtc.github.io/samples/src/content/peerconnection/audio/
- Receive a FT call, wait 1 minute
- Go back to Safari and check the stats.

I see the page is not refreshed and packets are still being sent.
It might be that the process is killed (memory maybe) or suspended for long enough that the connection gets disconnected.
Comment 3 youenn fablet 2023-10-24 01:55:57 PDT
We would probably need a sysdiagnose since I cannot reproduce.
It is not unexpected that a page got disconnected since the process might be suspended if the user is in a phone call.

Please reopen if you can still reproduce and can provide a sysdiagnose.