Branch: refs/heads/webkitglib/2.52
  Home:   https://github.com/WebKit/WebKit
  Commit: f39f41bdd8746b27919893b7486fdc156ca46cc5
      
https://github.com/WebKit/WebKit/commit/f39f41bdd8746b27919893b7486fdc156ca46cc5
  Author: Simon Pena <[email protected]>
  Date:   2026-02-16 (Mon, 16 Feb 2026)

  Changed paths:
    M Source/WebDriver/WebDriverMain.cpp

  Log Message:
  -----------
  Cherry-pick 307632@main (55aa26ca971d). 
https://bugs.webkit.org/show_bug.cgi?id=307804

    [GTK][WPE] WebKitWebDriver binary asserts on exit when assertions are 
enabled
    https://bugs.webkit.org/show_bug.cgi?id=307804

    Reviewed by Adrian Perez de Castro.

    WebDriver uses WTF_OVERRIDE_DELETE_FOR_CHECKED_PTR, but the override
    delete currently didn't run as WebDriverMain used stack allocation. As a
    result, when the destructor run, m_didBeginDeletion would be false and
    deleteException would be no, meaning

    m_didBeginDeletion || deleteException == CheckedPtrDeleteCheckException::Yes

    would assert.

    Allocating the service on the heap addresses this.

    * Source/WebDriver/WebDriverMain.cpp:
    (WebKit::main):

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

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



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

Reply via email to