WebExtension


Description:

[ CCode ( has_construct_function = false ) ]
protected WebExtension ()

Creates a new WebKitWebExtension from a folder containing the extension contents.

The folder must contain a `manifest.json` file. If the manifest is invalid or missing, an error will be returned.

Parameters:

extension_path

A string pointing to the folder containing the extension manifest and resources

Returns:

the new WebExtension, or null if the extension failed to be created