W3C home > Mailing lists > Public > whatwg@whatwg.org > April 2009

[whatwg] How long should sessionStorage data persist?

From: Ian Hickson <ian@hixie.ch>
Date: Sat, 4 Apr 2009 00:29:39 +0000 (UTC)
Message-ID: <Pine.LNX.4.62.0904040023340.25058@hixie.dreamhostps.com>
On Fri, 3 Apr 2009, Darin Fisher wrote:
>
> In Chrome we also create a new browsing context when the user types a new
> URL into the location bar of an existing tab.

So a user can't hit the back button after typing in a URL?

The term "browsing context" in the spec basically corresponds to the 
session history exposed by window.history, and the outer "Window" object 
that the history is on.


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

That's basically what the spec says.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Friday, 3 April 2009 17:29:39 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:11 UTC