AbstractNotify the web-engine of the selected permission state for the given query. This function should
only be called as a response to the WebKit.WebView::query-permission-state signal.
Get the permission name for which access is being queried.
the permission name for query
Get the permission origin for which access is being queried.
A WebKit.SecurityOrigin representing the origin from which the query was emitted.
Atomically increments the reference count of query by one.
This function is MT-safe and may be called from any thread.
The passed WebKit.PermissionStateQuery
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.
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-statesignal, the application has to eventually respond, viawebkit_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
promptthe user for the given permission.