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