blob: a0fc16feabb357edd997dc085cfecdc4319a7020 [file] [log] [blame]
Spelling should work when the user selects a multi-word misspelling exactly. To test manually, enable 'Ask Google for Suggestions' in Chrome, type 'It should be upper case.', select 'upper case', and context-click on the selection.The test succeeds when the context menu shows spelling suggestions.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS spellingMarkerRange.toString() is "upper case"
PASS window.getSelection().toString() is ""
PASS window.getSelection().toString() is "upper case"
PASS spellingMarkerRange.toString() is "upper case"
PASS window.getSelection().toString() is "upper case"
PASS contextMenuElements[contextMenuElements.length - 1] is "uppercase"
PASS successfullyParsed is true
TEST COMPLETE
It should be upper case.