Contents

permissionStatus(for:)

Checks the specified URL against the currently denied, granted, and requested permission match patterns.

Declaration

func permissionStatus(for url: URL) -> WKWebExtensionContext.PermissionStatus

Parameters

  • url:

    The URL for which to return the status.

Discussion

URLs and match patterns can be granted on a per-tab basis. When the tab is known, access checks should always use the method that checks in a tab.

See Also

Related Documentation