Summary: | The background HTML parser should be able to parse speculatively | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Adam Barth <abarth> | ||||||||||||
Component: | New Bugs | Assignee: | Adam Barth <abarth> | ||||||||||||
Status: | RESOLVED FIXED | ||||||||||||||
Severity: | Normal | CC: | gyuyoung.kim, ojan.autocc, rakuco, webkit.review.bot | ||||||||||||
Priority: | P2 | ||||||||||||||
Version: | 528+ (Nightly build) | ||||||||||||||
Hardware: | Unspecified | ||||||||||||||
OS: | Unspecified | ||||||||||||||
Bug Depends on: | 107762, 107763, 107764 | ||||||||||||||
Bug Blocks: | 106127 | ||||||||||||||
Attachments: |
|
Description
Adam Barth
2013-01-23 15:55:12 PST
Created attachment 184334 [details]
work in progress
Created attachment 184347 [details]
passes a new test
Created attachment 185608 [details]
still need to build system spelunk
Created attachment 185609 [details]
everyone but xcode
Created attachment 185624 [details]
Patch
Comment on attachment 185624 [details]
Patch
This looks amazing. :)
Comment on attachment 185624 [details]
Patch
Thanks :)
One downside to this approach is that BackgroundHTMLInputStream ends up keeping the entire input stream (instead of discarding StringImpls as it advances). My plan is to have the main thread send the BackgroundHTMLParser a message that it "continued past" a certain checkpoint, which will let the BackgroundHTMLInputStream discard whatever data would be needed to rewind to that checkpoint. Comment on attachment 185624 [details] Patch Rejecting attachment 185624 [details] from commit-queue. Failed to run "['/mnt/git/webkit-commit-queue/Tools/Scripts/webkit-patch', '--status-host=queues.webkit.org', '--bot-id=gce-cq-01', 'land-attachment', '--force-clean', '--non-interactive', '--parent-command=commit-queue', 185624, '--port=chromium-xvfb']" exit_code: 2 cwd: /mnt/git/webkit-commit-queue Last 500 characters of output: rce/WebKit/chromium/webkit/media/crypto/ppapi/cdm --revision 173055 --non-interactive --force --accept theirs-conflict --ignore-externals' in '/mnt/git/webkit-commit-queue/Source/WebKit/chromium' 56>At revision 173055. ________ running '/usr/bin/python tools/clang/scripts/update.py --mac-only' in '/mnt/git/webkit-commit-queue/Source/WebKit/chromium' ________ running '/usr/bin/python gyp_webkit' in '/mnt/git/webkit-commit-queue/Source/WebKit/chromium' Updating webkit projects from gyp files... Full output: http://queues.webkit.org/results/16199989 Comment on attachment 185624 [details] Patch Clearing flags on attachment: 185624 Committed r141363: <http://trac.webkit.org/changeset/141363> All reviewed patches have been landed. Closing bug. |