On Thu, Feb 10, 2011 at 11:09 PM, ROSE-nd-ASH <[email protected]> wrote:
> While trying to understand preload scanning in WebKit code, I got to know
> that it only starts when HTMLTokenizer encounters JavaScript. Am I right in
> concluding so?
> If yes, why it's not started if when CSS files or other sub-resources  are
> encountered first. Is there any particular reason for this??

We run the preload scanner when the regular parser is blocked on the
network.  CSS and other sub-resources don't block the main parser
whereas scripts do.

Adam
_______________________________________________
webkit-dev mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev

Reply via email to