Re: [whatwg/storage] Rethinking storage proxy map (#96)

Yeah, I was lumping the LocalStorage/SessionStorage quota checks into agent-local policy decisions along with structured clone refusing to clone things.  For LocalStorage/SessionStorage these need to happen synchronously.

Impl-specific notes: For Firefox's LSNG the agent can be said to hold a quota pre-authorization like used for credit/debit cards.  If a call needs more space than was pre-allocated, a task is synchronously dispatched from the agent event loop to the authoritative bottle map's event loop in order to secure the added quota.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/storage/issues/96#issuecomment-640690227

Received on Monday, 8 June 2020 15:09:21 UTC