1 Spelling should ignore whitespace. To test manually, type 'hello, 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 " wellcome "
8 PASS spellingMarkerRange.toString() is "wellcome"
9 PASS window.getSelection().toString() is " wellcome "
10 PASS contextMenuElements[contextMenuElements.length - 1] is "welcome"
11 PASS successfullyParsed is true