• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1Test for a specific problem with previousNode that failed in older versions of WebKit.
2
3On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
4
5
6PASS walker.firstChild(); walker.currentNode.id is 'A1'
7PASS walker.nextNode(); walker.currentNode.id is 'B1'
8PASS walker.nextNode(); walker.currentNode.id is 'C1'
9PASS walker.nextNode(); walker.currentNode.id is 'B2'
10PASS walker.previousNode(); walker.currentNode.id is 'C1'
11PASS successfullyParsed is true
12
13TEST COMPLETE
14
15