1 Punctuation marks should be treated as whitespace: spelling should ignore them. To test manually, type 'wellcome!', 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