Bug 262468 - Screen share causes page crash with "Share Window" as source
Summary: Screen share causes page crash with "Share Window" as source
Status: RESOLVED CONFIGURATION CHANGED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebRTC (show other bugs)
Version: Safari 16
Hardware: Unspecified macOS 13
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-10-01 17:47 PDT by Nick
Modified: 2023-10-03 10:06 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 Nick 2023-10-01 17:47:44 PDT
Setup:
Safari Version 16.6 (18615.3.12.11.2)
MacBook Pro 14in, M2 Pro
macOS 13.5.2 (22G91)


Description

My assumption is this has something to do with getDisplayMedia()? The bug only happens if the window being shared is too large. I reproduced this behavior on both Whereby and Google Meet. My colleague has confirmed the issue isn't present in 17, but I wasn't sure if there'd be any additional point updates for 16.x

Reproduction steps:

1. Join a video call in Safari(Whereby or Google Meet is fine)
2. Share Screen
3. Select "Share Window"
4. Select an app window that is more than half the screen size
5. Tab crash with "reloaded after problem occured"

If you repeat the above steps but share a much small size window, the crash doesn't happen. In fact, you can then play with the size of the window while sharing and the crash doesn't happen. However the content shared is a bit broken/skewed
Comment 1 Alexey Proskuryakov 2023-10-03 10:06:47 PDT
We cannot speak for Apple software release plans. If you know of an exceptionally string reason why this is needed, I could relay this information.

We certainly want everyone to use the latest version, which includes many correctness and security fixes compared to Safari 16.x.