Re: [whatwg/storage] Session storage and changing browsing contexts (#119)

1. Session storage is in old `{ foo: 'bar', hello: 'world' }` state.
2. Swap happens (or page is shown after being in bfcache), so it's now `{ foo: 'yo', hello: 'world', '123': '456' }`.
3. `"storage"` event for 'foo' key.
4. `"storage"` event for '123' key.

I'm worried that, in step 3, the view of storage is the final state, rather than the state between updating key 'foo' and '123'.

Or does that already happen?

-- 
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/119#issuecomment-785949040

Received on Thursday, 25 February 2021 14:48:52 UTC