[whatwg] How long should sessionStorage data persist?

Ian Hickson ian at hixie.ch
Fri Apr 3 17:29:39 PDT 2009


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.   `._.-(,_..'--(,_..'`-.;.'



More information about the whatwg mailing list