Class (GI Struct)

WebKit-6.0WebKitPermissionStateQueryAbstract

This query represents a user's choice to allow or deny access to "powerful features" of the platform, as specified in the Permissions W3C Specification.

When signalled by the WebKit.WebView through the query-permission-state signal, the application has to eventually respond, via webkit_permission_state_query_finish(), whether it grants, denies or requests a dedicated permission prompt for the given query.

When a WebKit.PermissionStateQuery is not handled by the user, the user-agent is instructed to prompt the user for the given permission.

Index
  • Get the permission name for which access is being queried.

    Returns string

    the permission name for query

    2.40

  • Atomically decrements the reference count of query by one.

    If the reference count drops to 0, all memory allocated by WebKit.PermissionStateQuery is released. This function is MT-safe and may be called from any thread.

    Returns void

    2.40