Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 55aa26ca971d89f800c62732148bb6585c7a0a62
https://github.com/WebKit/WebKit/commit/55aa26ca971d89f800c62732148bb6585c7a0a62
Author: Simon Pena <[email protected]>
Date: 2026-02-15 (Sun, 15 Feb 2026)
Changed paths:
M Source/WebDriver/WebDriverMain.cpp
Log Message:
-----------
[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
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications