W3C home > Mailing lists > Public > public-webapps@w3.org > July to September 2009

Re: Is localStorage read and write-able offlne?

From: Jeremy Orlow <jorlow@chromium.org>
Date: Thu, 30 Jul 2009 10:30:38 -0700
Message-ID: <5dd9e5c50907301030wcb28b72k696dee00f79763a4@mail.gmail.com>
To: Boris Zbarsky <bzbarsky@mit.edu>
Cc: (wrong string) ‚‚ŠŒ†”–„—Ÿ <j.chetwynd@btinternet.com>, <public-webapps@w3.org>
2009/7/30 Boris Zbarsky <bzbarsky@mit.edu>

> Jeremy Orlow wrote:
> > When used in conjunction with AppCache, the offline behavior of
> > localStorage should be reasonably deterministic.
>
> Doesn't localStorage depend on the domain (not origin, mind you!) of the
> page?


I don't know what you mean by this.  LocalStorage only cares about the
origin.


> What exactly is the domain for a file:// URI?


Everything in file:// is the same origin.  I think Mozilla has
been experimenting with changing this, but I can't remember how they handle
localStorage (if it's even different at all).

J
Received on Thursday, 30 July 2009 17:31:18 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:33 GMT