Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(23)

Issue 2224103003: Convert some spell-checking layout tests to use unified text checker (Closed)

Created:
4 years, 4 months ago by Xiaocheng
Modified:
4 years, 4 months ago
Reviewers:
yosin_UTC9
CC:
blink-reviews, chromium-reviews, darin-cc_chromium.org, jam
Base URL:
https://chromium.googlesource.com/chromium/src.git@SpellCheckerDebugInfo
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Convert 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 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+154 lines, -197 lines) Patch
M third_party/WebKit/LayoutTests/editing/spelling/delete-misspelled-word.html View 1 2 3 4 5 1 chunk +25 lines, -22 lines 0 comments Download
D third_party/WebKit/LayoutTests/editing/spelling/delete-misspelled-word-expected.txt View 1 chunk +0 lines, -14 lines 0 comments Download
M third_party/WebKit/LayoutTests/editing/spelling/focusing-other-frame.html View 1 chunk +27 lines, -23 lines 0 comments Download
D third_party/WebKit/LayoutTests/editing/spelling/focusing-other-frame-expected.txt View 1 chunk +0 lines, -11 lines 0 comments Download
M third_party/WebKit/LayoutTests/editing/spelling/resources/util.js View 1 2 3 4 5 6 7 1 chunk +29 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/editing/spelling/spellcheck-paste-continuous-disabled.html View 1 2 3 4 5 1 chunk +35 lines, -25 lines 0 comments Download
D third_party/WebKit/LayoutTests/editing/spelling/spellcheck-paste-continuous-disabled-expected.txt View 1 chunk +0 lines, -11 lines 0 comments Download
M third_party/WebKit/LayoutTests/editing/spelling/spellcheck-paste-disabled.html View 1 2 3 4 5 1 chunk +38 lines, -27 lines 0 comments Download
D third_party/WebKit/LayoutTests/editing/spelling/spellcheck-paste-disabled-expected.txt View 1 chunk +0 lines, -13 lines 0 comments Download
D third_party/WebKit/LayoutTests/editing/spelling/spelling-insert-html.html View 1 chunk +0 lines, -41 lines 0 comments Download
D third_party/WebKit/LayoutTests/editing/spelling/spelling-insert-html-expected.txt View 1 chunk +0 lines, -10 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 45 (36 generated)
Xiaocheng
PTAL.
4 years, 4 months ago (2016-08-10 06:08:45 UTC) #25
Xiaocheng
+yosin@ for the changed layout tests
4 years, 4 months ago (2016-08-10 06:09:59 UTC) #27
yosin_UTC9
lgtm Grate rewriting to use w3c test harness! https://codereview.chromium.org/2224103003/diff/80001/third_party/WebKit/LayoutTests/editing/spelling/delete-misspelled-word.html File third_party/WebKit/LayoutTests/editing/spelling/delete-misspelled-word.html (right): https://codereview.chromium.org/2224103003/diff/80001/third_party/WebKit/LayoutTests/editing/spelling/delete-misspelled-word.html#newcode4 third_party/WebKit/LayoutTests/editing/spelling/delete-misspelled-word.html:4: <script ...
4 years, 4 months ago (2016-08-10 07:49:45 UTC) #30
Xiaocheng
https://codereview.chromium.org/2224103003/diff/80001/third_party/WebKit/LayoutTests/editing/spelling/delete-misspelled-word.html File third_party/WebKit/LayoutTests/editing/spelling/delete-misspelled-word.html (right): https://codereview.chromium.org/2224103003/diff/80001/third_party/WebKit/LayoutTests/editing/spelling/delete-misspelled-word.html#newcode22 third_party/WebKit/LayoutTests/editing/spelling/delete-misspelled-word.html:22: testRunner.execCommand("DeleteBackward"); On 2016/08/10 at 07:49:44, Yosi_UTC9 wrote: > nit: ...
4 years, 4 months ago (2016-08-10 08:06:33 UTC) #31
Xiaocheng
-nick,tkent from reviewers I'm changing my split. In this CL I'll convert all spell-checking layout ...
4 years, 4 months ago (2016-08-10 09:31:42 UTC) #35
Xiaocheng
I'm committing this patch directly since everything in this patch has been l-g-t-m-ed. Other layout ...
4 years, 4 months ago (2016-08-10 09:43:29 UTC) #40
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2224103003/140001
4 years, 4 months ago (2016-08-10 09:43:46 UTC) #42
commit-bot: I haz the power
Committed patchset #8 (id:140001)
4 years, 4 months ago (2016-08-10 11:55:43 UTC) #43
commit-bot: I haz the power
4 years, 4 months ago (2016-08-10 11:57:24 UTC) #45
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/3ada60188def7bc2db291738441ede9262426eaf
Cr-Commit-Position: refs/heads/master@{#411025}

Powered by Google App Engine
This is Rietveld 408576698