Index: third_party/WebKit/Source/devtools/front_end/sdk/TargetManager.js |
diff --git a/third_party/WebKit/Source/devtools/front_end/sdk/TargetManager.js b/third_party/WebKit/Source/devtools/front_end/sdk/TargetManager.js |
index e5f085158a0912cf10518dc39cf11a8937f1b431..12ef551ba078e5a0db59af65b1dfb1e3e96ee489 100644 |
--- a/third_party/WebKit/Source/devtools/front_end/sdk/TargetManager.js |
+++ b/third_party/WebKit/Source/devtools/front_end/sdk/TargetManager.js |
@@ -78,6 +78,14 @@ WebInspector.TargetManager.prototype = { |
}, |
/** |
+ * @return {string} |
+ */ |
+ inspectedURL: function() |
+ { |
+ return this._targets[0] ? this._targets[0].inspectedURL() : ""; |
+ }, |
+ |
+ /** |
* @param {!WebInspector.Event} event |
*/ |
_redispatchEvent: function(event) |