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

Issue 2590823006: Get rid of verify-with-timeout in 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

Get rid of verify-with-timeout in spellcheck_test For spell-checking layout tests, marker verification used to be setting a timeout and wait. This patch utilizes testRunner.setSpellCheckResolvedCallback, and if no new marker is expected (in which case there might be no request), testRunner.runIdleTasks, to reduce futile waiting. We expect to see spell-checking tests run faster after this patch. BUG=674819 Committed: https://crrev.com/d54cef0fcd7ce30563f7abcd07a80b0958d7e504 Cr-Commit-Position: refs/heads/master@{#440058}

Patch Set 1 #

Patch Set 2 : Separation of other fixes #

Total comments: 4

Patch Set 3 : Wed Dec 21 16:51:05 JST 2016 #

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

Depends on Patchset:

Messages

Total messages: 24 (17 generated)
Xiaocheng
PTAL.
4 years ago (2016-12-21 07:35:23 UTC) #9
tkent
lgtm > For spell-checking layout tests, ,marker verification used to be setting Remove ',' before ...
4 years ago (2016-12-21 07:42:55 UTC) #10
Xiaocheng
Thanks for the review! https://codereview.chromium.org/2590823006/diff/20001/third_party/WebKit/LayoutTests/editing/spelling/spellcheck_test.js File third_party/WebKit/LayoutTests/editing/spelling/spellcheck_test.js (right): https://codereview.chromium.org/2590823006/diff/20001/third_party/WebKit/LayoutTests/editing/spelling/spellcheck_test.js#newcode316 third_party/WebKit/LayoutTests/editing/spelling/spellcheck_test.js:316: /** @type {!Array<!Function>} Verification functions ...
4 years ago (2016-12-21 07:52:00 UTC) #13
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/2590823006/40001
4 years ago (2016-12-21 08:10:24 UTC) #18
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years ago (2016-12-21 08:59:53 UTC) #21
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/d54cef0fcd7ce30563f7abcd07a80b0958d7e504 Cr-Commit-Position: refs/heads/master@{#440058}
4 years ago (2016-12-21 09:02:24 UTC) #23
Xiaocheng
4 years ago (2016-12-21 10:22:59 UTC) #24
Message was sent while issue was closed.
A revert of this CL (patchset #3 id:40001) has been created in
https://codereview.chromium.org/2593933003/ by xiaochengh@chromium.org.

The reason for reverting is: Introducing flakiness to WebKit Linux Trusty Leak:

http://test-results.appspot.com/dashboards/flakiness_dashboard.html#testType=....

Powered by Google App Engine
This is Rietveld 408576698