<div class="gmail_quote">On Fri, Mar 20, 2009 at 2:39 PM, Drew Wilson <span dir="ltr">&lt;<a href="mailto:atwilson@google.com">atwilson@google.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div>One alternative I&#39;d like to propose is to remove access to localStorage for dedicated workers, and give SharedWorkers access to localStorage, but have that storage be partitioned by the worker name (i.e. the worker can access it, but it&#39;s not shared with web pages or any other workers and so you don&#39;t have any synchronicity issues).</div>
</blockquote><div><br></div><div>This may be interesting. It allows to keep single API for localStorage. Most of the usage is probably going to happen inside such a worker - in other words, sharing the info with other pages of the same origin may not be needed, and there is always async communication when a live page wants to share data with a shared worker.</div>
<div><br></div><div>Dmitry</div></div>