didOpenTab(_:)
Called by the app when a new tab is opened to fire appropriate events with only this extension.
Declaration
func didOpenTab(_ newTab: any WKWebExtensionTab)Parameters
- newTab:
The newly opened tab.
Discussion
This method informs only the specific extension of the opening of a new tab. If the intention is to inform all loaded extensions consistently, you should use the respective method on the extension controller instead.