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

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

Issue 349523003: DevTools: Unescape urls when showing them in navigator/editor. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Comments addressed Created 6 years, 6 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/devtools/front_end/sdk/NetworkWorkspaceBinding.js
diff --git a/Source/devtools/front_end/sdk/NetworkWorkspaceBinding.js b/Source/devtools/front_end/sdk/NetworkWorkspaceBinding.js
index eda7781e6969009245357c3224a6d017e6dd0d62..643113f86ea61e3e8762c1cc652d162ce9e2a203 100644
--- a/Source/devtools/front_end/sdk/NetworkWorkspaceBinding.js
+++ b/Source/devtools/front_end/sdk/NetworkWorkspaceBinding.js
@@ -129,8 +129,8 @@ WebInspector.NetworkWorkspaceBinding.prototype = {
{
var splitURL = WebInspector.ParsedURL.splitURL(url);
var projectName = splitURL[0];
- var parentPath = splitURL.slice(1, splitURL.length - 1).join("/");
- var name = splitURL[splitURL.length - 1];
+ var parentPath = decodeURI(splitURL.slice(1, splitURL.length - 1).join("/"));
+ var name = decodeURI(splitURL[splitURL.length - 1]);
var projectDelegate = this._projectDelegate(projectName, isContentScript || false);
var path = projectDelegate.addFile(parentPath, name, url, contentProvider);
var uiSourceCode = /** @type {!WebInspector.UISourceCode} */ (this._workspace.uiSourceCode(projectDelegate.id(), path));
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698