Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 38c980e8e8ff2d42bd782b909a2bdceacfb627f7
https://github.com/WebKit/WebKit/commit/38c980e8e8ff2d42bd782b909a2bdceacfb627f7
Author: Alejandro G. Castro <[email protected]>
Date: 2026-10-08 (Thu, 08 Oct 2026)
Changed paths:
M Source/WTF/wtf/android/LoggingAndroid.cpp
Log Message:
-----------
[WTF][Android] The log channels are read from a property value that is no
longer valid
https://bugs.webkit.org/show_bug.cgi?id=326800
Reviewed by Adrian Perez de Castro.
logLevelString() keeps the value that __system_property_read_callback() passes
to its callback and reads it after the callback returns, when it is no longer
valid, so setting debug.WPEWebKit.log only works by chance. Copy the value
inside the callback.
Tested on an Android emulator: lists of channels and "-Channel" exclusions now
work.
* Source/WTF/wtf/android/LoggingAndroid.cpp:
(WTF::logLevelString):
Canonical link: https://commits.webkit.org/323116@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications