Callbacks

WebProcessExtensionInitializeFunction (extension)

WebProcessExtensionInitializeWithUserDataFunction (extension, user_data)

Details

WebKitWebProcessExtension.WebProcessExtensionInitializeFunction(extension)
Parameters:

extension (WebKitWebProcessExtension.WebProcessExtension) – a WebKitWebProcessExtension.WebProcessExtension

Type definition for a function that will be called to initialize the web extension when the web process starts.

New in version 2.40.

WebKitWebProcessExtension.WebProcessExtensionInitializeWithUserDataFunction(extension, user_data)
Parameters:

Type definition for a function that will be called to initialize the web extensions when the web process starts, and which receives as additional argument the user data set with webkit_web_context_set_web_process_extensions_initialization_user_data().

New in version 2.40.