blob: 2be59a250fa839ac28977d873032b7b98b686da6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
Test TreeWalker with skipping
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
Testing nextSibling
PASS walker.firstChild(); walker.currentNode.id is 'B1'
PASS walker.nextSibling(); walker.currentNode.id is 'B3'
Testing previousSibling
PASS walker.previousSibling(); walker.currentNode.id is 'B1'
PASS successfullyParsed is true
TEST COMPLETE
|