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

Issue 1035983002: PlzNavigate: Send EnableViewSourceMode at commit time when reusing a RFH (Closed)

Created:
5 years, 9 months ago by clamy
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: Send EnableViewSourceMode at commit time when reusing a RFH This CL ensures that we properly send an EnableViewSourceMode IPC to the RnederView of a reused RenderFrameHost at commit time when the request is for a view source mode navigation. This is needed because on error a RenderView could exit the view source mode. This fixes the RenderFrameHostManagerTest.AlwaysSendEnableViewSourceMode test with PlzNavigate enabled. BUG=439423 Committed: https://crrev.com/cf932f0050766d998952f1e4f5c6f33567a61c2e Cr-Commit-Position: refs/heads/master@{#322561}

Patch Set 1 #

Patch Set 2 : #

Total comments: 4

Patch Set 3 : #

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

Messages

Total messages: 11 (3 generated)
clamy
@carlosk, nasko: PTAL @fdegans: FYI
5 years, 9 months ago (2015-03-26 16:13:48 UTC) #2
clamy
https://codereview.chromium.org/1035983002/diff/20001/content/browser/frame_host/navigator_impl.cc File content/browser/frame_host/navigator_impl.cc (right): https://codereview.chromium.org/1035983002/diff/20001/content/browser/frame_host/navigator_impl.cc#newcode702 content/browser/frame_host/navigator_impl.cc:702: // happen. When reusing the same renderer, overwrite to ...
5 years, 9 months ago (2015-03-26 16:15:13 UTC) #3
nasko
LGTM with a nit. https://codereview.chromium.org/1035983002/diff/20001/content/browser/frame_host/navigator_impl.cc File content/browser/frame_host/navigator_impl.cc (right): https://codereview.chromium.org/1035983002/diff/20001/content/browser/frame_host/navigator_impl.cc#newcode702 content/browser/frame_host/navigator_impl.cc:702: // happen. When reusing the ...
5 years, 9 months ago (2015-03-26 20:46:31 UTC) #4
carlosk
LGTM
5 years, 9 months ago (2015-03-27 10:13:45 UTC) #5
clamy
Thanks! https://codereview.chromium.org/1035983002/diff/20001/content/browser/frame_host/navigator_impl.cc File content/browser/frame_host/navigator_impl.cc (right): https://codereview.chromium.org/1035983002/diff/20001/content/browser/frame_host/navigator_impl.cc#newcode706 content/browser/frame_host/navigator_impl.cc:706: render_frame_host->render_view_host()->Send( On 2015/03/26 20:46:31, nasko wrote: > We ...
5 years, 9 months ago (2015-03-27 10:53:12 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1035983002/40001
5 years, 9 months ago (2015-03-27 10:53:33 UTC) #9
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 9 months ago (2015-03-27 12:21:30 UTC) #10
commit-bot: I haz the power
5 years, 9 months ago (2015-03-27 12:22:37 UTC) #11
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/cf932f0050766d998952f1e4f5c6f33567a61c2e
Cr-Commit-Position: refs/heads/master@{#322561}

Powered by Google App Engine
This is Rietveld 408576698