• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1Test TreeWalker with skipping
2
3On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
4
5
6
7Testing nextSibling
8PASS walker.firstChild(); walker.currentNode.id is 'B1'
9PASS walker.nextSibling(); walker.currentNode.id is 'B3'
10
11Testing previousSibling
12PASS walker.previousSibling(); walker.currentNode.id is 'B1'
13PASS successfullyParsed is true
14
15TEST COMPLETE
16
17