1 Spelling should work when the user selects the misspelled word exactly. To test manually, type 'wellcome home.', select 'wellcome', and context-click on the selection. The test succeeds when the context menu shows spelling 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 "home"
13 PASS window.getSelection().toString() is "home"
14 PASS contextMenuElements[contextMenuElements.length - 1] is "<separator>"
15 PASS successfullyParsed is true