1 Spell check should select multi-word misspellings on context click. To test manually, enable 'Ask Google for Suggestions' in Chrome, type 'It should be upper case.', and context-click on the word 'upper'. The test succeeds when 'upper case' was selected after context click.
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
6 PASS spellingMarkerRange.toString() is "upper case"
7 PASS window.getSelection().toString() is ""
8 PASS spellingMarkerRange.toString() is "upper case"
9 PASS window.getSelection().toString() is "upper case"
10 PASS contextMenuElements[contextMenuElements.length - 1] is "uppercase"
11 PASS spellingMarkerRange.toString() is "upper case"
12 PASS window.getSelection().toString() is ""
13 PASS spellingMarkerRange.toString() is "upper case"
14 PASS window.getSelection().toString() is "upper case"
15 PASS contextMenuElements[contextMenuElements.length - 1] is "uppercase"
16 PASS successfullyParsed is true
19 It should be upper case.