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

Issue 659293002: Make sure new render is used when navigating away from about:blank in WebUI renderer. (Closed)

Created:
6 years, 2 months ago by Krzysztof Olczyk
Modified:
6 years, 2 months ago
Reviewers:
clamy, Charlie Reis, nasko, sky
CC:
chromium-reviews, darin-cc_chromium.org, nasko+codewatch_chromium.org, jam, creis+watch_chromium.org, Mostyn Bramley-Moore
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Make sure new site instance (and therefore) render is used when navigating away from blank page (about:blank) that has been loaded in WebUI-bindings-enabled renderer. This currently reproduces in process models other than default process-per-site(-instance) as they only enforce new renderer on webui-vs-regular navigations and fail to recognize that about:blank might have been loaded in WebUI (as per http://crbug.com/42547). This CL includes the browser test that reproduces this problem and verifies the fix. BUG=424526 Committed: https://crrev.com/2c0c6c9e4f04e76373a884d03a4e09c8fee5d141 Cr-Commit-Position: refs/heads/master@{#300645}

Patch Set 1 #

Total comments: 8

Patch Set 2 : Moved the implementation to the better places pointed out and addressed other comments. #

Total comments: 6

Patch Set 3 : Final nit fixes #

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

Messages

Total messages: 14 (4 generated)
Krzysztof Olczyk
Hi sky, clamy, could you please take a look at this CL that fixes a ...
6 years, 2 months ago (2014-10-17 10:20:04 UTC) #2
clamy
+nasko@: I am leaving today for 3 weeks, could you take a look at that ...
6 years, 2 months ago (2014-10-17 13:17:43 UTC) #4
nasko
Looks fine to me, but creis@ is the process model expert, so including him to ...
6 years, 2 months ago (2014-10-20 17:15:40 UTC) #6
Charlie Reis
Thanks for tracking this down and including a test! That helps a ton in understanding ...
6 years, 2 months ago (2014-10-20 19:37:54 UTC) #7
Krzysztof Olczyk
Hi Charlie, thanks for the review and suggestions. I've submitted a new accordingly updated CL. ...
6 years, 2 months ago (2014-10-21 08:27:05 UTC) #8
Charlie Reis
Thanks! LGTM with nits. https://codereview.chromium.org/659293002/diff/20001/content/browser/frame_host/render_frame_host_manager.cc File content/browser/frame_host/render_frame_host_manager.cc (right): https://codereview.chromium.org/659293002/diff/20001/content/browser/frame_host/render_frame_host_manager.cc#newcode39 content/browser/frame_host/render_frame_host_manager.cc:39: #include "content/public/common/bindings_policy.h" Probably don't need ...
6 years, 2 months ago (2014-10-21 19:10:42 UTC) #9
Krzysztof Olczyk
Thanks for the review! https://codereview.chromium.org/659293002/diff/20001/content/browser/frame_host/render_frame_host_manager.cc File content/browser/frame_host/render_frame_host_manager.cc (right): https://codereview.chromium.org/659293002/diff/20001/content/browser/frame_host/render_frame_host_manager.cc#newcode39 content/browser/frame_host/render_frame_host_manager.cc:39: #include "content/public/common/bindings_policy.h" On 2014/10/21 19:10:41, ...
6 years, 2 months ago (2014-10-22 06:24:06 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/659293002/40001
6 years, 2 months ago (2014-10-22 06:26:02 UTC) #12
commit-bot: I haz the power
Committed patchset #3 (id:40001)
6 years, 2 months ago (2014-10-22 07:17:12 UTC) #13
commit-bot: I haz the power
6 years, 2 months ago (2014-10-22 07:18:01 UTC) #14
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/2c0c6c9e4f04e76373a884d03a4e09c8fee5d141
Cr-Commit-Position: refs/heads/master@{#300645}

Powered by Google App Engine
This is Rietveld 408576698