[whatwg] How long should sessionStorage data persist?

Jeremy Orlow jorlow at google.com
Fri Apr 3 15:25:48 PDT 2009


On Fri, Apr 3, 2009 at 3:16 PM, Ian Hickson <ian at hixie.ch> wrote:

> On Fri, 3 Apr 2009, Jeremy Orlow wrote:
> >
> > I created a page that sets a variable in sessionStorage, then I
> > navigated to a different domain, then I went back to the page and
> > checked if the variable was still set.  In Safari 4 (beta) it is.  In
> > IE8 it isn't. The spec is not terribly clear: "When a top-level browsing
> > context is destroyed (and therefore permanently inaccessible to the
> > user) the data stored in its session storage areas can be discarded with
> > it, as the API described in this specification provides no way for that
> > data to ever be subsequently retrieved."
> >
> > Can anyone explain what's intended here?  If not, can the spec make it
> > more clear?
>
> IE8 is buggy according to the text you quoted. I don't understand why the
> text is unclear. Does the definition of "browsing context" not leave this
> unambiguous?
>

My mistake.  Browsing context does make this clear.  Sorry!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.whatwg.org/pipermail/whatwg-whatwg.org/attachments/20090403/d4762ae1/attachment.htm>


More information about the whatwg mailing list