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

Unified Diff: third_party/WebKit/Source/devtools/front_end/main/RemoteLocationManager.js

Issue 2421913003: DevTools: allow reattaching main target live. (Closed)
Patch Set: same 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/main/RemoteLocationManager.js
diff --git a/third_party/WebKit/Source/devtools/front_end/main/RemoteLocationManager.js b/third_party/WebKit/Source/devtools/front_end/main/RemoteLocationManager.js
index 16c032a9321862ffd11905b3ccca0607d9c0b71f..1f3ccfc622e023b717af8eefb64a3304ab196b18 100644
--- a/third_party/WebKit/Source/devtools/front_end/main/RemoteLocationManager.js
+++ b/third_party/WebKit/Source/devtools/front_end/main/RemoteLocationManager.js
@@ -140,9 +140,9 @@ WebInspector.RemoteLocationConnection.prototype = {
this._agent.sendMessage(this._targetId, JSON.stringify(messageObject));
},
- _close: function()
+ forceClose: function()
dgozman 2016/10/15 00:26:26 @override
{
- this.connectionClosed("node_detached");
+ this._agent.detach(this._targetId, ()=>{});
dgozman 2016/10/15 00:26:26 () => {}
},
__proto__: InspectorBackendClass.Connection.prototype

Powered by Google App Engine
This is Rietveld 408576698