WebContext.setWebExtensionsInitializationUserData

Set user data to be passed to Web Extensions on initialization. The data will be passed to the #WebKitWebExtensionInitializeWithUserDataFunction. This method must be called before loading anything in this context, otherwise it will not have any effect. You can connect to #WebKitWebContext::initialize-web-extensions to call this method before anything is loaded.

class WebContext
void
setWebExtensionsInitializationUserData
(
Variant userData
)

Parameters

userData Variant

a #GVariant

Meta