WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
Bug 65639
Make atomic XML token
https://bugs.webkit.org/show_bug.cgi?id=65639
Summary
Make atomic XML token
Vicki Pfau
Reported
2011-08-03 13:35:21 PDT
Make atomic XML token
Attachments
Patch
(20.93 KB, patch)
2011-08-03 13:37 PDT
,
Vicki Pfau
no flags
Details
Formatted Diff
Diff
Patch
(20.92 KB, patch)
2011-08-03 13:59 PDT
,
Vicki Pfau
no flags
Details
Formatted Diff
Diff
Patch for landing
(20.80 KB, patch)
2011-08-03 15:20 PDT
,
Vicki Pfau
no flags
Details
Formatted Diff
Diff
Show Obsolete
(2)
View All
Add attachment
proposed patch, testcase, etc.
Vicki Pfau
Comment 1
2011-08-03 13:37:02 PDT
Created
attachment 102820
[details]
Patch
Early Warning System Bot
Comment 2
2011-08-03 13:43:15 PDT
Comment on
attachment 102820
[details]
Patch
Attachment 102820
[details]
did not pass qt-ews (qt): Output:
http://queues.webkit.org/results/9303123
WebKit Review Bot
Comment 3
2011-08-03 13:55:55 PDT
Comment on
attachment 102820
[details]
Patch
Attachment 102820
[details]
did not pass chromium-ews (chromium-xvfb): Output:
http://queues.webkit.org/results/9301186
Vicki Pfau
Comment 4
2011-08-03 13:59:10 PDT
Created
attachment 102822
[details]
Patch
Adam Barth
Comment 5
2011-08-03 14:04:42 PDT
Comment on
attachment 102822
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=102822&action=review
This looks great. Did you run the parser benchmark?
> Source/WebCore/html/parser/HTMLTokenizer.cpp:51 > +// This has to go in a .cpp file, as the linker doesn't like it being included more than once. > +// We don't have an HTMLToken.cpp though, so this is the next best place.
Maybe we should add HTMLToken.cpp? That seems sort of wasteful for just these three methods, but there could be more in the future.
> Source/WebCore/xml/parser/MarkupTokenBase.h:377 > +// FIXME: This class should eventually be named HTMLToken once we move the > +// exiting HTMLToken to be internal to the HTMLTokenizer.
This FIXME should probably be removed. Turns out making this class internal isn't worthwhile.
> Source/WebCore/xml/parser/XMLToken.h:436 > + { }
These should each be on their own line.
Vicki Pfau
Comment 6
2011-08-03 15:08:49 PDT
(In reply to
comment #5
)
> (From update of
attachment 102822
[details]
) > View in context:
https://bugs.webkit.org/attachment.cgi?id=102822&action=review
> > This looks great. Did you run the parser benchmark?
I didn't until you reminded me, but they still appear to be on par. There doesn't seem to be any speed loss or gain.
> > Source/WebCore/html/parser/HTMLTokenizer.cpp:51 > > +// This has to go in a .cpp file, as the linker doesn't like it being included more than once. > > +// We don't have an HTMLToken.cpp though, so this is the next best place. > > Maybe we should add HTMLToken.cpp? That seems sort of wasteful for just these three methods, but there could be more in the future.
Maybe so, but we can always do that later if we add more methods. I'm not sure it makes sense to add the files now.
Vicki Pfau
Comment 7
2011-08-03 15:20:24 PDT
Created
attachment 102836
[details]
Patch for landing
WebKit Review Bot
Comment 8
2011-08-03 16:18:57 PDT
Comment on
attachment 102836
[details]
Patch for landing Clearing flags on attachment: 102836 Committed
r92325
: <
http://trac.webkit.org/changeset/92325
>
WebKit Review Bot
Comment 9
2011-08-03 16:19:05 PDT
All reviewed patches have been landed. Closing bug.
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