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

Unified Diff: third_party/WebKit/Source/devtools/front_end/sources/SourcesView.js

Issue 2376583002: DevTools: remove WI.NetworkMapping.networkURL (Closed)
Patch Set: do not blackbox fs uiSourceCodes Created 4 years, 3 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
« no previous file with comments | « third_party/WebKit/Source/devtools/front_end/sources/SourcesSearchScope.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/devtools/front_end/sources/SourcesView.js
diff --git a/third_party/WebKit/Source/devtools/front_end/sources/SourcesView.js b/third_party/WebKit/Source/devtools/front_end/sources/SourcesView.js
index e43f951020befc6e56afef9e54c20d9062f0fbf0..b857a2574907eee740aee6775a6f35fbc9b917b8 100644
--- a/third_party/WebKit/Source/devtools/front_end/sources/SourcesView.js
+++ b/third_party/WebKit/Source/devtools/front_end/sources/SourcesView.js
@@ -267,16 +267,6 @@ WebInspector.SourcesView.prototype = {
if (uiSourceCode.isFromServiceProject())
return;
this._editorContainer.addUISourceCode(uiSourceCode);
- // Replace debugger script-based uiSourceCode with a network-based one.
- var currentUISourceCode = this._editorContainer.currentFile();
- if (!currentUISourceCode)
- return;
- var networkURL = WebInspector.networkMapping.networkURL(uiSourceCode);
- var currentNetworkURL = WebInspector.networkMapping.networkURL(currentUISourceCode);
- if (currentUISourceCode.isFromServiceProject() && currentUISourceCode !== uiSourceCode && currentNetworkURL === networkURL && networkURL) {
- this._editorContainer.showFile(uiSourceCode);
- this._editorContainer.removeUISourceCode(currentUISourceCode);
- }
},
_uiSourceCodeRemoved: function(event)
« no previous file with comments | « third_party/WebKit/Source/devtools/front_end/sources/SourcesSearchScope.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698