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

Issue 953503002: PlzNavigate: test updates post beforeUnload IPC refactor. (Closed)

Created:
5 years, 10 months ago by carlosk
Modified:
5 years, 9 months ago
CC:
chromium-reviews, darin-cc_chromium.org, nasko+codewatch_chromium.org, jam, creis+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

PlzNavigate: test updates post beforeUnload IPC refactor. This CL adapts several test classes with changes due now that the IPCS for beforeUnload ack and renderer navigation requests are not one and the same anymore. BUG=440266 Committed: https://crrev.com/d6a4ef36ace903fd35bbe2e6ef2f87f690fb2bc9 Cr-Commit-Position: refs/heads/master@{#319049}

Patch Set 1 #

Total comments: 13

Patch Set 2 : Move some methods around. #

Total comments: 10

Patch Set 3 : Rebase #

Patch Set 4 : Minor changes from CR comments. #

Total comments: 9

Patch Set 5 : Minor changes from last round of comments. #

Total comments: 13

Patch Set 6 : Comment changes. #

Total comments: 3

Patch Set 7 : Addressed CR comments. #

Total comments: 1

Patch Set 8 : Rebase with small adaptation to support data URLs. #

Total comments: 2

Patch Set 9 : Reverted RFHM logic for new SiteInstance creation (moved to another CL). #

Patch Set 10 : Minor comment fix. #

Total comments: 2

Patch Set 11 : Minor comment updates. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+241 lines, -195 lines) Patch
M content/browser/frame_host/navigation_controller_impl_unittest.cc View 1 2 3 4 5 6 64 chunks +102 lines, -85 lines 0 comments Download
M content/browser/frame_host/navigator_impl_unittest.cc View 1 2 3 4 5 6 7 13 chunks +14 lines, -27 lines 0 comments Download
M content/browser/frame_host/render_frame_host_manager_unittest.cc View 17 chunks +17 lines, -17 lines 0 comments Download
M content/browser/web_contents/web_contents_impl_unittest.cc View 1 2 3 4 5 6 35 chunks +41 lines, -36 lines 0 comments Download
M content/test/test_navigation_url_loader.h View 1 chunk +2 lines, -0 lines 0 comments Download
M content/test/test_navigation_url_loader.cc View 2 chunks +12 lines, -0 lines 0 comments Download
M content/test/test_render_frame_host.h View 1 2 3 4 5 6 2 chunks +12 lines, -2 lines 0 comments Download
M content/test/test_render_frame_host.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +40 lines, -27 lines 0 comments Download
M content/test/test_web_contents.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 33 (8 generated)
carlosk
clamy@: PTAL. fdegans@: FYI. This is a split off of http://crrev.com/946543003 that contains only the ...
5 years, 10 months ago (2015-02-23 16:42:03 UTC) #3
clamy
Thanks! A few comments + suggestion. https://codereview.chromium.org/953503002/diff/1/content/browser/frame_host/navigation_controller_impl_unittest.cc File content/browser/frame_host/navigation_controller_impl_unittest.cc (right): https://codereview.chromium.org/953503002/diff/1/content/browser/frame_host/navigation_controller_impl_unittest.cc#newcode250 content/browser/frame_host/navigation_controller_impl_unittest.cc:250: void SimulateServerRedirect(TestRenderFrameHost* test_rfh, ...
5 years, 10 months ago (2015-02-24 13:05:34 UTC) #4
carlosk
Thanks. Beyond what's in the comments I also merged TestRenderFrameHost::SendRendererInitiatedNavigationRequest with TRFH::SendBeginNavigationWithURL as they were ...
5 years, 10 months ago (2015-02-24 16:38:56 UTC) #6
clamy
Thanks! It's nearly good. Also don't forget to fix the compilation error. https://codereview.chromium.org/953503002/diff/1/content/test/test_render_frame_host.h File content/test/test_render_frame_host.h ...
5 years, 10 months ago (2015-02-25 14:29:49 UTC) #7
carlosk
Thanks. https://codereview.chromium.org/953503002/diff/1/content/test/test_render_frame_host.h File content/test/test_render_frame_host.h (right): https://codereview.chromium.org/953503002/diff/1/content/test/test_render_frame_host.h#newcode89 content/test/test_render_frame_host.h:89: // PlzNavigate On 2015/02/25 14:29:49, clamy wrote: > ...
5 years, 10 months ago (2015-02-25 16:08:00 UTC) #8
clamy
Thanks! After further thinking I believe the url in the interstitial test should not be ...
5 years, 10 months ago (2015-02-25 17:10:34 UTC) #9
carlosk
Thanks for yet another round of comments! nasko@: PTAL. As this last round requested only ...
5 years, 10 months ago (2015-02-25 19:30:21 UTC) #12
nasko
A bunch of mostly minor comments. The main issue we need to address is where ...
5 years, 10 months ago (2015-02-26 01:27:42 UTC) #13
carlosk
Thanks. To more clearly introduce the situation here I copied below a (slightly corrected) comment ...
5 years, 10 months ago (2015-02-26 11:03:45 UTC) #14
carlosk
Little addition to a topic we'd like to have your feedback on nasko@. https://codereview.chromium.org/953503002/diff/80001/content/browser/frame_host/navigation_controller_impl_unittest.cc File ...
5 years, 10 months ago (2015-02-26 13:02:22 UTC) #15
clamy
Thanks! After seeing Nasko's comments, just one more on my part. https://codereview.chromium.org/953503002/diff/120001/content/test/test_render_frame_host.cc File content/test/test_render_frame_host.cc (right): ...
5 years, 10 months ago (2015-02-26 13:17:30 UTC) #16
carlosk
On 2015/02/26 13:17:30, clamy wrote: > Thanks! After seeing Nasko's comments, just one more on ...
5 years, 9 months ago (2015-02-27 18:08:00 UTC) #17
carlosk
As I mentioned before clamy@'s suggestion to remove that if-block from TestRenderFrameHost::PrepareForCommitWithServerRedirect caused four tests ...
5 years, 9 months ago (2015-03-02 16:35:46 UTC) #18
clamy
Thanks! Nice catch on the SiteInstance duplication problem. However I think it would be better ...
5 years, 9 months ago (2015-03-02 16:53:53 UTC) #19
carlosk
On 2015/03/02 16:53:53, clamy wrote: > Thanks! Nice catch on the SiteInstance duplication problem. However ...
5 years, 9 months ago (2015-03-02 18:38:18 UTC) #21
nasko
On 2015/03/02 18:38:18, carlosk wrote: > On 2015/03/02 16:53:53, clamy wrote: > > Thanks! Nice ...
5 years, 9 months ago (2015-03-02 23:36:53 UTC) #22
clamy
Thanks! Once you upload the patch set without the SiteInstance creation part it should be ...
5 years, 9 months ago (2015-03-03 12:47:23 UTC) #23
carlosk
On 2015/03/02 23:36:53, nasko wrote: > On 2015/03/02 18:38:18, carlosk wrote: > > On 2015/03/02 ...
5 years, 9 months ago (2015-03-03 12:48:45 UTC) #24
clamy
Lgtm once you fix the comment issue (see previous patch set).
5 years, 9 months ago (2015-03-03 12:52:44 UTC) #25
carlosk
Thanks. https://codereview.chromium.org/953503002/diff/180001/content/test/test_render_frame_host.cc File content/test/test_render_frame_host.cc (right): https://codereview.chromium.org/953503002/diff/180001/content/test/test_render_frame_host.cc#newcode247 content/test/test_render_frame_host.cc:247: // If a network request is not needed ...
5 years, 9 months ago (2015-03-03 13:46:58 UTC) #26
nasko
LGTM with a note that we need follow up work. https://codereview.chromium.org/953503002/diff/220001/content/browser/frame_host/navigation_controller_impl_unittest.cc File content/browser/frame_host/navigation_controller_impl_unittest.cc (right): https://codereview.chromium.org/953503002/diff/220001/content/browser/frame_host/navigation_controller_impl_unittest.cc#newcode4433 ...
5 years, 9 months ago (2015-03-03 16:38:34 UTC) #27
carlosk
Thanks. https://codereview.chromium.org/953503002/diff/220001/content/browser/frame_host/navigation_controller_impl_unittest.cc File content/browser/frame_host/navigation_controller_impl_unittest.cc (right): https://codereview.chromium.org/953503002/diff/220001/content/browser/frame_host/navigation_controller_impl_unittest.cc#newcode4433 content/browser/frame_host/navigation_controller_impl_unittest.cc:4433: switches::kEnableBrowserSideNavigation)) { On 2015/03/03 16:38:34, nasko wrote: > ...
5 years, 9 months ago (2015-03-04 09:46:56 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/953503002/240001
5 years, 9 months ago (2015-03-04 09:55:34 UTC) #31
commit-bot: I haz the power
Committed patchset #11 (id:240001)
5 years, 9 months ago (2015-03-04 10:46:24 UTC) #32
commit-bot: I haz the power
5 years, 9 months ago (2015-03-04 10:47:05 UTC) #33
Message was sent while issue was closed.
Patchset 11 (id:??) landed as
https://crrev.com/d6a4ef36ace903fd35bbe2e6ef2f87f690fb2bc9
Cr-Commit-Position: refs/heads/master@{#319049}

Powered by Google App Engine
This is Rietveld 408576698