isPrivate(for:)
Called when the private state of the window is needed.
Declaration
optional func isPrivate(for context: WKWebExtensionContext) -> BoolParameters
- context:
The context in which the web extension is running.
Discussion
Defaults to NO if not implemented. This value is cached and will not change for the duration of the window or its contained tabs.