blob: 4e5b56f338c11c424ccf647d0dc74fb0d648dc68 [file] [log] [blame]
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.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS spellingMarkerRange.toString() is "wellcome"
PASS window.getSelection().toString() is ""
PASS window.getSelection().toString() is "wellcome_"
PASS spellingMarkerRange.toString() is "wellcome"
PASS window.getSelection().toString() is "wellcome_"
PASS contextMenuElements[contextMenuElements.length - 1] is "welcome"
PASS window.getSelection().toString() is ""
PASS window.getSelection().toString() is "wellcome_ "
PASS spellingMarkerRange.toString() is "wellcome"
PASS window.getSelection().toString() is "wellcome_ "
PASS contextMenuElements[contextMenuElements.length - 1] is "welcome"
PASS successfullyParsed is true
TEST COMPLETE
wellcome_ home.