Property

WebKit2WebView:web-extension-mode

Declaration

property web-extension-mode: WebKit2.WebExtensionMode [ read, write, construct-only ]

Description [src]

This configures web_view to treat the content as a WebExtension.

Note that this refers to the web standard WebExtensions and not WebKitWebExtensions.

In practice this limits the Content-Security-Policies that are allowed to be set. Some details can be found in Chrome’s documentation.

Type: WebKitWebExtensionMode
Available since:2.38

Flags

Readableyes
Writableyes
Constructno
Construct onlyyes