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

Issue 2445323005: Allow spellcheck_test to run custom callback at completion (Closed)

Created:
4 years, 1 month ago by Xiaocheng
Modified:
4 years, 1 month ago
Reviewers:
yosin_UTC9
CC:
blink-reviews, chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Allow spellcheck_test to run custom callback at completion This patch allows spellcheck_test to take a callback argument, so that we can perform certain actions (in most cases, a depending test) after one test successfully finishes. This patch is a preparation to convert more complicated spellchecking layout tests, e.g., delete-misspelled-word.html BUG=517298 Committed: https://crrev.com/634bf88f3eb252bde4418e119ecc660bf08d2296 Cr-Commit-Position: refs/heads/master@{#427644}

Patch Set 1 #

Patch Set 2 : Change documentation accordingly #

Total comments: 6

Patch Set 3 : Wed Oct 26 16:59:50 JST 2016 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+87 lines, -22 lines) Patch
M third_party/WebKit/LayoutTests/editing/spelling/spellcheck_test.html View 1 2 1 chunk +19 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/editing/spelling/spellcheck_test.js View 1 2 6 chunks +68 lines, -22 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 13 (7 generated)
Xiaocheng
PTAL. Unfortunately spellcheck_test has to be more complicated...
4 years, 1 month ago (2016-10-26 07:24:53 UTC) #5
yosin_UTC9
lgtm I hope no tests use multiple callbacks. ;-) https://codereview.chromium.org/2445323005/diff/20001/third_party/WebKit/LayoutTests/editing/spelling/spellcheck_test.html File third_party/WebKit/LayoutTests/editing/spelling/spellcheck_test.html (right): https://codereview.chromium.org/2445323005/diff/20001/third_party/WebKit/LayoutTests/editing/spelling/spellcheck_test.html#newcode56 third_party/WebKit/LayoutTests/editing/spelling/spellcheck_test.html:56: ...
4 years, 1 month ago (2016-10-26 07:50:20 UTC) #6
Xiaocheng
One callback already allows us to do everything. Committing after following the suggestions. https://codereview.chromium.org/2445323005/diff/20001/third_party/WebKit/LayoutTests/editing/spelling/spellcheck_test.html File ...
4 years, 1 month ago (2016-10-26 08:01:17 UTC) #8
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/2445323005/40001
4 years, 1 month ago (2016-10-26 08:01:48 UTC) #10
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 1 month ago (2016-10-26 08:59:54 UTC) #11
commit-bot: I haz the power
4 years, 1 month ago (2016-10-26 09:02:51 UTC) #13
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/634bf88f3eb252bde4418e119ecc660bf08d2296
Cr-Commit-Position: refs/heads/master@{#427644}

Powered by Google App Engine
This is Rietveld 408576698