DescriptionConvert some spell-checking layout tests to unified text checker
Currently the only place unified text checker can be disabled is test.
This patch makes it enabled in all relevant layout tests so that we
can get rid of this option later.
This patch also introduces runSpellingTest() in util.js for running
asynchronous w3c-testharness tests for spell checking, and uses it
to convert those layout tests that disabled unified text checker:
- editing/spelling/delete-misspelled-word.html
- editing/spelling/focusing-other-frame.html
- editing/spelling/spellcheck-paste-continuous-disabled.html
- editing/spelling/spellcheck-paste-disabled.html
editing/spelling/spelling-insert-html.html is removed because the
behavior tested no longer exists with unified text checker.
BUG=633509
Committed: https://crrev.com/3ada60188def7bc2db291738441ede9262426eaf
Cr-Commit-Position: refs/heads/master@{#411025}
Patch Set 1 #Patch Set 2 : Fix more test cases #Patch Set 3 : Rebased #Patch Set 4 : Rebased #Patch Set 5 : Rebased #
Total comments: 5
Patch Set 6 : Use single quotes in layout test files #Patch Set 7 : Only change layout tests for spell checker #Patch Set 8 : add setUnifiedTextCheckerEnabled(true) in util.js #Dependent Patchsets: Messages
Total messages: 45 (36 generated)
|