Bug 257651

Summary: Safari may crash when tapping on video after returning to full screen from PiP
Product: WebKit Reporter: Jean-Yves Avenard [:jya] <jean-yves.avenard>
Component: MediaAssignee: Jean-Yves Avenard [:jya] <jean-yves.avenard>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description Jean-Yves Avenard [:jya] 2023-06-02 09:50:58 PDT
1. Open Safari app
2. Go to YouTube.com
3. Play any video
4. Tap [ ] at bottom right corner of video to watch in full screen
5. Swipe up from bottom of screen to transition to Home Screen (video moves full screen >> PiP window)
6. Tap on button at top right to move video back to full screen
7. Tap on the video anywhere

Results:
Safari crashes
Comment 1 Jean-Yves Avenard [:jya] 2023-06-02 09:51:16 PDT
rdar://109845717
Comment 2 Jean-Yves Avenard [:jya] 2023-06-02 09:59:59 PDT
Pull request: https://github.com/WebKit/WebKit/pull/14632
Comment 3 EWS 2023-06-05 17:22:27 PDT
Committed 264880@main (369109ea28ce): <https://commits.webkit.org/264880@main>

Reviewed commits have been landed. Closing PR #14632 and removing active labels.