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

Unified Diff: Source/core/inspector/InspectorDebuggerAgent.cpp

Issue 1089463005: Devtools: Fix "EventListeners don't work after timeline" (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Test added Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « LayoutTests/inspector/sources/debugger/event-listener-breakpoints-after-suspension-expected.txt ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/inspector/InspectorDebuggerAgent.cpp
diff --git a/Source/core/inspector/InspectorDebuggerAgent.cpp b/Source/core/inspector/InspectorDebuggerAgent.cpp
index 07c089f17758ed5d846d18bff7d3e904db12a9b8..f525377aaabbaf2d1b8ee3284353b9f4c23a9329 100644
--- a/Source/core/inspector/InspectorDebuggerAgent.cpp
+++ b/Source/core/inspector/InspectorDebuggerAgent.cpp
@@ -188,6 +188,7 @@ void InspectorDebuggerAgent::enable()
// FIXME(WK44513): breakpoints activated flag should be synchronized between all front-ends
scriptDebugServer().setBreakpointsActivated(true);
+ m_state->setBoolean(DebuggerAgentState::debuggerEnabled, true);
if (m_listener)
m_listener->debuggerWasEnabled();
}
@@ -222,7 +223,6 @@ void InspectorDebuggerAgent::enable(ErrorString*)
return;
enable();
- m_state->setBoolean(DebuggerAgentState::debuggerEnabled, true);
ASSERT(frontend());
}
« no previous file with comments | « LayoutTests/inspector/sources/debugger/event-listener-breakpoints-after-suspension-expected.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698