1 Tests that shift+clicking does the platform correct behavior.
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
6 PASS window.getSelection().toString() is correct
7 PASS Selection direction is correct.
8 PASS window.getSelection().toString() is correct
9 PASS Selection direction is correct.
10 PASS window.getSelection().toString() is correct
11 PASS Selection direction is correct.
12 FAIL window.getSelection().toString() is "one two three
13 four five " and should be "one two three
15 PASS Selection direction is correct.
16 FAIL window.getSelection().toString() is "two three
17 four five six" and should be "two three
19 PASS Selection direction is correct.
20 PASS window.getSelection().toString() is correct
21 PASS Selection direction is correct.
22 PASS window.getSelection().toString() is correct
23 PASS Selection direction is correct.
24 PASS window.getSelection().toString() is correct
25 PASS Selection direction is correct.
26 PASS window.getSelection().toString() is correct
27 PASS Selection direction is correct.
28 PASS window.getSelection().toString() is correct
29 FAIL Selection direction is not correct. Expected a backward selection.[anchorNode: [object Text](two three) anchorOffset: 0 focusNode: [object Text](two three) focusOffset: 3 isCollapsed: false]
30 PASS successfullyParsed is true