windowType(for:)
Called when the type of the window is needed.
Declaration
optional func windowType(for context: WKWebExtensionContext) -> WKWebExtension.WindowTypeParameters
- context:
The context in which the web extension is running.
Discussion
Defaults toWKWebExtension.WindowType.normal if not implemented.