WebViewGidBuilderImpl.webExtensionMode

Set webExtensionMode property.

class WebViewGidBuilderImpl(T)
T
webExtensionMode

Parameters

propval webkit.types.WebExtensionMode

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.

Return Value

Type: T

Builder instance for fluent chaining