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

Issue 11094080: Browser Plugin: More robust recovery from guest crash (Closed)

Created:
8 years, 2 months ago by Fady Samuel
Modified:
8 years, 2 months ago
Reviewers:
Charlie Reis
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam
Visibility:
Public.

Description

Browser Plugin: More robust recovery from guest crash Guests don't recover from crashes very well. Basically, the only actions that would properly recover the browser plugin from crash is the reload method and setting the src attribute. This change moves the resetting of the guest_crashed_ flag to UpdateRect in order to make crash recovery more robust. If we're receiving new pixels from guests, then we can assume that the guest has recovered from a crash. BUG=155324 Test=BrowserPluginHostTest.BackAfterTerminateGuest Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=161986

Patch Set 1 #

Total comments: 4

Patch Set 2 : Merged with ToT + Moved resetting of guest_crashed_ flag #

Patch Set 3 : Fixed leak in test #

Patch Set 4 : Removed part of test that is no longer valid #

Unified diffs Side-by-side diffs Delta from patch set Stats (+91 lines, -14 lines) Patch
M content/browser/browser_plugin/browser_plugin_guest.h View 1 2 chunks +6 lines, -6 lines 0 comments Download
M content/browser/browser_plugin/browser_plugin_host_browsertest.cc View 1 2 1 chunk +43 lines, -0 lines 0 comments Download
M content/browser/browser_plugin/test_browser_plugin_guest.h View 4 chunks +9 lines, -0 lines 0 comments Download
M content/browser/browser_plugin/test_browser_plugin_guest.cc View 3 chunks +27 lines, -0 lines 0 comments Download
M content/renderer/browser_plugin/browser_plugin.cc View 1 5 chunks +5 lines, -4 lines 0 comments Download
M content/renderer/browser_plugin/browser_plugin_bindings.cc View 1 1 chunk +1 line, -0 lines 0 comments Download
M content/renderer/browser_plugin/browser_plugin_browsertest.cc View 1 2 3 1 chunk +0 lines, -4 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
Fady Samuel
8 years, 2 months ago (2012-10-11 18:52:03 UTC) #1
Charlie Reis
Sorry for the delay, and thanks for fixing this. Mostly looks good, but two questions ...
8 years, 2 months ago (2012-10-12 04:10:25 UTC) #2
Fady Samuel
https://codereview.chromium.org/11094080/diff/1/content/browser/browser_plugin/browser_plugin_host_browsertest.cc File content/browser/browser_plugin/browser_plugin_host_browsertest.cc (right): https://codereview.chromium.org/11094080/diff/1/content/browser/browser_plugin/browser_plugin_host_browsertest.cc#newcode683 content/browser/browser_plugin/browser_plugin_host_browsertest.cc:683: SimulateMouseClick(test_embedder()->web_contents()); On 2012/10/12 04:10:25, creis wrote: > What's the ...
8 years, 2 months ago (2012-10-12 17:33:06 UTC) #3
Charlie Reis
Thanks, LGTM.
8 years, 2 months ago (2012-10-15 18:17:04 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/fsamuel@chromium.org/11094080/13001
8 years, 2 months ago (2012-10-15 18:17:52 UTC) #5
commit-bot: I haz the power
Retried try job too often for step(s) content_browsertests
8 years, 2 months ago (2012-10-15 19:38:01 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/fsamuel@chromium.org/11094080/27001
8 years, 2 months ago (2012-10-15 20:16:11 UTC) #7
commit-bot: I haz the power
8 years, 2 months ago (2012-10-15 22:51:10 UTC) #8
Change committed as 161986

Powered by Google App Engine
This is Rietveld 408576698