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

Issue 1715203002: Stop async spellchecker before running the leak detector. (Closed)

Created:
4 years, 10 months ago by sof
Modified:
4 years, 10 months ago
CC:
blink-reviews, blink-reviews-api_chromium.org, chromium-reviews, darin-cc_chromium.org, dglazkov+blink, groby+blinkspell_chromium.org, jam, jochen+watch_chromium.org, mkwst+moarreviews-shell_chromium.org, mlamouri+watch-content_chromium.org, mlamouri+watch-test-runner_chromium.org, Peter Beverloo
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Stop async spellchecker before running the leak detector. Should a test finish up before all the spellcheck requests that it (inadvertently?) generates have been asynchronously processed and completed, it risks beomg reported as leaking. These requests have no bearing on the correctness of the test (if they did, the test would have to arrange to wait on their outcomes), and can safely be cancelled before leak detection goes ahead. Along with stopping the async spellchecker, this avoids unnecessary flakiness from tests that involve spellchecking. R= BUG=587424 Committed: https://crrev.com/b25827c77b343f26adde09f027372c50b3e2f6b5 Cr-Commit-Position: refs/heads/master@{#376816}

Patch Set 1 #

Patch Set 2 : comment wording #

Patch Set 3 : retire inflight spellcheck cancellation, not needed. #

Patch Set 4 : clarifying comment #

Patch Set 5 : rebase + parameterize WebLeakDetector over WebFrames instead #

Unified diffs Side-by-side diffs Delta from patch set Stats (+57 lines, -12 lines) Patch
M content/public/test/render_view_test.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M content/shell/renderer/layout_test/blink_test_runner.cc View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
M content/shell/renderer/layout_test/leak_detector.h View 1 2 3 4 2 chunks +3 lines, -2 lines 0 comments Download
M content/shell/renderer/layout_test/leak_detector.cc View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/editing/spellcheck/SpellCheckRequester.h View 1 chunk +4 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/editing/spellcheck/SpellCheckRequester.cpp View 1 2 3 1 chunk +13 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/editing/spellcheck/SpellChecker.h View 1 chunk +8 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/editing/spellcheck/SpellChecker.cpp View 1 chunk +5 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/web/WebLeakDetector.cpp View 1 2 3 4 5 chunks +16 lines, -3 lines 0 comments Download
M third_party/WebKit/public/web/WebLeakDetector.h View 1 2 3 4 2 chunks +3 lines, -2 lines 0 comments Download

Messages

Total messages: 25 (13 generated)
sof
please take a look. Addressing leak flakiness wrt spellchecking at the level of individual tests ...
4 years, 10 months ago (2016-02-21 14:09:07 UTC) #5
tkent
lgtm
4 years, 10 months ago (2016-02-22 01:15:54 UTC) #6
sof
jochen@: (brief) content/ owner review when you have a moment? tia.
4 years, 10 months ago (2016-02-22 06:31:03 UTC) #8
jochen (gone - plz use gerrit)
lgtm
4 years, 10 months ago (2016-02-22 14:11:55 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1715203002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1715203002/60001
4 years, 10 months ago (2016-02-22 14:15:16 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/184615)
4 years, 10 months ago (2016-02-22 16:18:09 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1715203002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1715203002/60001
4 years, 10 months ago (2016-02-22 16:25:16 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/184677)
4 years, 10 months ago (2016-02-22 18:28:57 UTC) #17
sof
ps#5 takes r366698 into account and allows the leak detector to work over remote and ...
4 years, 10 months ago (2016-02-22 20:47:14 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1715203002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1715203002/80001
4 years, 10 months ago (2016-02-22 20:48:09 UTC) #21
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 10 months ago (2016-02-22 21:49:23 UTC) #23
commit-bot: I haz the power
4 years, 10 months ago (2016-02-22 21:50:29 UTC) #25
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/b25827c77b343f26adde09f027372c50b3e2f6b5
Cr-Commit-Position: refs/heads/master@{#376816}

Powered by Google App Engine
This is Rietveld 408576698