Bug 364315 - Speculatively look for URLs in the document while the parser waits for...
commit312ddb42c0fd8c34c3c4af470bf923fec920e15e
authorBlake Kaplan <mrbkap@gmail.com>
Tue, 30 Sep 2008 04:19:43 +0000 (29 21:19 -0700)
committerBlake Kaplan <mrbkap@gmail.com>
Tue, 30 Sep 2008 04:19:43 +0000 (29 21:19 -0700)
treece432b0748f39df0dbe0d062e7fcf6a2d45108ea
parentd8c41c4390d1c055847c71911bc4cec771409f43
Bug 364315 - Speculatively look for URLs in the document while the parser waits for a script to download and execute. This should show a decent speedup, especially on mobile. Currently, this only finds other <script>s to preload, but hopefully we'll extend it to images and stylesheets as well. r+sr=jst
content/base/src/nsScriptLoader.cpp
content/base/src/nsScriptLoader.h
parser/htmlparser/src/CParserContext.cpp
parser/htmlparser/src/CParserContext.h
parser/htmlparser/src/nsParser.cpp
parser/htmlparser/src/nsParser.h
parser/htmlparser/src/nsScanner.cpp
parser/htmlparser/src/nsScanner.h