1 Underscores should be treated as whitespace: spelling should ignore them. To test manually, type 'Hi, _wellcome_ home.', select '_wellcome_', and context-click on the selection. The test succeeds when the context menu has 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 successfullyParsed is true