[webkit-dev] GlobalScript API.
Peter Kasting
pkasting at google.com
Mon Aug 31 18:52:01 PDT 2009
On Mon, Aug 31, 2009 at 6:44 PM, Dimitri Glazkov <dglazkov at google.com>wrote:
> > Having said that, I do think the global script object idea is a bad idea.
>
> I am not convinced it's awesome either. But thought the same (and
> still do) about HTML5 database, and yet here it is in the standard :)
>
> Ultimately, as Dmitry said, it will be developers who vote on this.
> What they will pick may not be pristinely designed multi-threaded
> APIs, but hairy, hard-to-get-right other specs that we browser
> developers would've preferred them not to.
>
I'm mainly concerned with the deleterious effects on UAs such APIs can
cause. Look how much pain we suffer because of sync XHR, or the nasty
tendency of pages to unnecessarily share script context (e.g. between Gmail
and every page opened from within it). I haven't looked into the details of
the GlobalScript API enough but my worry is that it might contribute to
making problems like the latter worse, or just increasing the complexity and
bugginess of the codebase in general...
PK
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20090831/04572fe5/attachment.html>
More information about the webkit-dev
mailing list