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

Issue 497183003: Fix DisownOpener and related tests. (Closed)

Created:
6 years, 4 months ago by Charlie Reis
Modified:
6 years, 4 months ago
Reviewers:
nasko
CC:
chromium-reviews, darin-cc_chromium.org, nasko+codewatch_chromium.org, jam, creis+watch_chromium.org
Project:
chromium
Visibility:
Public.

Description

Fix DisownOpener and related tests. BUG=397185 TEST=RenderFrameHostManagerTest.DisownOpener*. TBR=nasko (just for DisownSameSiteOpener test) Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=291556

Patch Set 1 #

Total comments: 8

Patch Set 2 : Add same-site opener test. #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+156 lines, -15 lines) Patch
M content/browser/frame_host/render_frame_host_manager.cc View 3 chunks +11 lines, -2 lines 0 comments Download
M content/browser/frame_host/render_frame_host_manager_browsertest.cc View 5 chunks +7 lines, -4 lines 0 comments Download
M content/browser/frame_host/render_frame_host_manager_unittest.cc View 1 1 chunk +124 lines, -0 lines 2 comments Download
M content/browser/renderer_host/render_view_host_impl.cc View 1 chunk +0 lines, -3 lines 0 comments Download
M content/browser/web_contents/web_contents_impl.cc View 1 chunk +8 lines, -6 lines 0 comments Download
M content/test/test_render_frame_host.h View 1 chunk +2 lines, -0 lines 0 comments Download
M content/test/test_render_frame_host.cc View 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
Charlie Reis
Nasko, can you take a look? I've included a lot of explanation of the 4 ...
6 years, 4 months ago (2014-08-22 19:41:23 UTC) #1
nasko
It might be worthwhile adding a test case for same-process navigation in the new window. ...
6 years, 4 months ago (2014-08-22 20:24:34 UTC) #2
Charlie Reis
Thanks! New test added for the same-site opener case. As you mentioned, I'll TBR you ...
6 years, 4 months ago (2014-08-22 21:03:31 UTC) #3
Charlie Reis
The CQ bit was checked by creis@chromium.org
6 years, 4 months ago (2014-08-22 21:04:50 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/creis@chromium.org/497183003/20001
6 years, 4 months ago (2014-08-22 21:05:56 UTC) #5
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_dbg_tests_recipe on tryserver.chromium.linux ...
6 years, 4 months ago (2014-08-22 22:11:23 UTC) #6
commit-bot: I haz the power
Committed patchset #2 (20001) as 291556
6 years, 4 months ago (2014-08-22 23:36:59 UTC) #7
nasko
New test LGTM with one nit. https://codereview.chromium.org/497183003/diff/20001/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/497183003/diff/20001/content/browser/frame_host/render_frame_host_manager_unittest.cc#newcode1193 content/browser/frame_host/render_frame_host_manager_unittest.cc:1193: const GURL kUrl2("http://www.chromium.org/"); ...
6 years, 4 months ago (2014-08-25 14:17:57 UTC) #8
Charlie Reis
6 years, 4 months ago (2014-08-25 17:24:00 UTC) #9
Message was sent while issue was closed.
https://codereview.chromium.org/497183003/diff/20001/content/browser/frame_ho...
File content/browser/frame_host/render_frame_host_manager_unittest.cc (right):

https://codereview.chromium.org/497183003/diff/20001/content/browser/frame_ho...
content/browser/frame_host/render_frame_host_manager_unittest.cc:1193: const
GURL kUrl2("http://www.chromium.org/");
On 2014/08/25 14:17:57, nasko wrote:
> nit: kUrl2 is unused.

Fixed in patch 3 of https://codereview.chromium.org/505443002/.

Powered by Google App Engine
This is Rietveld 408576698