[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 10:06:53 PST 2011


Tony Gentilcore <tonyg at chromium.org> changed:

           What    |Removed                     |Added
  Attachment #82234|                            |review-
               Flag|                            |

--- Comment #11 from Tony Gentilcore <tonyg at chromium.org>  2011-02-12 10:06:53 PST ---
(From update of attachment 82234)
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.

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