Index: Source/WebCore/inspector/front-end/inspector.js |
=================================================================== |
--- Source/WebCore/inspector/front-end/inspector.js (revision 142662) |
+++ Source/WebCore/inspector/front-end/inspector.js (working copy) |
@@ -565,7 +565,7 @@ |
WebInspector.documentClick = function(event) |
{ |
var anchor = event.target.enclosingNodeOrSelfWithNodeName("a"); |
- if (!anchor || anchor.target === "_blank") |
+ if (!anchor || (anchor.target === "_blank" && !WebInspector.ProfileURLRegExp.exec(anchor.href))) |
return; |
// Prevent the link from navigating, since we don't do any navigation by following links normally. |