Re: [w3c/permissions] previousResult not really stored anywhere (#234)

> It's more semantic than just an optimization: it prevents the UA from returning completely arbitrary values on back-to-back calls. 

Understood. But I think we need to hook that into the eventing model. There should only be a single view of what the permissions are before we get "new information about the user’s intent" (or the permission states get updated because the world changed). 

> Storing the value somewhere explicit makes sense: we'd clear that storage when the UA receives new information about the user’s intent.

Agree, yes. 
 
It be nice to more clearly articulate in the spec (maybe in terms of a map) how realms and permissions map to each other. It's not sure clear (from my reading) how that works. 

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/permissions/issues/234#issuecomment-823818881

Received on Wednesday, 21 April 2021 06:44:01 UTC