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

Unified Diff: third_party/WebKit/LayoutTests/inspector/extensions/extensions-resources.html

Issue 2527763003: [DevTools] Turn links into spans to prevent default behavior. (Closed)
Patch Set: fixed comments 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/extensions/extensions-resources.html
diff --git a/third_party/WebKit/LayoutTests/inspector/extensions/extensions-resources.html b/third_party/WebKit/LayoutTests/inspector/extensions/extensions-resources.html
index 3bae786574d112b5af3e53c92ce420be9feccf43..326057adbda2f1ef9f2d4e1d798fb5369656c797 100644
--- a/third_party/WebKit/LayoutTests/inspector/extensions/extensions-resources.html
+++ b/third_party/WebKit/LayoutTests/inspector/extensions/extensions-resources.html
@@ -28,7 +28,7 @@ InspectorTest.clickOnURL = function()
{
UI.viewManager.showView("console").then(() => {
Console.ConsoleView.instance()._updateMessageList();
- var xpathResult = document.evaluate("//a[starts-with(., 'test-script.js')]",
+ var xpathResult = document.evaluate("//span[starts-with(., 'test-script.js')]",
Console.ConsoleView.instance().element, null, XPathResult.ANY_UNORDERED_NODE_TYPE, null);
var click = document.createEvent("MouseEvent");

Powered by Google App Engine
This is Rietveld 408576698