Index: Source/devtools/front_end/ConsoleMessage.js |
diff --git a/Source/devtools/front_end/ConsoleMessage.js b/Source/devtools/front_end/ConsoleMessage.js |
index 6bde3492bccaf1a1881326ea325f70cdfe4f3325..8d7a68c45562bd4ea095b2e790c05642bd688fd4 100644 |
--- a/Source/devtools/front_end/ConsoleMessage.js |
+++ b/Source/devtools/front_end/ConsoleMessage.js |
@@ -149,7 +149,7 @@ WebInspector.ConsoleMessageImpl.prototype = { |
} |
} else { |
if (this.url) { |
- var isExternal = !WebInspector.resourceForURL(this.url); |
+ var isExternal = !WebInspector.resourceForURL(this.url) && !WebInspector.workspace.uiSourceCodeForURL(this.url); |
this._anchorElement = WebInspector.linkifyURLAsNode(this.url, this.url, "console-message-url", isExternal); |
} |
this._messageElement = this._format([this._messageText]); |