Chromium Code Reviews
Help | Chromium Project | Sign in
(7)

Issue 3061036: Handle automation server crashes. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
4 years, 10 months ago by tommi
Modified:
4 years ago
Reviewers:
amit, stoyan
CC:
chromium-reviews, amit
Visibility:
Public.

Description

Handle automation server crashes. When Chrome crashes, we now handle the case and support document refresh or reload. When chrome crashes, we draw a poor man's sad tab (":-("), so that can clearly be improved. Another thing is that if the chrome instance that crashed held several navigational entries, then that history is lost. TEST=There are a couple of tests included, so run those (*TabCrash*) and also verify that when the chrome automation server is killed that we do the right thing. Also check info in bug report. BUG=25839 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=55565

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Patch Set 4 : '' #

Patch Set 5 : '' #

Patch Set 6 : '' #

Total comments: 6

Patch Set 7 : '' #

Patch Set 8 : '' #

Patch Set 9 : '' #

Patch Set 10 : '' #

Patch Set 11 : '' #

Patch Set 12 : '' #

Total comments: 5

Patch Set 13 : '' #

Patch Set 14 : '' #

Patch Set 15 : '' #

Patch Set 16 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+941 lines, -436 lines) Patch
M chrome/test/automation/automation_constants.h View 7 8 9 10 11 12 13 14 15 1 chunk +3 lines, -1 line 0 comments Download
M chrome_frame/chrome_active_document.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 2 chunks +2 lines, -5 lines 0 comments Download
M chrome_frame/chrome_active_document.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 9 chunks +32 lines, -14 lines 0 comments Download
M chrome_frame/chrome_frame_activex.h View 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +0 lines, -1 line 0 comments Download
M chrome_frame/chrome_frame_activex.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 2 chunks +3 lines, -3 lines 0 comments Download
M chrome_frame/chrome_frame_activex_base.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 9 chunks +36 lines, -6 lines 0 comments Download
M chrome_frame/chrome_frame_automation.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 6 chunks +197 lines, -54 lines 0 comments Download
M chrome_frame/chrome_frame_automation.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 21 chunks +269 lines, -173 lines 0 comments Download
M chrome_frame/chrome_frame_npapi_unittest.cc View 2 3 4 5 6 7 8 9 10 11 12 13 14 15 4 chunks +17 lines, -7 lines 0 comments Download
M chrome_frame/chrome_frame_plugin.h View 2 3 4 5 6 7 8 9 10 11 12 13 14 15 3 chunks +10 lines, -12 lines 0 comments Download
M chrome_frame/test/automation_client_mock.cc View 2 3 4 5 6 7 8 9 10 11 12 13 14 15 9 chunks +57 lines, -86 lines 0 comments Download
M chrome_frame/test/chrome_frame_automation_mock.h View 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +6 lines, -11 lines 0 comments Download
M chrome_frame/test/ie_event_sink.h View 3 4 5 6 7 8 9 10 11 12 13 14 15 2 chunks +40 lines, -0 lines 0 comments Download
M chrome_frame/test/mock_ie_event_sink_actions.h View 3 4 5 6 7 8 9 10 11 12 13 14 15 4 chunks +35 lines, -4 lines 0 comments Download
M chrome_frame/test/mock_ie_event_sink_test.h View 3 4 5 6 7 8 9 10 11 12 13 14 15 2 chunks +55 lines, -0 lines 0 comments Download
M chrome_frame/test/mock_ie_event_sink_test.cc View 3 4 5 6 7 8 9 10 11 12 13 14 15 2 chunks +22 lines, -0 lines 0 comments Download
M chrome_frame/test/proxy_factory_mock.h View 2 3 4 5 6 7 8 9 10 11 12 13 14 15 4 chunks +13 lines, -9 lines 0 comments Download
M chrome_frame/test/proxy_factory_mock.cc View 2 3 4 5 6 7 8 9 10 11 12 13 14 15 5 chunks +44 lines, -40 lines 0 comments Download
M chrome_frame/test/ui_test.cc View 3 4 5 6 7 8 9 10 11 12 13 14 15 2 chunks +80 lines, -0 lines 0 comments Download
M chrome_frame/test_utils.cc View 6 7 8 9 10 11 12 13 14 15 1 chunk +0 lines, -1 line 0 comments Download
M chrome_frame/urlmon_url_request.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 5 chunks +7 lines, -5 lines 0 comments Download
M chrome_frame/utils.cc View 2 3 4 5 6 7 8 9 10 11 12 13 14 15 3 chunks +13 lines, -4 lines 0 comments Download
Trybot results:  win 
Commit: CQ not working?

Messages

Total messages: 13 (0 generated)
tommi
4 years, 10 months ago (2010-08-03 21:23:54 UTC) #1
amit
[+stoyan, for double checking proxy factory threading issues] Looks excellent and nice tests! http://codereview.chromium.org/3061036/diff/40003/53006 File ...
4 years, 10 months ago (2010-08-03 22:25:08 UTC) #2
stoyan
http://codereview.chromium.org/3061036/diff/40003/53007 File chrome_frame/chrome_frame_automation.cc (right): http://codereview.chromium.org/3061036/diff/40003/53007#newcode237 chrome_frame/chrome_frame_automation.cc:237: DCHECK(entry->launch_delegate == delegate); Multiple AutomationClients (== multiple tabs) can ...
4 years, 10 months ago (2010-08-03 23:00:59 UTC) #3
tommi
Thanks. I left that DCHECK in there as a reminder to myself to look into ...
4 years, 10 months ago (2010-08-04 01:06:49 UTC) #4
tommi
Please take another look On Tue, Aug 3, 2010 at 9:06 PM, Tommi <tommi@chromium.org> wrote: ...
4 years, 10 months ago (2010-08-04 20:29:01 UTC) #5
tommi
sorry - too early, I broke some tests! grr... I'll let you know.
4 years, 10 months ago (2010-08-04 20:45:06 UTC) #6
tommi
Please take another look. The reference counting stuff for proxy entries is getting out of ...
4 years, 10 months ago (2010-08-05 14:58:16 UTC) #7
stoyan
OK http://codereview.chromium.org/3061036/diff/54005/62010 File chrome_frame/chrome_frame_automation.cc (right): http://codereview.chromium.org/3061036/diff/54005/62010#newcode312 chrome_frame/chrome_frame_automation.cc:312: bool ProxyFactory::FreeLaunchDelegate(LaunchDelegate* delegate) { I guess the things ...
4 years, 9 months ago (2010-08-05 18:03:23 UTC) #8
tommi
http://codereview.chromium.org/3061036/diff/54005/62010 File chrome_frame/chrome_frame_automation.cc (right): http://codereview.chromium.org/3061036/diff/54005/62010#newcode312 chrome_frame/chrome_frame_automation.cc:312: bool ProxyFactory::FreeLaunchDelegate(LaunchDelegate* delegate) { On 2010/08/05 18:03:23, stoyan wrote: ...
4 years, 9 months ago (2010-08-05 18:28:32 UTC) #9
tommi
latest changes uploaded. Please take a look at the UMA code saneness and the new ...
4 years, 9 months ago (2010-08-06 21:34:39 UTC) #10
amit
lgtm!
4 years, 9 months ago (2010-08-09 22:34:53 UTC) #11
tommi
w007! stoyan? On Mon, Aug 9, 2010 at 6:34 PM, <amit@chromium.org> wrote: > lgtm! > ...
4 years, 9 months ago (2010-08-09 23:44:02 UTC) #12
stoyan
4 years, 9 months ago (2010-08-10 00:15:52 UTC) #13
lgtm
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld ec887be