Bug 257893

Summary: Fullscreen API causes crash on Safari - Video enters a bad state after PIP
Product: WebKit Reporter: joemerramos
Component: MediaAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: ajuma, dino, eric.carlson, jer.noble, webkit-bug-importer, youennf
Priority: P2 Keywords: InRadar
Version: Safari 17   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
reentering-fullscreen-after-pip none

Description joemerramos 2023-06-09 09:01:09 PDT
Created attachment 466650 [details]
reentering-fullscreen-after-pip

Repro steps:
1) Go to www.cpac.ca
2) Play the video, put it in fullscreen
3) Swipe up from the bottom to go to homescreen
4) Video is now playing PIP. Go back to Safari, and put the video back into fullscreen
5) Tap the screen -- crash 

I've also noticed that weird things can happen such as the video being distorted before the crash as seen in the attachment
Comment 1 Radar WebKit Bug Importer 2023-06-09 18:59:34 PDT
<rdar://problem/110558960>