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. It's not exactly the same as the required caches to ensure `foo.bar===foo.bar`, but seems related.

Storing the value somewhere explicit makes sense: we'd clear that storage when the UA receives [new information about the user’s intent](https://w3c.github.io/permissions/#new-information-about-the-users-intent).

-- 
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-823482771

Received on Tuesday, 20 April 2021 17:55:12 UTC