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

Unified Diff: Source/devtools/front_end/workspace/Workspace.js

Issue 656453002: DevTools: [SSP] show links for matched styles with spaces in source URL (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebaseline 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 | « Source/devtools/front_end/common/ParsedURL.js ('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/workspace/Workspace.js
diff --git a/Source/devtools/front_end/workspace/Workspace.js b/Source/devtools/front_end/workspace/Workspace.js
index 5b854ae9ee58034cb02d6f84565efb98896753af..55ec257c8f016e06707d0ac3075d18321f3c4b9d 100644
--- a/Source/devtools/front_end/workspace/Workspace.js
+++ b/Source/devtools/front_end/workspace/Workspace.js
@@ -732,7 +732,7 @@ WebInspector.Workspace.prototype = {
*/
_networkUISourceCodeForURL: function(url)
{
- var splitURL = WebInspector.ParsedURL.splitURL(url);
+ var splitURL = WebInspector.ParsedURL.splitURLIntoPathComponents(url);
var projectId = splitURL[0];
var project = this.project(projectId);
return project ? project.uiSourceCode(splitURL.slice(1).join("/")) : null;
@@ -744,7 +744,7 @@ WebInspector.Workspace.prototype = {
*/
_contentScriptUISourceCodeForURL: function(url)
{
- var splitURL = WebInspector.ParsedURL.splitURL(url);
+ var splitURL = WebInspector.ParsedURL.splitURLIntoPathComponents(url);
var projectId = "contentscripts:" + splitURL[0];
var project = this.project(projectId);
return project ? project.uiSourceCode(splitURL.slice(1).join("/")) : null;
« no previous file with comments | « Source/devtools/front_end/common/ParsedURL.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698