[webkit-dev] Using DocLoader vs SubresourceLoader for loading a (worker) script

David Levin levin at chromium.org
Wed Apr 22 11:26:04 PDT 2009


You're basically switching from DocLoader to SubresourceLoader for loading a
script for workers.  DocLoader uses CachedResource and SubresourceLoader
doesn't.

So another way to state your question is:

   - What benefit does one get from using the cache (CachedResource) for
   loading worker scripts?
   - If one switched to using SubresourceLoader, is it useful or necessary
   to add support (under a flag) for CachedResource to SubresourceLoader?

Anyone?

Thanks,
Dave



On Fri, Apr 17, 2009 at 1:28 PM, Jian Li <jianli at chromium.org> wrote:

> To make script loading in nested worker work, I plan to change the use of
> CachedResource machinery to ThreadableLoader, as in bug 25215 (
> https://bugs.webkit.org/show_bug.cgi?id=25215).
> Can anyone who is an expert on loading design advise if this switch has any
> problem or not?
>
> Thanks a lot,
>
> Jian
>
>
> _______________________________________________
> webkit-dev mailing list
> webkit-dev at lists.webkit.org
> http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20090422/8f586653/attachment.html>


More information about the webkit-dev mailing list