Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: c67e526c224ae6e2bfb07012e56b1c5e66517046
      
https://github.com/WebKit/WebKit/commit/c67e526c224ae6e2bfb07012e56b1c5e66517046
  Author: Philippe Normand <[email protected]>
  Date:   2025-12-09 (Tue, 09 Dec 2025)

  Changed paths:
    M Source/WebCore/platform/audio/glib/MediaSessionManagerGLib.cpp

  Log Message:
  -----------
  REGRESSION(304036@main): [GLib] ASSERTS due to attempt to use a session that 
doesn't exist yet
https://bugs.webkit.org/show_bug.cgi?id=303821

Reviewed by Xabier Rodriguez-Calvar.

Since 304036@main the setPrimarySessionIfNeeded() method is called from the now 
asynchronous
sessionWillBeginPlayback() method, so we cannot assume that the internal 
session has been created
yet.

* Source/WebCore/platform/audio/glib/MediaSessionManagerGLib.cpp:
(WebCore::MediaSessionManagerGLib::addSession):
(WebCore::MediaSessionManagerGLib::setPrimarySessionIfNeeded):

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



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

Reply via email to