Re: [w3c/permissions] Semantic Permission Bundles (#191)

> Specifically, we should first examine whether user agents can solve prompt bundling without requiring changes in API or model. For instance:
>
>  const [stream, permission] = await Promise.all([
>    navigator.mediaDevices.getUserMedia({video: true, audio: true}),
>    Notification.requestPermission()
>  ]);

That’s an interesting idea; paired with `Promise.*()` (like, for example, `Promise.any()`), it could be made as forgiving or not to the denial of individual promises as the app deems necessary. Not sure how feasible it would be to actually detect such patterns in practice, but I’m acknowledgedly not an expert there. It seems not impossible for sure. 

> They only care about notifications later when e.g. someone pings them in chat.

If the site hasn’t asked for permission, some users may never even see that they are being pinged. 

-- 
Reply to this email directly or view it on GitHub:
https://github.com/w3c/permissions/issues/191#issuecomment-1033064443

You are receiving this because you are subscribed to this thread.

Message ID: <w3c/permissions/issues/191/1033064443@github.com>

Received on Tuesday, 8 February 2022 21:10:11 UTC