Index: Source/devtools/front_end/bindings/NetworkMapping.js |
diff --git a/Source/devtools/front_end/bindings/NetworkMapping.js b/Source/devtools/front_end/bindings/NetworkMapping.js |
index b008811c9871807f0174c4957ffbf721086f8976..6d76b311ea04c6d4d3339b99610b7e1a2d7d183a 100644 |
--- a/Source/devtools/front_end/bindings/NetworkMapping.js |
+++ b/Source/devtools/front_end/bindings/NetworkMapping.js |
@@ -92,6 +92,14 @@ WebInspector.NetworkMapping.prototype = { |
}, |
/** |
+ * @param {string} url |
+ * @return {?WebInspector.UISourceCode} |
+ */ |
+ uiSourceCodeFromURL: function(url) { |
+ return this.uiSourceCodeForURLForAnyTarget(url) || this._workspace.uiSourceCodeForFilePath(url); |
pfeldman
2015/08/13 21:15:46
When is it used?
wes
2015/08/14 01:13:32
Solely in the extension server (get/set line messa
pfeldman
2015/08/17 21:15:51
Then it should be at its call site since it discar
|
+ }, |
+ |
+ /** |
* @param {string} fileSystemPath |
* @param {string} filePath |
* @return {string} |