Contents

shouldBypassPermissions(for:)

Called to determine if the tab should bypass host permission checks.

Declaration

optional func shouldBypassPermissions(for context: WKWebExtensionContext) -> Bool

Parameters

  • context:

    The context in which the web extension is running.

Discussion

This method allows the app to dynamically control whether a tab can bypass standard host permission checks.