[Webkit-unassigned] [Bug 20710] WebKit should support defer and async on script elements

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue May 18 22:36:20 PDT 2010


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


Brian Kuhn <bkuhn at google.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bkuhn at google.com




--- Comment #11 from Brian Kuhn <bkuhn at google.com>  2010-05-18 22:36:17 PST ---
I can't find the exact language in the spec, but Ian claims to have modified it to say that async scripts should not block DOMContentLoaded.  I'd prefer they also didn't block window.onload, but I'll take what I can get...

http://canvex.lazyilluminati.com/misc/cgi/issues.cgi/message/%3C4BA14D55.5060600@souders.org%3E

"On 3/16/2010 5:05 PM, Ian Hickson wrote:
I've changed the spec to fire 'DOMContentLoaded' without waiting for the
async scripts, so that if you need this you can just listen for that event
instead of 'load'. 'load' still waits for all scripts. 'DOMContentLoaded'
still waits for deferred scripts. As far as I can tell this handles all
the above (still makes sense, still consistent with the way other 'load'
events work, but still lets you do things without waiting)."

-- 
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