Index: Source/devtools/front_end/DefaultScriptMapping.js |
diff --git a/Source/devtools/front_end/DefaultScriptMapping.js b/Source/devtools/front_end/DefaultScriptMapping.js |
index f0015e8913b868d4c80634aa0464affbad76ff65..9654d31be42289b91f47369410528bd8b201e0e8 100644 |
--- a/Source/devtools/front_end/DefaultScriptMapping.js |
+++ b/Source/devtools/front_end/DefaultScriptMapping.js |
@@ -147,7 +147,7 @@ WebInspector.DebuggerProjectDelegate.prototype = { |
var contentProvider = script.isInlineScript() ? new WebInspector.ConcatenatedScriptsContentProvider([script]) : script; |
var splitURL = WebInspector.ParsedURL.splitURL(script.sourceURL); |
var name = splitURL[splitURL.length - 1]; |
- name = "[VM] " + name + " (" + script.scriptId + ")"; |
+ name = "VM" + script.scriptId + (name ? " " + name : ""); |
return this.addContentProvider("", name, script.sourceURL, contentProvider, false, script.isContentScript); |
}, |