didCloseTab:windowIsClosing:
Called by the app when a tab is closed to fire appropriate events with only this extension.
Declaration
- (void) didCloseTab:(id<WKWebExtensionTab>) closedTab windowIsClosing:(BOOL) windowIsClosing;Parameters
- closedTab:
The tab that was closed.
- windowIsClosing:
A Boolean value indicating whether the window containing the tab is also closing.
Discussion
This method informs only the specific extension of the closure of a tab. If the intention is to inform all loaded extensions consistently, you should use the respective method on the extension controller instead.