[whatwg] some feedback on Web Apps 1.0 client-side storage
Robert O'Callahan
rocallahan at gmail.com
Fri Sep 30 10:30:00 PDT 2005
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>
More information about the whatwg
mailing list