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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Nov 22 20:51:11 PST 2009


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





--- Comment #8 from kangax <kangax at gmail.com>  2009-11-22 20:51:10 PST ---
> They also don't appear to expose any programmatic way of 
> detecting whether defer is supported, something we also 
> might want to coordinate on doing.

The inference based on property existence works quite well, actually:

'defer' in document.createElement('script'); // true in 3.5+
'async' in document.createElement('script'); // true in 3.6+

// etc.

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