[whatwg] How long should sessionStorage data persist?

Jeremy Orlow jorlow at google.com
Fri Apr 3 17:07:45 PDT 2009


On Fri, Apr 3, 2009 at 5:03 PM, Darin Fisher <darin at chromium.org> wrote:

>
> Hmm...
> In Chrome we also create a new browsing context when the user types a new
> URL into the location bar of an existing tab. This can be thought of as a
> shortcut for "create a new tab with the given URL and close the old tab."
> (We only do this when the new URL is of a different domain.) Perhaps, IE8 is
> doing something similar. Jeremy didn't say how he navigated. A link click or
> any content driven navigation cannot be treated like this of course.
>
> However, I believe that we should still restore the old sessionStorage when
> the user navigates back to the old URL just as we do for form state, scroll
> position, and other attributes normally associated with session history.
>

I typed a new URL into the address bar.  I suppose I should try a links
based experiment as well.

And yes, we'll have to copy this code out of the render process if we want
such a scenario to work in Chrome.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.whatwg.org/pipermail/whatwg-whatwg.org/attachments/20090403/a49afb1a/attachment-0002.htm>


More information about the whatwg mailing list