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

Issue 1863573003: PlzNavigate: make all ResourceDispatcherHostTests pass (Closed)

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

Description

PlzNavigate: make all ResourceDispatcherHostTests pass This CL rewrites 4 ResourceDispatcherHostTests so that they properly test events when browser side navigation is enabled. The way they are written right now corresponds to the current navigation architecture, and does not correctly simulates navigation events when PlzNavigate is enabled. BUG=439423 Committed: https://crrev.com/9fb38cde5f792e54eee8e32625520f989f20ff2a Cr-Commit-Position: refs/heads/master@{#386376}

Patch Set 1 #

Total comments: 26

Patch Set 2 : Rebase #

Patch Set 3 : Addressed mmenke's comments #

Total comments: 4

Patch Set 4 : Rebase + addressed nit #

Unified diffs Side-by-side diffs Delta from patch set Stats (+305 lines, -160 lines) Patch
M content/browser/loader/navigation_url_loader_unittest.cc View 1 2 3 3 chunks +1 line, -79 lines 0 comments Download
M content/browser/loader/resource_dispatcher_host_unittest.cc View 1 2 3 12 chunks +143 lines, -73 lines 0 comments Download
M content/content_tests.gypi View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
A content/test/test_navigation_url_loader_delegate.h View 1 2 3 1 chunk +79 lines, -0 lines 0 comments Download
A content/test/test_navigation_url_loader_delegate.cc View 1 2 1 chunk +80 lines, -0 lines 0 comments Download
M testing/buildbot/filters/browser-side-navigation.linux.content_unittests.filter View 1 chunk +0 lines, -8 lines 0 comments Download

Messages

Total messages: 19 (8 generated)
clamy
@mmenke: PTAL
4 years, 8 months ago (2016-04-05 14:11:07 UTC) #3
carlosk
Thanks. Just a couple of minor things. https://codereview.chromium.org/1863573003/diff/1/content/browser/loader/resource_dispatcher_host_unittest.cc File content/browser/loader/resource_dispatcher_host_unittest.cc (right): https://codereview.chromium.org/1863573003/diff/1/content/browser/loader/resource_dispatcher_host_unittest.cc#newcode1148 content/browser/loader/resource_dispatcher_host_unittest.cc:1148: // The ...
4 years, 8 months ago (2016-04-05 15:28:46 UTC) #5
mmenke
Disclaimer: I'm unfamiliar with navigation_url_loader_unittest, so this may take me a while to do through. ...
4 years, 8 months ago (2016-04-05 19:40:04 UTC) #6
mmenke
Sorry for slowness - been deluged with reviews and docs to comment on this week. ...
4 years, 8 months ago (2016-04-07 21:42:59 UTC) #7
mmenke
loader/ LGTM. Do not have enough knowledge (Or time) to review the test_navigation_url_loader_delegate for correctness. ...
4 years, 8 months ago (2016-04-08 15:19:13 UTC) #8
clamy
Thanks! @nasko: PTAL at the changes in content/test. I'm pulling code out of navigation_url_loader_unittests.cc to ...
4 years, 8 months ago (2016-04-08 16:03:18 UTC) #10
nasko
content/test/test_navigation_url_loader_delegate* LGTM with a couple of nits. https://codereview.chromium.org/1863573003/diff/40001/content/test/test_navigation_url_loader_delegate.cc File content/test/test_navigation_url_loader_delegate.cc (right): https://codereview.chromium.org/1863573003/diff/40001/content/test/test_navigation_url_loader_delegate.cc#newcode68 content/test/test_navigation_url_loader_delegate.cc:68: if (request_failed_) ...
4 years, 8 months ago (2016-04-08 17:13:05 UTC) #11
clamy
Thanks! https://codereview.chromium.org/1863573003/diff/40001/content/test/test_navigation_url_loader_delegate.cc File content/test/test_navigation_url_loader_delegate.cc (right): https://codereview.chromium.org/1863573003/diff/40001/content/test/test_navigation_url_loader_delegate.cc#newcode68 content/test/test_navigation_url_loader_delegate.cc:68: if (request_failed_) On 2016/04/08 17:13:05, nasko (very slow ...
4 years, 8 months ago (2016-04-11 11:47:38 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1863573003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1863573003/60001
4 years, 8 months ago (2016-04-11 11:47:57 UTC) #15
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 8 months ago (2016-04-11 12:57:57 UTC) #17
commit-bot: I haz the power
4 years, 8 months ago (2016-04-11 13:00:45 UTC) #19
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/9fb38cde5f792e54eee8e32625520f989f20ff2a
Cr-Commit-Position: refs/heads/master@{#386376}

Powered by Google App Engine
This is Rietveld 408576698