Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(238)

Unified Diff: third_party/WebKit/Source/devtools/front_end/main/Main.js

Issue 2512013002: [DevTools] Handle external link clicks and context menu separately. (Closed)
Patch Set: rebased Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/devtools/front_end/main/Main.js
diff --git a/third_party/WebKit/Source/devtools/front_end/main/Main.js b/third_party/WebKit/Source/devtools/front_end/main/Main.js
index 5dca19b3aa634660c09845792fe3752ad71c65c2..261dddbc9433ed6dd9053c57667336e6d13947b7 100644
--- a/third_party/WebKit/Source/devtools/front_end/main/Main.js
+++ b/third_party/WebKit/Source/devtools/front_end/main/Main.js
@@ -391,10 +391,7 @@ Main.Main = class {
InspectorFrontendHost.openInNewTab(anchor.href);
}
- if (!anchor.classList.contains('webkit-html-external-link'))
- followLink();
- else
- InspectorFrontendHost.openInNewTab(anchor.href);
+ followLink();
}
_registerShortcuts() {

Powered by Google App Engine
This is Rietveld 408576698