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

Issue 2553993003: PlzNavigate: fix flaky TabManagerTest.TabManagerBasics browser test. (Closed)

Created:
4 years ago by yzshen1
Modified:
4 years ago
Reviewers:
Georges Khalil, jam, nasko
CC:
chromium-reviews, nasko+codewatch_chromium.org, darin-cc_chromium.org, creis+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

PlzNavigate: fix flaky TabManagerTest.TabManagerBasics browser test. There were two issues: - After we swapped render views and before the old one was destroyed, WebUI IPC messages from the old render view would be incorrectly routed to the new one. - The test itself was racy. In some places it waited for any navigation commit notification but there could be multiple ongoing navigations at that point. BUG=None Committed: https://crrev.com/db7c3b163a71b7aa4ac3e41bba9e6a87e2ed5e5c Cr-Commit-Position: refs/heads/master@{#437327}

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+23 lines, -7 lines) Patch
M chrome/browser/memory/tab_manager_browsertest.cc View 5 chunks +14 lines, -4 lines 0 comments Download
M content/browser/web_contents/web_contents_impl.cc View 1 chunk +9 lines, -3 lines 2 comments Download

Messages

Total messages: 27 (15 generated)
yzshen1
Hi, Nasko and George. Would you please take a look? Thanks!
4 years ago (2016-12-06 23:47:26 UTC) #4
Georges Khalil
chrome/browser/memory/tab_manager_browsertest.cc LGTM
4 years ago (2016-12-07 21:03:17 UTC) #7
jam
My bad, I didn't notice that Yuzhu was looking at this test failure and I ...
4 years ago (2016-12-08 16:07:09 UTC) #12
yzshen1
On 2016/12/08 16:07:09, jam wrote: > My bad, I didn't notice that Yuzhu was looking ...
4 years ago (2016-12-08 17:35:37 UTC) #13
jam
lgtm https://codereview.chromium.org/2553993003/diff/1/content/browser/web_contents/web_contents_impl.cc File content/browser/web_contents/web_contents_impl.cc (right): https://codereview.chromium.org/2553993003/diff/1/content/browser/web_contents/web_contents_impl.cc#newcode680 content/browser/web_contents/web_contents_impl.cc:680: if (main_frame) { nit: are you sure you ...
4 years ago (2016-12-08 17:43:53 UTC) #15
yzshen1
https://codereview.chromium.org/2553993003/diff/1/content/browser/web_contents/web_contents_impl.cc File content/browser/web_contents/web_contents_impl.cc (right): https://codereview.chromium.org/2553993003/diff/1/content/browser/web_contents/web_contents_impl.cc#newcode680 content/browser/web_contents/web_contents_impl.cc:680: if (main_frame) { On 2016/12/08 17:43:53, jam wrote: > ...
4 years ago (2016-12-08 17:46:20 UTC) #16
Georges Khalil
This implementation works for me and I've already LGTMed it, so let's go with this ...
4 years ago (2016-12-08 17:55:21 UTC) #17
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/2553993003/1
4 years ago (2016-12-08 17:58:40 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: android_n5x_swarming_rel on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_n5x_swarming_rel/builds/82551)
4 years ago (2016-12-08 19:54:41 UTC) #21
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/2553993003/1
4 years ago (2016-12-08 20:02:32 UTC) #23
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years ago (2016-12-08 20:41:08 UTC) #25
commit-bot: I haz the power
4 years ago (2016-12-08 20:44:57 UTC) #27
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/db7c3b163a71b7aa4ac3e41bba9e6a87e2ed5e5c
Cr-Commit-Position: refs/heads/master@{#437327}

Powered by Google App Engine
This is Rietveld 408576698