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

Issue 1270843002: PlzNavigate: disable RenderFrameHostManagerTest::PageDoesBackAndReload.

Created:
5 years, 4 months ago by carlosk
Modified:
5 years, 1 month ago
Reviewers:
Charlie Reis
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

PlzNavigate: disable RenderFrameHostManagerTest::PageDoesBackAndReload. PlzNavigate has a very different way of carrying out renderer initiated navigations and of dealing with navigation cancellation. So this change disables RenderFrameHostManagerTest::PageDoesBackAndReload because adapting it to work with the two implementations would make it full of special cases. There are other tests (listed in a comment in the change itself) that exercise the equivalent logic in PlzNavigate. BUG=439423 Committed: https://crrev.com/a224ea2413228bd7a781309959bfdccb26282573 Cr-Commit-Position: refs/heads/master@{#341581}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Comment change. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -0 lines) Patch
M content/browser/frame_host/render_frame_host_manager_unittest.cc View 1 1 chunk +15 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (5 generated)
carlosk
creis@: PTAL clamy@, fdegans@, nasko@: FYI
5 years, 4 months ago (2015-08-03 11:03:41 UTC) #2
Charlie Reis
LGTM with nits. Glad we have that covered in other tests. https://codereview.chromium.org/1270843002/diff/1/content/browser/frame_host/render_frame_host_manager_unittest.cc File content/browser/frame_host/render_frame_host_manager_unittest.cc (right): ...
5 years, 4 months ago (2015-08-03 17:59:42 UTC) #3
carlosk
Thanks. https://codereview.chromium.org/1270843002/diff/1/content/browser/frame_host/render_frame_host_manager_unittest.cc File content/browser/frame_host/render_frame_host_manager_unittest.cc (right): https://codereview.chromium.org/1270843002/diff/1/content/browser/frame_host/render_frame_host_manager_unittest.cc#newcode1221 content/browser/frame_host/render_frame_host_manager_unittest.cc:1221: // PlzNavigate follows a significantly different logic for ...
5 years, 4 months ago (2015-08-03 18:45:00 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1270843002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1270843002/20001
5 years, 4 months ago (2015-08-03 18:47:27 UTC) #7
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 4 months ago (2015-08-03 19:26:20 UTC) #8
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/a224ea2413228bd7a781309959bfdccb26282573 Cr-Commit-Position: refs/heads/master@{#341581}
5 years, 4 months ago (2015-08-03 19:26:32 UTC) #9
carlosk
5 years, 4 months ago (2015-08-04 15:52:23 UTC) #10
Message was sent while issue was closed.
While working on crrev.com/1259623003 I revisited this test and I think there
are in fact a couple of issues with PlzNavigate that this might be touching. One
is that those equivalent tests I mentioned are not simulating receiving renderer
commit messages from previously cancelled navigations.

The second is in regards on how PlzNavigate handles the "history back"
navigation from this test. If I understood correctly it is supposedly triggered
by the renderer without any user input, is that right? If that's the case what
is wrong is that it is not being considered renderer-initiated,
non-user-initiated. Instead it is being handled through the same code path as
browser-initiated navigations are, giving it a higher priority in regards to
cancelling other navigations or being cancelled itself.

I'll do some more investigation on this and see how to handle these issues.

Powered by Google App Engine
This is Rietveld 408576698