WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
120979
Separate forward and backward paths in ComposedShadowTreeWalker
https://bugs.webkit.org/show_bug.cgi?id=120979
Summary
Separate forward and backward paths in ComposedShadowTreeWalker
Antti Koivisto
Reported
2013-09-07 17:06:17 PDT
make it clearer
Attachments
patch
(13.24 KB, patch)
2013-09-07 17:09 PDT
,
Antti Koivisto
kling
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Antti Koivisto
Comment 1
2013-09-07 17:09:33 PDT
Created
attachment 210937
[details]
patch
Andreas Kling
Comment 2
2013-09-07 17:16:51 PDT
Comment on
attachment 210937
[details]
patch View in context:
https://bugs.webkit.org/attachment.cgi?id=210937&action=review
r=me. Almost there eh?
> Source/WebCore/dom/ComposedShadowTreeWalker.cpp:131 > + ASSERT(node); > + ASSERT(node);
Maybe you should also assert that 'node' is non-null here.
> Source/WebCore/dom/ComposedShadowTreeWalker.cpp:150 > ASSERT(node); > - if (Node* found = traverseSiblings(direction == TraversalDirectionForward ? node->nextSibling() : node->previousSibling(), direction)) > - return found; > - return escapeFallbackContentElement(node, direction); > + ASSERT(node);
And here.
Antti Koivisto
Comment 3
2013-09-08 00:02:12 PDT
https://trac.webkit.org/r155287
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