Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 55bcb37699d059b096c22228534ea779fa135650
https://github.com/WebKit/WebKit/commit/55bcb37699d059b096c22228534ea779fa135650
Author: Chris Dumez <[email protected]>
Date: 2026-09-29 (Tue, 29 Sep 2026)
Changed paths:
M Source/WebKitLegacy/mac/Misc/WebDownload.mm
Log Message:
-----------
Download delegate callbacks are called twice for apps that get them on the
network thread
https://bugs.webkit.org/show_bug.cgi?id=325752
Reviewed by Rupin Mittal.
callOnDelegateThread() called the function synchronously when
shouldCallOnNetworkThread() returned true, then also posted it to the main
thread, so the delegate callback ran twice. Return after the synchronous
call, like callOnDelegateThreadAndWait() does.
* Source/WebKitLegacy/mac/Misc/WebDownload.mm:
(callOnDelegateThread):
Canonical link: https://commits.webkit.org/322242@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications