W3C home > Mailing lists > Public > whatwg@whatwg.org > September 2005

[whatwg] some feedback on Web Apps 1.0 client-side storage

From: Robert O'Callahan <rocallahan@gmail.com>
Date: Sat, 1 Oct 2005 05:30:00 +1200
Message-ID: <11e306600509301030k5f4a4b2g@mail.gmail.com>
On 01/10/05, Ian Hickson <ian at hixie.ch> wrote:
>
> On Fri, 9 Sep 2005, Robert O'Callahan wrote:
> > > > >
> > > > > I have added text about this to the sessionStorage and
> > > > > globalStorage sections. (Short answer: sessionStorage: only
> > > > > when the window is closed or when you run out of disk space;
> > > > > globalStorage: only when the user says so. And in both cases,
> > > > > security concerns can trump everything and be used as an
> > > > > excuse to delete data whenever...)
> > > >
> > > > Looks good. But I think developers would also like to be sure
> > > > that the browser won't delete anything, say, while a script is
> > > > running.
> > >
> > > Can we guarantee this? How about if the user empties their storage
> > > areas?
> >
> > Then the UA might have to terminate any running script(s) (perhaps
> > after warning the user and giving the user an option to cancel the
> > emptying).
>
> Do we really want to require this? I agree that a user agent may wish
> to do this, but it seems that the interaction of the user deleting
> data and running scripts accessing that data would be something that
> could be safely left undefined, since it doesn't directly impact
> interoperability.


I think some sort of guarantee that data can't just disappear while a script
is running would be very helpful to developers, and of course they'd be more
able to rely on it if it was in the spec.

Rob
--
["Therefore, my dear friends, as you have always obeyed?not only in my
presence, but now much more in my absence?continue to work out your
salvation with fear and trembling, for it is God who works in you to will
and to act according to his good purpose." Philippians 2:12-13.]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.whatwg.org/pipermail/whatwg-whatwg.org/attachments/20051001/106512d7/attachment.htm>
Received on Friday, 30 September 2005 10:30:00 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:24 UTC