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

Unified Diff: Source/devtools/front_end/bindings/NetworkWorkspaceBinding.js

Issue 661923005: DevTools: [Workspace] fix removing stylesheet-related uiSourceCodes (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git/+/master
Patch Set: add one more testcase Created 6 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
« no previous file with comments | « LayoutTests/inspector/sources/debugger/network-uisourcecode-provider-expected.txt ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/devtools/front_end/bindings/NetworkWorkspaceBinding.js
diff --git a/Source/devtools/front_end/bindings/NetworkWorkspaceBinding.js b/Source/devtools/front_end/bindings/NetworkWorkspaceBinding.js
index ede705213cc13c848fc978e7d4e0f3f90e06302f..42c6938362c080813b2948b68f946ad788e48cae 100644
--- a/Source/devtools/front_end/bindings/NetworkWorkspaceBinding.js
+++ b/Source/devtools/front_end/bindings/NetworkWorkspaceBinding.js
@@ -159,8 +159,9 @@ WebInspector.NetworkWorkspaceBinding.prototype = {
{
var splitURL = WebInspector.ParsedURL.splitURLIntoPathComponents(url);
var projectName = splitURL[0];
+ var path = splitURL.slice(1).join("/");
var projectDelegate = this._projectDelegates[projectName];
- projectDelegate.removeFile(url);
+ projectDelegate.removeFile(path);
},
reset: function()
« no previous file with comments | « LayoutTests/inspector/sources/debugger/network-uisourcecode-provider-expected.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698