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

[whatwg] Structured clone algorithm on LocalStorage

From: Robert O'Callahan <robert@ocallahan.org>
Date: Fri, 25 Sep 2009 16:28:49 +1200
Message-ID: <11e306600909242128s42af8007kd3772a07a1fff295@mail.gmail.com>
On Fri, Sep 25, 2009 at 5:52 AM, Darin Fisher <darin at chromium.org> wrote:

> No, no... my point is that to the application developer, those "explicit"
> points will appear quite implicit and mysterious.  This is why I called
> out third-party JS libraries.  One day, a function that you are using
> might transition to scripting a plugin, which might cause a nested
> loop, which could then force the lock to be released.  As a programmer,
> the unlocking is not explicit or predictable.
>

The unlocking around plugin calls is a problem, but it seems to me that any
given library function is much more likely start with a plugin-based
implementation and eventually switch to a non-plugin-based implementation
than the other way around.

Beyond plugins, I hope and expect that library functions don't suddenly add
calls to alert(), showModalDialog() or synchronous XHR.

Rob
-- 
"He was pierced for our transgressions, he was crushed for our iniquities;
the punishment that brought us peace was upon him, and by his wounds we are
healed. We all, like sheep, have gone astray, each of us has turned to his
own way; and the LORD has laid on him the iniquity of us all." [Isaiah
53:5-6]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.whatwg.org/pipermail/whatwg-whatwg.org/attachments/20090925/d002bec7/attachment.htm>
Received on Thursday, 24 September 2009 21:28:49 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:52 UTC