Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 91d9d701a8cd80a5e55650b583b66c4c0f78fa6d
      
https://github.com/WebKit/WebKit/commit/91d9d701a8cd80a5e55650b583b66c4c0f78fa6d
  Author: Tim Nguyen <[email protected]>
  Date:   2022-12-10 (Sat, 10 Dec 2022)

  Changed paths:
    M Source/WebCore/dom/FullscreenManager.cpp

  Log Message:
  -----------
  Check for promise before resolving in FullscreenManager::exitFullscreen()
https://bugs.webkit.org/show_bug.cgi?id=249075
rdar://103215492

Reviewed by Simon Fraser.

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.

* Source/WebCore/dom/FullscreenManager.cpp:
(WebCore::FullscreenManager::exitFullscreen):

Canonical link: https://commits.webkit.org/257689@main


_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to