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

Unified Diff: third_party/WebKit/Source/devtools/front_end/sdk/InspectorBackend.js

Issue 2421913003: DevTools: allow reattaching main target live. (Closed)
Patch Set: link fixed Created 4 years, 2 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: third_party/WebKit/Source/devtools/front_end/sdk/InspectorBackend.js
diff --git a/third_party/WebKit/Source/devtools/front_end/sdk/InspectorBackend.js b/third_party/WebKit/Source/devtools/front_end/sdk/InspectorBackend.js
index b81fb233399469cf4b1465a1872067f3ef1630e5..cd0d3c12599a6385d24cdeaa207f12cee69c52ef 100644
--- a/third_party/WebKit/Source/devtools/front_end/sdk/InspectorBackend.js
+++ b/third_party/WebKit/Source/devtools/front_end/sdk/InspectorBackend.js
@@ -420,6 +420,19 @@ InspectorBackendClass.Connection.prototype = {
console.log(message);
},
+ close: function()
+ {
+ this.forceClose();
+ this.connectionClosed("force close");
+ },
+
+ /**
+ * @protected
+ */
+ forceClose: function()
+ {
+ },
+
/**
* @protected
* @param {string} reason

Powered by Google App Engine
This is Rietveld 408576698