Contents

pendingURL(for:)

Called when the pending URL of the tab is needed.

Declaration

optional func pendingURL(for context: WKWebExtensionContext) -> URL?

Parameters

  • context:

    The context in which the web extension is running.

Discussion

The pending URL is the URL of a page that is in the process of loading. If there is no pending URL, return nil.

Defaults to nil if not implemented.