1 Spelling should work for double-clicked misspellings. To test manually, type 'wellcome home.', double-click on 'wellcome', and context-click on the selection. The test succeeds when the context menu shows spell check suggestions.
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
6 PASS spellingMarkerRange.toString() is "wellcome"
7 PASS window.getSelection().toString() is ""
8 PASS window.getSelection().toString() is "wellcome"
9 PASS spellingMarkerRange.toString() is "wellcome"
10 PASS window.getSelection().toString() is "wellcome"
11 PASS contextMenuElements[contextMenuElements.length - 1] is "welcome"
12 PASS window.getSelection().toString() is ""
13 PASS window.getSelection().toString() is "wellcome "
14 PASS spellingMarkerRange.toString() is "wellcome"
15 PASS window.getSelection().toString() is "wellcome "
16 PASS contextMenuElements[contextMenuElements.length - 1] is "welcome"
17 PASS successfullyParsed is true