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

Issue 2591023003: Minor fixes to spellcheck_test (Closed)

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

Description

Minor fixes to spellcheck_test This patch fixes some minor issues in spellcheck_test: 1. For each spellcheck_test, the creation of its |Test| object is advanced to prevent testharness from terminating too early. 2. Even if a test fails, its sample is still removed as long as we are running tests, so that its sample does not affect visibility of other tests. This reduces flakiness with idle time spell checker tests because it relies on visibility. 3. When a test finishes, |spellcheckTestRunning| is set back to |false| after the test's callback is run. This prevents two tests from running in parallel. This patch is also a preparation for crrev.com/2590823006. BUG=674819 Committed: https://crrev.com/2637c3534065de0f8271f185272543211d690113 Cr-Commit-Position: refs/heads/master@{#440049}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+25 lines, -14 lines) Patch
M third_party/WebKit/LayoutTests/editing/spelling/spellcheck_test.js View 3 chunks +25 lines, -14 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 13 (8 generated)
Xiaocheng
PTAL.
4 years ago (2016-12-21 07:30:25 UTC) #4
tkent
lgtm
4 years ago (2016-12-21 07:33:29 UTC) #5
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/2591023003/1
4 years ago (2016-12-21 07:59:19 UTC) #8
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years ago (2016-12-21 08:07:14 UTC) #11
commit-bot: I haz the power
4 years ago (2016-12-21 08:11:07 UTC) #13
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/2637c3534065de0f8271f185272543211d690113
Cr-Commit-Position: refs/heads/master@{#440049}

Powered by Google App Engine
This is Rietveld 408576698