setWebProcessExtensionsInitializationUserData

fun setWebProcessExtensionsInitializationUserData(userData: <Error class: unknown class>)

Set user data to be passed to Web Extensions on initialization.

The data will be passed to the #WebKitWebProcessExtensionInitializeWithUserDataFunction. 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-process-extensions to call this method before anything is loaded.

Since

2.4

Parameters

userData

a #GVariant