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

Unified Diff: third_party/WebKit/Source/devtools/front_end/workspace/IsolatedFileSystem.js

Issue 2422803002: DevTools: prefix node.js scripts's sourceURL with "file://" to make them a valid url (Closed)
Patch Set: WI.ParsedURL.platformPathToURL Created 4 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
Index: third_party/WebKit/Source/devtools/front_end/workspace/IsolatedFileSystem.js
diff --git a/third_party/WebKit/Source/devtools/front_end/workspace/IsolatedFileSystem.js b/third_party/WebKit/Source/devtools/front_end/workspace/IsolatedFileSystem.js
index 52981971e2c2ebd5472d151d839c725cd8e436af..155cd3e24a441a18fe047a75ae243639a43ed314 100644
--- a/third_party/WebKit/Source/devtools/front_end/workspace/IsolatedFileSystem.js
+++ b/third_party/WebKit/Source/devtools/front_end/workspace/IsolatedFileSystem.js
@@ -664,7 +664,7 @@ WebInspector.IsolatedFileSystem.prototype = {
*/
function innerCallback(files)
{
- files = files.map(embedderPath => WebInspector.IsolatedFileSystemManager.normalizePath(embedderPath));
+ files = files.map(embedderPath => WebInspector.ParsedURL.platformPathToURL(embedderPath));
progress.worked(1);
callback(files);
}

Powered by Google App Engine
This is Rietveld 408576698