W3C home > Mailing lists > Public > whatwg@whatwg.org > November 2009

[whatwg] localStorage mutex - a solution?

From: Darin Fisher <darin@google.com>
Date: Wed, 25 Nov 2009 09:29:08 -0800
Message-ID: <bd8f24d20911250929i2e991cbdjd395814fc7a04ed@mail.gmail.com>
On Wed, Nov 25, 2009 at 9:16 AM, Boris Zbarsky <bzbarsky at mit.edu> wrote:

> On 11/25/09 6:20 AM, Ian Hickson wrote:
>
>>    - script calling a method implemented in native code on a host object
>>
> ...
>
> If this is a MUST, this seems like a possible compat issue depending on
> whether the method is native or library-provided, at the very least. There's
> also been talk at least in Gecko of self-hosting some DOM methods in JS
> (e.g. getElementById), at which point they will no longer be implemented in
> native code.
>
> I'm not sure this is a fatal issue (and I haven't been following this
> thread closely enough in general to be sure of anything); just pointing out
> that it's an issue.
>
> -Boris
>


I had a similar thought as it pertains to Chrome.  I also worry about having
to do some "storage mutex" processing for every native call.  That seems
like unfortunate overhead.

-Darin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.whatwg.org/pipermail/whatwg-whatwg.org/attachments/20091125/1ca11830/attachment.htm>
Received on Wednesday, 25 November 2009 09:29:08 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:19 UTC