2 PASS s.anchorNode is span1.firstChild
3 PASS s.anchorOffset is 0
4 PASS s.focusNode is span1.firstChild
5 PASS s.focusOffset is 0
6 PASS window.getSelection().toString() is "foo"
7 PASS window.getSelection().toString() is "foobar"
8 PASS s.selectAllChildren(null) threw exception TypeError: Failed to execute 'selectAllChildren' on 'Selection': parameter 1 is not of type 'Node'..
9 PASS s.selectAllChildren(window) threw exception TypeError: Failed to execute 'selectAllChildren' on 'Selection': parameter 1 is not of type 'Node'..
10 PASS s.selectAllChildren("") threw exception TypeError: Failed to execute 'selectAllChildren' on 'Selection': parameter 1 is not of type 'Node'..
11 PASS successfullyParsed is true