WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
75257
XMLDocumentParser needs a PreloadScanner
https://bugs.webkit.org/show_bug.cgi?id=75257
Summary
XMLDocumentParser needs a PreloadScanner
Tony Gentilcore
Reported
2011-12-27 09:20:41 PST
The XMLDocumentParser doesn't use the PreloadScanner like the HTMLDocumentParser does. In cases like the one described in
http://crbug.com/108592
, this leads to very poor performance. This is also mentioned in
http://gent.ilcore.com/2011/01/webkit-preloadscanner.html
. I thought we had a bug about this, but can't find it. Please dupe this one if you remember where that is.
Attachments
Add attachment
proposed patch, testcase, etc.
Tony Gentilcore
Comment 1
2011-12-27 09:23:26 PST
I seem to also recall abarth asking why we need to pause the parser at all for scripts in XHTML documents (since there is no doc.write). We should probably investigate that further first.
Adam Barth
Comment 2
2011-12-27 10:02:40 PST
Note that preload scanning XML is much easier because we know exactly how the whole document will parse (e.g. there is no document.write).
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