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

Issue 479403004: Re-enable SitePerProcessBrowserTest.CrossSiteIframe (Closed)

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

Description

Re-enable SitePerProcessBrowserTest.CrossSiteIframe This CL fixes a few issues in the cross-process subframe navigation and re-enables the CrossSiteIframe test on most platforms. There are still some issues on ChromeOS and Android, which will be investigated and fixed in follow-up CL. BUG=399775, 357747 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=291437

Patch Set 1 #

Patch Set 2 : Cleanup. #

Patch Set 3 : Fix Mac breakage. #

Patch Set 4 : Rebase on ToT. #

Patch Set 5 : Ah, stupid me! #

Total comments: 9

Patch Set 6 : Fixes based on Charlie's review. #

Patch Set 7 : Rebase on ToT #

Patch Set 8 : Fix OnSwapOut. #

Patch Set 9 : Temp change to see if CrOS is RFH lifetime issue. #

Patch Set 10 : Disable the test on CrOS and Android. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+47 lines, -65 lines) Patch
M chrome/browser/ui/cocoa/applescript/tab_applescript.mm View 1 2 3 4 1 chunk +1 line, -9 lines 0 comments Download
M content/browser/frame_host/render_frame_host_impl.h View 1 2 3 4 5 6 1 chunk +3 lines, -0 lines 0 comments Download
M content/browser/frame_host/render_frame_host_impl.cc View 1 2 3 4 5 6 2 chunks +5 lines, -1 line 0 comments Download
M content/browser/frame_host/render_frame_host_manager.cc View 1 2 3 4 5 6 9 2 chunks +5 lines, -6 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_impl.h View 1 2 3 4 5 6 1 chunk +0 lines, -1 line 0 comments Download
M content/browser/renderer_host/render_widget_host_impl.cc View 1 2 3 4 5 6 1 chunk +0 lines, -4 lines 0 comments Download
M content/browser/site_per_process_browsertest.cc View 1 2 3 4 5 6 7 8 9 1 chunk +8 lines, -3 lines 0 comments Download
M content/browser/web_contents/web_contents_impl_unittest.cc View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M content/common/frame_messages.h View 1 2 3 4 5 1 chunk +3 lines, -0 lines 0 comments Download
M content/common/view_messages.h View 1 2 3 4 5 6 1 chunk +0 lines, -2 lines 0 comments Download
M content/public/browser/render_widget_host.h View 1 chunk +0 lines, -3 lines 0 comments Download
M content/renderer/render_frame_impl.h View 2 chunks +1 line, -3 lines 0 comments Download
M content/renderer/render_frame_impl.cc View 1 2 3 4 5 6 7 8 chunks +16 lines, -12 lines 0 comments Download
M content/renderer/render_frame_proxy.cc View 1 2 3 4 5 1 chunk +4 lines, -10 lines 0 comments Download
M content/renderer/render_view_impl.h View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
M content/renderer/render_view_impl.cc View 1 2 3 2 chunks +0 lines, -9 lines 0 comments Download

Messages

Total messages: 17 (0 generated)
nasko
Charlie, This CL is moving ViewMsg_Stop to be per frame and refactoring a bit around ...
6 years, 4 months ago (2014-08-19 20:56:31 UTC) #1
Charlie Reis
Cool! I'm excited to get rid of RenderWidgetHost's Stop method, since it doesn't really belong ...
6 years, 4 months ago (2014-08-19 21:32:33 UTC) #2
nasko
https://codereview.chromium.org/479403004/diff/80001/content/browser/frame_host/render_frame_host_manager.cc File content/browser/frame_host/render_frame_host_manager.cc (left): https://codereview.chromium.org/479403004/diff/80001/content/browser/frame_host/render_frame_host_manager.cc#oldcode1550 content/browser/frame_host/render_frame_host_manager.cc:1550: render_frame_host_->render_view_host()->Send(new ViewMsg_Stop( On 2014/08/19 21:32:32, Charlie Reis wrote: > ...
6 years, 4 months ago (2014-08-20 14:15:17 UTC) #3
Charlie Reis
LGTM. You might need to rebase past r290828 (the SwapOut CL) to make sure it ...
6 years, 4 months ago (2014-08-20 17:09:37 UTC) #4
nasko
The CQ bit was checked by nasko@chromium.org
6 years, 4 months ago (2014-08-20 17:13:00 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/nasko@chromium.org/479403004/120001
6 years, 4 months ago (2014-08-20 17:14:39 UTC) #6
nasko
Avi, can you review the OSX change? Thanks!
6 years, 4 months ago (2014-08-20 17:25:07 UTC) #7
Avi (use Gerrit)
Mac change LGTM Whoever wrote that must have been copy/pasting from somewhere else...
6 years, 4 months ago (2014-08-20 17:36:13 UTC) #8
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-20 19:13:53 UTC) #9
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-08-20 19:44:17 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_swarming on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_swarming/builds/6172)
6 years, 4 months ago (2014-08-20 19:44:18 UTC) #11
nasko
Charlie, can you take another look? The latest patch adds the fix you had for ...
6 years, 4 months ago (2014-08-21 21:19:45 UTC) #12
Charlie Reis
The diff from patchset 7 to patchset 8 LGTM. Thanks!
6 years, 4 months ago (2014-08-21 21:24:10 UTC) #13
nasko
The CQ bit was checked by nasko@chromium.org
6 years, 4 months ago (2014-08-22 16:17:02 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/nasko@chromium.org/479403004/180001
6 years, 4 months ago (2014-08-22 16:18:10 UTC) #15
commit-bot: I haz the power
Committed patchset #10 (180001) as 291437
6 years, 4 months ago (2014-08-22 17:13:37 UTC) #16
benwells
6 years, 3 months ago (2014-08-28 07:02:31 UTC) #17
Message was sent while issue was closed.
A revert of this CL (patchset #10) has been created in
https://codereview.chromium.org/515073002/ by benwells@chromium.org.

The reason for reverting is: This is causing unaddressable memory errors on the
DrMemory full bot. Build where the error was introduced:

http://build.chromium.org/p/chromium.memory.fyi/builders/Windows%20Content%20...

(error hash: 25DFC5E3C30FC6B7)

Sample log output:

UNADDRESSABLE ACCESS of freed memory: reading 0x034348e0-0x034348e4 4 byte(s)
# 0 blink_web.dll!blink::toCoreFrame                                     
[third_party\webkit\source\web\webframe.cpp:24]
# 1 blink_web.dll!blink::RemoteFrameClient::firstChild                   
[third_party\webkit\source\web\remoteframeclient.cpp:49]
# 2 blink_web.dll!blink::WebRemoteFrameImpl::~WebRemoteFrameImpl         
[third_party\webkit\source\web\webremoteframeimpl.cpp:106]
# 3 blink_web.dll!blink::WebRemoteFrameImpl::close                       
[third_party\webkit\source\web\webremoteframeimpl.cpp:131]
# 4 content.dll!content::RenderFrameProxy::~RenderFrameProxy             
[content\renderer\render_frame_proxy.cc:120]
# 5 content.dll!content::RenderFrameProxy::`vector deleting destructor'
# 6 content.dll!content::RenderFrameProxy::OnDeleteProxy                 
[content\renderer\render_frame_proxy.cc:180]
# 7 content.dll!content::MessageRouter::RouteMessage                     
[content\common\message_router.cc:54]
# 8 content.dll!content::MessageRouter::OnMessageReceived                
[content\common\message_router.cc:46]
# 9 content.dll!content::ChildThread::OnMessageReceived                  
[content\child\child_thread.cc:494]
#10 ipc.dll!IPC::ChannelProxy::Context::OnDispatchMessage                
[ipc\ipc_channel_proxy.cc:273]
#11 ipc.dll!base::internal::Invoker<>::Run                               
[base\bind_internal.h:1253]
#12 base.dll!base::debug::TaskAnnotator::RunTask                         
[base\debug\task_annotator.cc:62]
#13 base.dll!base::MessageLoop::RunTask                                  
[base\message_loop\message_loop.cc:436]
#14 base.dll!base::MessageLoop::DeferOrRunPendingTask                    
[base\message_loop\message_loop.cc:445]
#15 base.dll!base::MessageLoop::DoWork                                   
[base\message_loop\message_loop.cc:552]
#16 base.dll!base::MessagePumpDefault::Run                               
[base\message_loop\message_pump_default.cc:32]
#17 base.dll!base::MessageLoop::RunHandler                               
[base\message_loop\message_loop.cc:408]
#18 content.dll!content::RendererMain                                    
[content\renderer\renderer_main.cc:227]
#19 content.dll!content::RunNamedProcessTypeMain                         
[content\app\content_main_runner.cc:415]
#20 content.dll!content::ContentMainRunnerImpl::Run                      
[content\app\content_main_runner.cc:764]
#21 content.dll!content::ContentMain                                     
[content\app\content_main.cc:19]
#22 content::LaunchTests                                                 
[content\public\test\test_launcher.cc:475]
#23 main                                                                 
[content\test\content_test_launcher.cc:123]


BTW IMHO the CL summary for this change could be better, this change did way
more than re-enalbe a test. Ideally the summary would capture the entirety of
the change..

Powered by Google App Engine
This is Rietveld 408576698