Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 78dfedf6e4f023154e5680322dbb5637591bacbd
https://github.com/WebKit/WebKit/commit/78dfedf6e4f023154e5680322dbb5637591bacbd
Author: Fady Farag <[email protected]>
Date: 2026-08-11 (Tue, 11 Aug 2026)
Changed paths:
M Source/WebCore/dom/Document.cpp
Log Message:
-----------
Potential use-after-move in `Document::processCaptureStateDidChange()`
https://bugs.webkit.org/show_bug.cgi?id=321483
rdar://184571470
Reviewed by Chris Dumez.
ISO C++23 does not guarantee the initialization order of lambda captures.
The lambda capture list here both used `isPageMutedCallback` and moved it,
so the use and the move were unsequenced.
* Source/WebCore/dom/Document.cpp:
(WebCore::Document::processCaptureStateDidChange):
Canonical link: https://commits.webkit.org/318966@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications