Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 4907d061fa09e8144cf73a44b61f0418ad9ecae4
      
https://github.com/WebKit/WebKit/commit/4907d061fa09e8144cf73a44b61f0418ad9ecae4
  Author: Alex Christensen <[email protected]>
  Date:   2025-12-17 (Wed, 17 Dec 2025)

  Changed paths:
    M Source/WebCore/page/Page.cpp
    M Source/WebKit/WebProcess/WebPage/WebPage.cpp

  Log Message:
  -----------
  Fix nullptr crash in Page::mediaSessionManager
https://bugs.webkit.org/show_bug.cgi?id=304363
rdar://166730931

Reviewed by Ben Nham.

m_mediaSessionManagerFactory can return null when it comes from the page 
configuration.
Gracefully return null when this happens.  Future work needs to be done in 
WebPage.cpp,
but that can be done later.  This should make it not crash.

* Source/WebCore/page/Page.cpp:
(WebCore::Page::mediaSessionManager):
* Source/WebKit/WebProcess/WebPage/WebPage.cpp:
(WebKit::m_toolbarsAreVisible):

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to