[whatwg] localStorage + worker processes

Jonas Sicking jonas at sicking.cc
Sat Mar 21 13:54:02 PDT 2009


On Sat, Mar 21, 2009 at 9:41 AM, Drew Wilson <atwilson at google.com> wrote:
> That might work. Is it feasible for user agents to enforce limits on how
> long a callback is allowed to run holding the lock? That way workers can't
> starve normal pages from accessing their local storage.

I don't think it will be a big problem. As long as we ensure that all
locks are per-origin, that means that an application can only starve
itself. Something that it has clear incentives not to.

/ Jonas



More information about the whatwg mailing list