Index: Source/devtools/front_end/CompilerScriptMapping.js |
diff --git a/Source/devtools/front_end/CompilerScriptMapping.js b/Source/devtools/front_end/CompilerScriptMapping.js |
index fc8acf38095ca7976ff3a1e19731f29236585333..10cb50ef52c7b738ea79b3d02c90f365dc6b2a18 100644 |
--- a/Source/devtools/front_end/CompilerScriptMapping.js |
+++ b/Source/devtools/front_end/CompilerScriptMapping.js |
@@ -131,7 +131,7 @@ WebInspector.CompilerScriptMapping.prototype = { |
continue; |
this._sourceMapForURL[sourceURL] = sourceMap; |
if (!this._workspace.hasMappingForURL(sourceURL) && !this._workspace.uiSourceCodeForURL(sourceURL)) { |
- var contentProvider = sourceMap.sourceContentProvider(sourceURL, WebInspector.resourceTypes.Script, "text/javascript"); |
+ var contentProvider = sourceMap.sourceContentProvider(sourceURL, WebInspector.resourceTypes.Script); |
this._networkWorkspaceProvider.addFileForURL(sourceURL, contentProvider, true); |
} |
var uiSourceCode = this._workspace.uiSourceCodeForURL(sourceURL); |