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

Unified Diff: third_party/WebKit/LayoutTests/inspector/console/console-log-linkify-links.html

Issue 2512873002: [DevTools] Do not use external links for resources anymore. (Closed)
Patch Set: 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/LayoutTests/inspector/console/console-log-linkify-links.html
diff --git a/third_party/WebKit/LayoutTests/inspector/console/console-log-linkify-links.html b/third_party/WebKit/LayoutTests/inspector/console/console-log-linkify-links.html
index ecd620ffb172999d1bdb703373ce3b8b0ce6bdd1..09c7dcabcb8a3ac09e439ae64b315c8fe573f68b 100644
--- a/third_party/WebKit/LayoutTests/inspector/console/console-log-linkify-links.html
+++ b/third_party/WebKit/LayoutTests/inspector/console/console-log-linkify-links.html
@@ -20,8 +20,9 @@ function test()
for (var i = 0; i < viewMessages.length; ++i) {
var uiMessage = viewMessages[i];
var element = uiMessage.contentElement();
- var href = element.querySelector(".webkit-html-external-link");
- InspectorTest.addResult("linked url:" + href.href);
+ var hrefs = element.querySelectorAll(".webkit-html-resource-link");
+ for (var href of hrefs)
+ InspectorTest.addResult("linked url:" + href.href);
}
InspectorTest.completeTest();

Powered by Google App Engine
This is Rietveld 408576698