- From: Jake Archibald <notifications@github.com>
- Date: Tue, 23 Feb 2021 09:08:55 -0800
- To: whatwg/storage <storage@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Tuesday, 23 February 2021 17:09:07 UTC
Would a system like this be easier than truly shared storage @mkruisselbrink @asutherland? 1. A top-level page contain a same-origin prerender. The same-origin prerendered page receives a [clone of session storage](https://storage.spec.whatwg.org/#legacy-clone-a-browsing-session-storage-shed). 1. Wait until the prerendered page activates. 1. Switch the session storage of the now-activated prerendered page from its clone to the session storage used by the old top-level page. 1. Fire "storage" events for every difference between the old cloned storage and the new storage. This means that clicking back would take you to the previous page without changing session storage. -- 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-784356962
Received on Tuesday, 23 February 2021 17:09:07 UTC