Title: [141890] trunk/Source/WebCore
- Revision
- 141890
- Author
- [email protected]
- Date
- 2013-02-05 06:18:36 -0800 (Tue, 05 Feb 2013)
Log Message
Web Inspector: Clicking a profile's title in the console loads about:blank.
https://bugs.webkit.org/show_bug.cgi?id=107949
Patch by Eugene Klyuchnikov <[email protected]> on 2013-02-05
Reviewed by Vsevolod Vlasov.
Quick fix for regression.
* inspector/front-end/inspector.js:
Avoid "exit route" when URL is a profile URL.
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (141889 => 141890)
--- trunk/Source/WebCore/ChangeLog 2013-02-05 13:54:16 UTC (rev 141889)
+++ trunk/Source/WebCore/ChangeLog 2013-02-05 14:18:36 UTC (rev 141890)
@@ -1,3 +1,15 @@
+2013-02-05 Eugene Klyuchnikov <[email protected]>
+
+ Web Inspector: Clicking a profile's title in the console loads about:blank.
+ https://bugs.webkit.org/show_bug.cgi?id=107949
+
+ Reviewed by Vsevolod Vlasov.
+
+ Quick fix for regression.
+
+ * inspector/front-end/inspector.js:
+ Avoid "exit route" when URL is a profile URL.
+
2013-02-05 Kent Tamura <[email protected]>
INPUT_MULTIPLE_FIELDS_UI: element.focus() should not focus on disabled sub-fields.
Modified: trunk/Source/WebCore/inspector/front-end/inspector.js (141889 => 141890)
--- trunk/Source/WebCore/inspector/front-end/inspector.js 2013-02-05 13:54:16 UTC (rev 141889)
+++ trunk/Source/WebCore/inspector/front-end/inspector.js 2013-02-05 14:18:36 UTC (rev 141890)
@@ -576,7 +576,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.
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes