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

Issue 10008015: Fixing a problem, where a hung renderer process is not killed when navigating away (Closed)

Created:
8 years, 8 months ago by nasko
Modified:
8 years, 8 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam
Visibility:
Public.

Description

Fixing a problem, where a hung renderer process is not killed when navigating away BUG=104346 TEST=Steps to reproduce listed in the bug. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=132018

Patch Set 1 #

Patch Set 2 : Added logging to trace pyautotest. #

Patch Set 3 : Fixed problems when navigating to page that doesn't involve network IO. #

Total comments: 36

Patch Set 4 : Fixes based on feedback and new test #

Total comments: 6

Patch Set 5 : Addressing Charlie's feedback. #

Patch Set 6 : Removed a test case due to invalid dependencies and added observer to existing test. #

Total comments: 1

Patch Set 7 : Removed the obsolete test file. #

Patch Set 8 : Removed a test case that doesn't add much, but introduces flacky behavior. #

Patch Set 9 : Updating patch for incoming changes. #

Patch Set 10 : Fixing an uninitialized variable and improving the test. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+343 lines, -35 lines) Patch
M content/browser/renderer_host/render_process_host_impl.h View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M content/browser/renderer_host/render_process_host_impl.cc View 1 2 3 4 5 6 7 8 9 1 chunk +2 lines, -2 lines 0 comments Download
M content/browser/renderer_host/render_view_host_browsertest.cc View 1 2 3 4 5 6 7 8 9 2 chunks +141 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_view_host_impl.h View 1 2 2 chunks +6 lines, -2 lines 0 comments Download
M content/browser/renderer_host/render_view_host_impl.cc View 1 2 3 4 5 6 7 8 9 12 chunks +73 lines, -3 lines 0 comments Download
M content/browser/renderer_host/render_widget_helper.h View 1 2 3 2 chunks +4 lines, -3 lines 0 comments Download
M content/browser/renderer_host/render_widget_helper.cc View 1 2 2 chunks +4 lines, -4 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_impl.h View 1 2 3 4 5 6 7 8 1 chunk +5 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_impl.cc View 1 2 3 4 5 6 7 8 3 chunks +8 lines, -4 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_unittest.cc View 1 2 3 1 chunk +17 lines, -0 lines 0 comments Download
M content/browser/renderer_host/resource_dispatcher_host_impl.h View 1 2 3 4 5 6 7 8 2 chunks +9 lines, -0 lines 0 comments Download
M content/browser/renderer_host/resource_dispatcher_host_impl.cc View 1 2 3 4 5 6 7 8 3 chunks +18 lines, -3 lines 0 comments Download
M content/browser/renderer_host/test_render_view_host.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M content/browser/web_contents/render_view_host_manager.cc View 1 2 3 4 5 6 7 8 1 chunk +3 lines, -1 line 0 comments Download
M content/browser/web_contents/render_view_host_manager_unittest.cc View 1 2 3 4 5 6 7 8 5 chunks +5 lines, -5 lines 0 comments Download
M content/browser/web_contents/test_web_contents.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M content/public/browser/render_process_host.h View 1 2 1 chunk +1 line, -2 lines 0 comments Download
A content/test/data/english_page.html View 1 2 1 chunk +7 lines, -0 lines 0 comments Download
A content/test/data/infinite_beforeunload.html View 1 chunk +17 lines, -0 lines 0 comments Download
A content/test/data/infinite_unload.html View 1 chunk +17 lines, -0 lines 0 comments Download
M content/test/mock_render_process_host.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M content/test/mock_render_process_host.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 16 (0 generated)
nasko
Charlie, can you review the new iteration of changes for the hung renderer bug?
8 years, 8 months ago (2012-04-06 15:16:53 UTC) #1
Charlie Reis
Getting closer! https://chromiumcodereview.appspot.com/10008015/diff/5013/content/browser/renderer_host/render_view_host_browsertest.cc File content/browser/renderer_host/render_view_host_browsertest.cc (right): https://chromiumcodereview.appspot.com/10008015/diff/5013/content/browser/renderer_host/render_view_host_browsertest.cc#newcode238 content/browser/renderer_host/render_view_host_browsertest.cc:238: // unload acks. We should update the ...
8 years, 8 months ago (2012-04-06 22:34:14 UTC) #2
nasko
https://chromiumcodereview.appspot.com/10008015/diff/5013/content/browser/renderer_host/render_view_host_browsertest.cc File content/browser/renderer_host/render_view_host_browsertest.cc (right): https://chromiumcodereview.appspot.com/10008015/diff/5013/content/browser/renderer_host/render_view_host_browsertest.cc#newcode238 content/browser/renderer_host/render_view_host_browsertest.cc:238: // unload acks. On 2012/04/06 22:34:14, creis wrote: > ...
8 years, 8 months ago (2012-04-10 00:16:37 UTC) #3
Charlie Reis
Thanks for the additional tests-- those will help a lot! https://chromiumcodereview.appspot.com/10008015/diff/5013/content/browser/renderer_host/render_view_host_browsertest.cc File content/browser/renderer_host/render_view_host_browsertest.cc (right): https://chromiumcodereview.appspot.com/10008015/diff/5013/content/browser/renderer_host/render_view_host_browsertest.cc#newcode277 ...
8 years, 8 months ago (2012-04-10 01:19:35 UTC) #4
nasko
Adding sky@chromium.org for owners approval of: content/browser content/test rdsmith@chromium.org for owners approval of content/public/browser/. https://chromiumcodereview.appspot.com/10008015/diff/5013/content/browser/renderer_host/render_view_host_browsertest.cc ...
8 years, 8 months ago (2012-04-10 14:31:25 UTC) #5
Charlie Reis
LGTM. https://chromiumcodereview.appspot.com/10008015/diff/5013/content/browser/renderer_host/render_view_host_browsertest.cc File content/browser/renderer_host/render_view_host_browsertest.cc (right): https://chromiumcodereview.appspot.com/10008015/diff/5013/content/browser/renderer_host/render_view_host_browsertest.cc#newcode277 content/browser/renderer_host/render_view_host_browsertest.cc:277: content::NOTIFICATION_RENDERER_PROCESS_CLOSED, On 2012/04/10 14:31:26, nasko wrote: > What ...
8 years, 8 months ago (2012-04-10 17:22:04 UTC) #6
sky
LGTM
8 years, 8 months ago (2012-04-10 17:28:44 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/nasko@chromium.org/10008015/21005
8 years, 8 months ago (2012-04-10 21:03:38 UTC) #8
commit-bot: I haz the power
Presubmit check for 10008015-21005 failed and returned exit status 1. Running presubmit commit checks ...
8 years, 8 months ago (2012-04-10 21:03:51 UTC) #9
nasko
After proper reading of OWNERS, adding avi@ for review of content/public changes.
8 years, 8 months ago (2012-04-10 21:11:40 UTC) #10
nasko
Avi, would you be able to review this one line change today? I would like ...
8 years, 8 months ago (2012-04-11 20:58:56 UTC) #11
Avi (use Gerrit)
lgtm
8 years, 8 months ago (2012-04-11 22:30:19 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/nasko@chromium.org/10008015/21005
8 years, 8 months ago (2012-04-12 15:19:50 UTC) #13
commit-bot: I haz the power
Can't apply patch for file content/browser/tab_contents/render_view_host_manager.cc. While running patch -p1 --forward --force; patching file content/browser/tab_contents/render_view_host_manager.cc ...
8 years, 8 months ago (2012-04-12 15:19:57 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/10008015/30001
8 years, 8 months ago (2012-04-12 15:24:02 UTC) #15
commit-bot: I haz the power
8 years, 8 months ago (2012-04-12 18:13:57 UTC) #16
Change committed as 132018

Powered by Google App Engine
This is Rietveld 408576698