pub fn check_or_request(
perms: &SharedPermissions,
origin: &str,
kind: PermissionKind,
) -> PermissionStatusExpand description
Looks up the decision for (origin, kind), queueing a prompt when undecided.
Returns PermissionStatus::Pending both when this request becomes the active prompt and
when another prompt is already showing (the retry will queue it once the slot frees up).