Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 838b2391f4ce109df730be706b430f5cb11a8146
https://github.com/WebKit/WebKit/commit/838b2391f4ce109df730be706b430f5cb11a8146
Author: Ben Nham <[email protected]>
Date: 2025-11-19 (Wed, 19 Nov 2025)
Changed paths:
M Source/WebKit/UIProcess/ProcessThrottler.cpp
Log Message:
-----------
Fix linked-on-or-after check for using process assertions off the main thread
https://bugs.webkit.org/show_bug.cgi?id=302758
rdar://164866073
Reviewed by Chris Dumez.
In 302397@main, I passed in the wrong SDKAlignedBehavior for the check on
whether to fault or assert
when manipulating process assertions off the main thread.
This fixes that issue, and also renames the symbol to make it clearer that the
crash is due to an
error in the application rather than an issue in WebKit. The existing assert
with message macro
doesn't seem to always result in a message in the crash log from what I've seen.
* Source/WebKit/UIProcess/ProcessThrottler.cpp:
(WebKit::crashDueToApplicationCallingMainThreadOnlyWebKitAPIFromBackgroundThread):
(WebKit::assertIfCalledFromBackgroundThread):
Canonical link: https://commits.webkit.org/303266@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications