Branch: refs/heads/webkitglib/2.52
Home: https://github.com/WebKit/WebKit
Commit: 6e6b4ea4874f7b21b9fe5bfa8dd6644617f8ab82
https://github.com/WebKit/WebKit/commit/6e6b4ea4874f7b21b9fe5bfa8dd6644617f8ab82
Author: Nikolas Zimmermann <[email protected]>
Date: 2026-03-04 (Wed, 04 Mar 2026)
Changed paths:
M Source/WebCore/platform/graphics/gbm/GBMVersioning.h
Log Message:
-----------
Cherry-pick 308544@main (f714e6ba9553).
https://bugs.webkit.org/show_bug.cgi?id=309065
[GBM] gbm_bo_get_fd_for_plane() compat shim should pass DRM_RDWR to match
native behavior
https://bugs.webkit.org/show_bug.cgi?id=309065
Reviewed by Carlos Garcia Campos.
The native gbm_bo_get_fd_for_plane() in libgbm uses O_RDWR | O_CLOEXEC
when calling drmPrimeHandleToFD(), but the compatibility shim in
GBMVersioning.h only passed DRM_CLOEXEC. This adds DRM_RDWR to match.
Not testable on the bots.
* Source/WebCore/platform/graphics/gbm/GBMVersioning.h:
(gbm_bo_get_fd_for_plane):
Canonical link: https://commits.webkit.org/308544@main
Canonical link: https://commits.webkit.org/305877.157@webkitglib/2.52
Commit: ca60e2f537d18281836cf2207133fc3efd437589
https://github.com/WebKit/WebKit/commit/ca60e2f537d18281836cf2207133fc3efd437589
Author: Basuke Suzuki <[email protected]>
Date: 2026-03-04 (Wed, 04 Mar 2026)
Changed paths:
M Source/WebKit/NetworkProcess/PreconnectTask.cpp
Log Message:
-----------
Cherry-pick 308565@main (d3fa2f1daaba).
https://bugs.webkit.org/show_bug.cgi?id=309026
PreconnectTask should cancel its NetworkLoad on timeout.
https://bugs.webkit.org/show_bug.cgi?id=309026
rdar://171339073
Reviewed by Per Arne Vollan.
When PreconnectTask times out, it fires the completion handler and destroys
itself, but
does not cancel the underlying NetworkLoad. This leaves the
NSURLSessionTask running,
which can result in wasted TLS handshakes and misleading SSL error logs
(e.g., trust
evaluation failure / -1202) after the preconnect has already timed out.
The fix is to call m_networkLoad->cancel() in didTimeout() before invoking
the completion
handler, so the underlying network task is immediately cancelled on timeout.
Manually verified with logs that the underlying network task is cancelled
immediately
after PreconnectTask::didTimeout fires, with no confusing error logs.
* Source/WebKit/NetworkProcess/PreconnectTask.cpp:
(WebKit::PreconnectTask::didTimeout):
Canonical link: https://commits.webkit.org/308565@main
Canonical link: https://commits.webkit.org/305877.158@webkitglib/2.52
Compare: https://github.com/WebKit/WebKit/compare/41012f4a8dcd...ca60e2f537d1
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications