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

Issue 1722613002: PlzNavigate: make SitePerProcessBrowserTest.NavigateRemoteAfterError work (Closed)

Created:
4 years, 10 months ago by clamy
Modified:
4 years, 10 months ago
Reviewers:
nasko
CC:
chromium-reviews, darin-cc_chromium.org, jam
Base URL:
https://chromium.googlesource.com/chromium/src.git@navigation-policy
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

PlzNavigate: make SitePerProcessBrowserTest.NavigateRemoteAfterError work This CL fixes an issue with SitePerProcessBrowserTest.NavigateRemoteAfterError that was preventing it from passing with PlzNavigate enabled. The test was mixing TestNavigationObservers with TestFrameNavigationObservers, which resulted in calling NavigateIframeToURL while the frame was still considered as loading when PlzNavigate is enabled. Hence WebContents was never notifying its observer that it started loading due to the new navigation. When the navigation would stop, TestNavigationObserver would discard the stop since it considered thta the navigation never started. Now the test waits until the navigation has stopped in the whole tree before calling NavigateIframeToURL. BUG=475027 Committed: https://crrev.com/7531fd26bbaa1ed8a4041d8fb15983463eeab70e Cr-Commit-Position: refs/heads/master@{#377873}

Patch Set 1 #

Patch Set 2 : #

Total comments: 4

Patch Set 3 : Rebase + addressed comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+33 lines, -24 lines) Patch
M content/browser/site_per_process_browsertest.cc View 1 2 1 chunk +33 lines, -23 lines 0 comments Download
M testing/buildbot/filters/browser-side-navigation.linux.content_browsertests.filter View 1 2 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 12 (6 generated)
clamy
@nasko: PTAL.
4 years, 10 months ago (2016-02-22 16:41:32 UTC) #3
nasko
LGTM with a nit. https://codereview.chromium.org/1722613002/diff/20001/content/browser/site_per_process_browsertest.cc File content/browser/site_per_process_browsertest.cc (right): https://codereview.chromium.org/1722613002/diff/20001/content/browser/site_per_process_browsertest.cc#newcode1345 content/browser/site_per_process_browsertest.cc:1345: nit: No need for two ...
4 years, 10 months ago (2016-02-25 19:58:41 UTC) #4
clamy
Thanks! https://codereview.chromium.org/1722613002/diff/20001/content/browser/site_per_process_browsertest.cc File content/browser/site_per_process_browsertest.cc (right): https://codereview.chromium.org/1722613002/diff/20001/content/browser/site_per_process_browsertest.cc#newcode1345 content/browser/site_per_process_browsertest.cc:1345: On 2016/02/25 19:58:40, nasko wrote: > nit: No ...
4 years, 10 months ago (2016-02-26 11:04:17 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1722613002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1722613002/40001
4 years, 10 months ago (2016-02-26 11:04:34 UTC) #8
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 10 months ago (2016-02-26 12:37:22 UTC) #10
commit-bot: I haz the power
4 years, 10 months ago (2016-02-26 12:38:43 UTC) #12
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/7531fd26bbaa1ed8a4041d8fb15983463eeab70e
Cr-Commit-Position: refs/heads/master@{#377873}

Powered by Google App Engine
This is Rietveld 408576698