Contains a set of toggle-able web engine features.
The list supports passing around a set of Feature objects and
iterating over them:
g_autoptr(WebKitFeatureList) list = webkit_settings_get_experimental_features();
for (gsize i = 0; i < webkit_feature_list_get_length(list): i++) {
WebKitFeature *feature = webkit_feature_list_get(list, i);
// Do something with "feature".
}
Lists of features can be obtained with
Settings.get_experimental_features,
Settings.get_development_features, and
Settings.get_all_features.
Gets a feature given its index.
Passed: a <WebKitFeatureList>.
Passed: an unsigned 64-bit integer.
index of the feature
Returned: a <WebKitFeature>.
The feature at index.
Gets the number of elements in the feature list.
Passed: a <WebKitFeatureList>.
Returned: an unsigned 64-bit integer.
number of elements.
Since 2.42
Atomically acquires a reference on the given self.
This function is MT-safe and may be called from any thread.
Passed: a <WebKitFeatureList>.
Returned: a <WebKitFeatureList>.
The same self with an additional reference.
Atomically releases a reference on the given self.
If the reference was the last, the resources associated to the self are freed. This function is MT-safe and may be called from any thread.
Passed: a <WebKitFeatureList>.