WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
UNCONFIRMED
51650
Implement HTML5 Suggestion to Pre-fetch Script URL's Upon SRC Assignment
https://bugs.webkit.org/show_bug.cgi?id=51650
Summary
Implement HTML5 Suggestion to Pre-fetch Script URL's Upon SRC Assignment
Will Alexander
Reported
2010-12-27 11:36:35 PST
Recent activity to support parallel-loading dependent scripts lead to nightly builds including support for setting `async=true` on script elements to insure they execute in the order in which they are inserted. WHile this solves the immediate use-case, this behavior is not in the specification. Moreover, this does not address teh use-case of pre-fetching scripts and defering their execution. Step 12 of the HTML 5 "Running a script" section (
http://www.w3.org/TR/html5/scripting-1.html#running-a-script
) makes the following suggestion: For performance reasons, user agents may start fetching the script as soon as the attribute is set, instead, in the hope that the element will be inserted into the document. This behavior is entirely sufficient to support both pre-fetching and ordered execution. It is currently implemented in IE 4+.
Attachments
Add attachment
proposed patch, testcase, etc.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug