There's a really careless error in DynamicNodeListCacheBase::itemBeforeOrAfter. It's doing firstNode(forward, rootNode(), previous) but it should read firstNode(forward, rootNode(), shouldOnlyIncludeDirectChildren()) instead.
Created attachment 153825 [details] Fixes the typo
Created attachment 153827 [details] Move the console output to be below 1-5 and test description
Committed r123359: <http://trac.webkit.org/changeset/123359>
http://crbug.com/138488
*** Bug 91980 has been marked as a duplicate of this bug. ***