[Webkit-unassigned] [Bug 54108] Layout stall waiting for external scripts to load

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Feb 12 13:13:45 PST 2011


https://bugs.webkit.org/show_bug.cgi?id=54108





--- Comment #14 from Silvio <silvio.ventres at gmail.com>  2011-02-12 13:13:45 PST ---
(In reply to comment #11)
> (From update of attachment 82234 [details])
> View in context: https://bugs.webkit.org/attachment.cgi?id=82234&action=review
> > Source/WebCore/html/parser/HTMLScriptRunner.cpp:316
> > +                    requestDeferredScript(script);
> Yes, deferred scripts can be much faster than parsing blocking ones, so I'm not surprised you are seeing big performance wins here. But It isn't correct to treat a parsing blocking script as a deferred script. This would be a violation of the HTML5 spec and lead to broken sites because the execution order changes. The correct approach here is not a webkit change, but rather to evangelize that web sites use deferred or async scripts if the order they execute is not important.

It's not just a "parsing blocking script", but it's a "parsing blocking script from an external domain". This is the main argument for deferring it.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list