[Webkit-unassigned] [Bug 106815] [Chromium] Tests and fixes for spell checker behavior

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jan 25 13:58:30 PST 2013


https://bugs.webkit.org/show_bug.cgi?id=106815


Rouslan Solomakhin <rouslan+webkit at chromium.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #184588|0                           |1
        is obsolete|                            |
 Attachment #184808|                            |review?, commit-queue?
               Flag|                            |




--- Comment #13 from Rouslan Solomakhin <rouslan+webkit at chromium.org>  2013-01-25 14:00:24 PST ---
Created an attachment (id=184808)
 --> (https://bugs.webkit.org/attachment.cgi?id=184808&action=review)
Proposed patch

Added Changelog.
Added description of how to test manually.
Added setSelectTrailingWhitespaceEnabled and setSmartInsertDeleteEnabled in all tests.
Removed unnecessary test cleanup calls.

Tony: Thank you for the review. I've placed the tests in platform/chromium/editing/spelling because I am testing and fixing the behavior of Source/WebKit/chromium/src/ContextMenuClientImpl.cpp specifically. Chromium spell check behaves differently from other WebKit ports. For example, Chromium selects the misspelled word on context click, but Safari does not.

Calls to setSelectTrailingWhitespaceEnabled should be necessary only when double-clicks are involved, but I've put it in all the tests for good measure.

Calls to setSmartInsertDeleteEnabled should be necessary only when we test replacing the misspelling with a suggestion. These tests do not exercise that functionality, but I've put it in all the tests for good measure, too.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list