| Index: content/browser/tab_contents/tab_contents.cc
|
| diff --git a/content/browser/tab_contents/tab_contents.cc b/content/browser/tab_contents/tab_contents.cc
|
| index 21973397e6e9c311d0766b4829fc256a0a3c4b52..5c35fc571a9dfa7b565cdcfa988a14f1006c6586 100644
|
| --- a/content/browser/tab_contents/tab_contents.cc
|
| +++ b/content/browser/tab_contents/tab_contents.cc
|
| @@ -1758,6 +1758,14 @@ void TabContents::RendererUnresponsive(RenderViewHost* rvh,
|
| if (rvh != render_view_host())
|
| return;
|
|
|
| + // Ignore renderer unresponsive event if debugger is attached to the tab
|
| + // since the event may be a result of the renderer sitting on a breakpoint.
|
| + // See http://crbug.com/65458
|
| + DevToolsManager* devtools_manager = DevToolsManager::GetInstance();
|
| + if (devtools_manager &&
|
| + devtools_manager->GetDevToolsClientHostFor(rvh) != NULL)
|
| + return;
|
| +
|
| if (is_during_unload) {
|
| // Hang occurred while firing the beforeunload/unload handler.
|
| // Pretend the handler fired so tab closing continues as if it had.
|
|
|