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

Issue 1220813003: Fix flakiness and re-enable FormAutocompleteTest (Closed)

Created:
5 years, 5 months ago by kouhei (in TOK)
Modified:
5 years, 5 months ago
CC:
chromium-reviews, estade+watch_chromium.org, rouslan+autofillwatch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix flakiness and re-enable FormAutocompleteTest This CL re-enables FormAutocompleteTest. Before this CL, FormAutocompleteTest was flaky. ChromeRenderViewTest::TearDown() shutdowns ExtensionDispatcher, however tasks from HTMLParserThread could be scheduled in renderer main thread after the shutdown, resulting in nullptr dereference. This CL prevents it by adding null checks before calling ContentWatcher callbacks. BUG=500851 Committed: https://crrev.com/cd3c684caac071b63ac11a84fbb77115aeb88573 Cr-Commit-Position: refs/heads/master@{#337976}

Patch Set 1 #

Patch Set 2 : check null #

Total comments: 4

Patch Set 3 : add comments #

Total comments: 1

Patch Set 4 : remove "Flaky" comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -9 lines) Patch
M chrome/renderer/autofill/form_autocomplete_browsertest.cc View 1 2 3 4 chunks +4 lines, -8 lines 0 comments Download
M extensions/renderer/dispatcher.cc View 1 2 1 chunk +6 lines, -1 line 0 comments Download

Messages

Total messages: 19 (5 generated)
kouhei (in TOK)
Would you take a look?
5 years, 5 months ago (2015-06-30 05:18:13 UTC) #2
kouhei (in TOK)
kalman: Would you take a look?
5 years, 5 months ago (2015-07-05 10:19:54 UTC) #4
not at google - send to devlin
https://codereview.chromium.org/1220813003/diff/20001/extensions/renderer/dispatcher.cc File extensions/renderer/dispatcher.cc (right): https://codereview.chromium.org/1220813003/diff/20001/extensions/renderer/dispatcher.cc#newcode364 extensions/renderer/dispatcher.cc:364: if (content_watcher_) { Comment here and below, // This ...
5 years, 5 months ago (2015-07-06 16:32:46 UTC) #5
kouhei (in TOK)
https://codereview.chromium.org/1220813003/diff/20001/extensions/renderer/dispatcher.cc File extensions/renderer/dispatcher.cc (right): https://codereview.chromium.org/1220813003/diff/20001/extensions/renderer/dispatcher.cc#newcode364 extensions/renderer/dispatcher.cc:364: if (content_watcher_) { On 2015/07/06 16:32:46, kalman wrote: > ...
5 years, 5 months ago (2015-07-07 00:00:29 UTC) #6
not at google - send to devlin
https://codereview.chromium.org/1220813003/diff/20001/extensions/renderer/dispatcher.cc File extensions/renderer/dispatcher.cc (right): https://codereview.chromium.org/1220813003/diff/20001/extensions/renderer/dispatcher.cc#newcode364 extensions/renderer/dispatcher.cc:364: if (content_watcher_) { Alright, let's go with what you ...
5 years, 5 months ago (2015-07-07 19:55:51 UTC) #7
kouhei (in TOK)
kalman: PTAL. thakis: Would you OWNER review changes in chrome/? Basically this is just re-enabling ...
5 years, 5 months ago (2015-07-08 09:23:32 UTC) #8
not at google - send to devlin
lgtm
5 years, 5 months ago (2015-07-08 19:35:32 UTC) #9
kouhei (in TOK)
Thanks! thakis: Would you OWNER review changes in chrome/? Basically this is just re-enabling of ...
5 years, 5 months ago (2015-07-09 01:25:40 UTC) #11
Nico
https://codereview.chromium.org/1220813003/diff/40001/chrome/renderer/autofill/form_autocomplete_browsertest.cc File chrome/renderer/autofill/form_autocomplete_browsertest.cc (right): https://codereview.chromium.org/1220813003/diff/40001/chrome/renderer/autofill/form_autocomplete_browsertest.cc#newcode71 chrome/renderer/autofill/form_autocomplete_browsertest.cc:71: // Flaky: http://crbug.com/500851. Remove this comment? Also below.
5 years, 5 months ago (2015-07-09 01:27:03 UTC) #12
kouhei (in TOK)
On 2015/07/09 01:27:03, Nico wrote: > https://codereview.chromium.org/1220813003/diff/40001/chrome/renderer/autofill/form_autocomplete_browsertest.cc > File chrome/renderer/autofill/form_autocomplete_browsertest.cc (right): > > https://codereview.chromium.org/1220813003/diff/40001/chrome/renderer/autofill/form_autocomplete_browsertest.cc#newcode71 > ...
5 years, 5 months ago (2015-07-09 01:28:48 UTC) #13
Nico
lgtm
5 years, 5 months ago (2015-07-09 01:31:05 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1220813003/60001
5 years, 5 months ago (2015-07-09 01:33:44 UTC) #17
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years, 5 months ago (2015-07-09 03:08:54 UTC) #18
commit-bot: I haz the power
5 years, 5 months ago (2015-07-09 03:10:37 UTC) #19
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/cd3c684caac071b63ac11a84fbb77115aeb88573
Cr-Commit-Position: refs/heads/master@{#337976}

Powered by Google App Engine
This is Rietveld 408576698