Index: Source/devtools/front_end/sdk/Target.js |
diff --git a/Source/devtools/front_end/sdk/Target.js b/Source/devtools/front_end/sdk/Target.js |
index ddde70173843224f6b4cc389205199d0409f01d1..f56d0a522cfd946e568b67e6dc8095bcffe9c968 100644 |
--- a/Source/devtools/front_end/sdk/Target.js |
+++ b/Source/devtools/front_end/sdk/Target.js |
@@ -209,6 +209,14 @@ WebInspector.Target.prototype = { |
this.cpuProfilerModel.dispose(); |
}, |
+ /** |
+ * @return {boolean} |
+ */ |
+ isDetached: function() |
+ { |
+ return this._connection.isClosed(); |
+ }, |
+ |
__proto__: Protocol.Agents.prototype |
} |