Bug 249075

Summary: Check for promise before resolving in FullscreenManager::exitFullscreen()
Product: WebKit Reporter: Tim Nguyen (:ntim) <ntim>
Component: DOMAssignee: Tim Nguyen (:ntim) <ntim>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Tim Nguyen (:ntim)
Reported 2022-12-10 10:45:20 PST
The promise can be nullptr if called from the legacy fullscreen API (see DocumentFullscreen::webkitExitFullScreen), so we should check it's existence before trying to resolve.
Attachments
Radar WebKit Bug Importer
Comment 1 2022-12-10 10:45:45 PST
Tim Nguyen (:ntim)
Comment 2 2022-12-10 10:47:25 PST
EWS
Comment 3 2022-12-10 16:09:50 PST
Committed 257689@main (91d9d701a8cd): <https://commits.webkit.org/257689@main> Reviewed commits have been landed. Closing PR #7443 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.