1 Spelling should work for double-clicked misspelled words with underscores. 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