Branch: refs/heads/webkitglib/2.52
  Home:   https://github.com/WebKit/WebKit
  Commit: 28c0b30facaee9eb199d4a1800e56204d212788e
      
https://github.com/WebKit/WebKit/commit/28c0b30facaee9eb199d4a1800e56204d212788e
  Author: Philippe Normand <[email protected]>
  Date:   2026-07-10 (Fri, 10 Jul 2026)

  Changed paths:
    M 
Source/WebCore/platform/mediastream/gstreamer/GStreamerMediaStreamSource.cpp

  Log Message:
  -----------
  Cherry-pick 316621@main (857d77450c7e). 
https://bugs.webkit.org/show_bug.cgi?id=318635

    [GLIB] fast/mediastream/mediastreamtrack-clone-muted.html is a flaky crash
    https://bugs.webkit.org/show_bug.cgi?id=318635

    Reviewed by Xabier Rodriguez-Calvar.

    Store the mediastreamsrc InternalSource parent as weak pointer instead of 
raw pointer, preventing
    critical warnings in GLib when casting.

    * LayoutTests/platform/glib/TestExpectations:
    * 
Source/WebCore/platform/mediastream/gstreamer/GStreamerMediaStreamSource.cpp:
    (InternalSource::updateFirstVideoSampleSeenFlag):
    (InternalSource::receivedAudioSampleBeforeVideo):

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

Canonical link: https://commits.webkit.org/305877.972@webkitglib/2.52


  Commit: beeccb322b29141a5e446503dcc747b3c5c5cee2
      
https://github.com/WebKit/WebKit/commit/beeccb322b29141a5e446503dcc747b3c5c5cee2
  Author: Lauro Moura <[email protected]>
  Date:   2026-07-10 (Fri, 10 Jul 2026)

  Changed paths:
    M Source/WebDriver/WebDriverService.cpp

  Log Message:
  -----------
  Cherry-pick 316713@main (6b6622bd96de). 
https://bugs.webkit.org/show_bug.cgi?id=315736

    [WebDriver] Protect session instance in waitForNavigationToComplete 
callbacks
    https://bugs.webkit.org/show_bug.cgi?id=315736

    Reviewed by Carlos Garcia Campos and BJ Burg.

    Currently, the waitForNavigationToComplete callbacks access
    WebDriverService::m_session directly, although this member could be
    null if the callback arrives after we started to delete or to replace
    the session.

    This commit protects the session instance in these callbacks, as just
    adding a null check would leave the door open for the callback to be
    called on an already replaced session. This creates a temporary cycle
    between the Session, the callback, and the SessionHost (who stashes the
    pending requests), but the cycle is broken when either the session is
    closed or the browser disconnects, flushing the pending requests.

    * Source/WebDriver/WebDriverService.cpp:
    (WebDriver::WebDriverService::go):
    (WebDriver::WebDriverService::getCurrentURL):
    (WebDriver::WebDriverService::back):
    (WebDriver::WebDriverService::forward):
    (WebDriver::WebDriverService::refresh):
    (WebDriver::WebDriverService::getTitle):
    (WebDriver::WebDriverService::closeWindow):
    (WebDriver::WebDriverService::switchToFrame):
    (WebDriver::WebDriverService::switchToParentFrame):
    (WebDriver::WebDriverService::findElement):
    (WebDriver::WebDriverService::findElements):
    (WebDriver::WebDriverService::getActiveElement):
    (WebDriver::WebDriverService::executeScript):
    (WebDriver::WebDriverService::executeAsyncScript):
    (WebDriver::WebDriverService::getAllCookies):
    (WebDriver::WebDriverService::getNamedCookie):
    (WebDriver::WebDriverService::addCookie):
    (WebDriver::WebDriverService::deleteCookie):
    (WebDriver::WebDriverService::deleteAllCookies):
    (WebDriver::WebDriverService::dismissAlert):
    (WebDriver::WebDriverService::acceptAlert):
    (WebDriver::WebDriverService::getAlertText):
    (WebDriver::WebDriverService::sendAlertText):
    (WebDriver::WebDriverService::takeScreenshot):
    (WebDriver::WebDriverService::takeElementScreenshot):

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

Canonical link: https://commits.webkit.org/305877.973@webkitglib/2.52


Compare: https://github.com/WebKit/WebKit/compare/57762c8a0cba...beeccb322b29

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

Reply via email to