pub(crate) fn record_permission_request_result(
name: PermissionName,
global_scope: &GlobalScope,
response: AllowOrDeny,
) -> PermissionStateExpand description
Store the user’s answer to a prompt started by request_permission_to_use_async(), and return the resulting permission state.