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](https://w3c.github.io/permissions/).
When signalled by the <WebKitWebView> through the
query-permission-state signal, the application has to eventually
respond, via permission-state-query:finish, whether it grants, denies or
requests a dedicated permission prompt for the given query.
When a <WebKitPermissionStateQuery>
is not handled by the user, the user-agent is instructed to
prompt the user for the given permission.
Notify the web-engine of the selected permission state for the given
query. This function should only be called as a response to the
web-view:query-permission-state signal.
Passed: a
<WebKitPermissionStateQuery>.
Passed: a <WebKitPermissionState>, or one
of its symbols.
Get the permission name for which access is being queried.
Passed: a
<WebKitPermissionStateQuery>.
Returned: a string.
the permission name for self
Get the permission origin for which access is being queried.
Passed: a
<WebKitPermissionStateQuery>.
Returned: a <WebKitSecurityOrigin>.
A <WebKitSecurityOrigin> representing the
origin from which the self was emitted.
Atomically increments the reference count of self by one.
This function is MT-safe and may be called from any thread.
Passed: a
<WebKitPermissionStateQuery>.
Returned: a
<WebKitPermissionStateQuery>.
The passed
<WebKitPermissionStateQuery>
Atomically decrements the reference count of self by one.
If the reference count drops to 0, all memory allocated by
<WebKitPermissionStateQuery> is
released. This function is MT-safe and may be called from any thread.
Passed: a
<WebKitPermissionStateQuery>.