Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 1d012f3372ab8ec4c7a71a0b61ab0e0405a8218f
https://github.com/WebKit/WebKit/commit/1d012f3372ab8ec4c7a71a0b61ab0e0405a8218f
Author: Adrian Perez de Castro <[email protected]>
Date: 2026-02-12 (Thu, 12 Feb 2026)
Changed paths:
M Source/WebKit/UIProcess/API/glib/WebKitFeature.cpp
M Source/WebKit/UIProcess/API/glib/WebKitFeature.h.in
M Tools/MiniBrowser/gtk/main.c
M Tools/MiniBrowser/wpe/main.cpp
M Tools/TestWebKitAPI/Tests/WebKitGLib/TestWebKitSettings.cpp
Log Message:
-----------
[GTK][WPE] Add webkit_feature_list_find() to the API
https://bugs.webkit.org/show_bug.cgi?id=307069
Reviewed by Michael Catanzaro and Patrick Griffis.
Add a convenience function to find a WebKitFeature from a given
WebKitFeatureList. This will avoid code repetition in different
projects.
* Source/WebKit/UIProcess/API/glib/WebKitFeature.cpp:
(webkit_feature_list_find):
* Source/WebKit/UIProcess/API/glib/WebKitFeature.h.in:
* Tools/MiniBrowser/gtk/main.c:
(parseFeaturesOptionCallback):
(findFeature): Deleted. Replaced with webkit_feature_list_find().
* Tools/MiniBrowser/wpe/main.cpp:
(activate):
(findFeature): Deleted. Replaced with webkit_feature_list_find().
* Tools/TestWebKitAPI/Tests/WebKitGLib/TestWebKitSettings.cpp:
(testWebKitFeatures): Add a few test cases for the new function.
Canonical link: https://commits.webkit.org/307348@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications