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

Unified Diff: Source/core/inspector/CodeGeneratorInspectorStrings.py

Issue 1129473003: DevTools: respond with error when Debugger command is sent to disabled debugger agent (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Addressed comments, added checks in DOMDebugger Created 5 years, 7 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
Index: Source/core/inspector/CodeGeneratorInspectorStrings.py
diff --git a/Source/core/inspector/CodeGeneratorInspectorStrings.py b/Source/core/inspector/CodeGeneratorInspectorStrings.py
index 106ffcf2ab99bc0b54655fe345a2f6d82f3787a4..4ed8f73472bc10d68a192e03df35ac5df2993cf6 100644
--- a/Source/core/inspector/CodeGeneratorInspectorStrings.py
+++ b/Source/core/inspector/CodeGeneratorInspectorStrings.py
@@ -53,6 +53,7 @@ $methodCode
return;
}
$agentCallParamsDeclaration
+$agentEnablementCheck
$agentField->$methodName($agentCallParams);
$responseCook
sendResponse(callId, $sendResponseCallParams);

Powered by Google App Engine
This is Rietveld 408576698