parentTab(for:)
Called when the parent tab for the tab is needed.
Declaration
optional func parentTab(for context: WKWebExtensionContext) -> (any WKWebExtensionTab)?Parameters
- context:
The context in which the web extension is running.
Discussion
Defaults to nil if not implemented.