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/jump-to-previous-editing-location.html

Issue 2512353002: [DevTools] Refactor Linkifier to unify link processing. (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/LayoutTests/inspector/jump-to-previous-editing-location.html
diff --git a/third_party/WebKit/LayoutTests/inspector/jump-to-previous-editing-location.html b/third_party/WebKit/LayoutTests/inspector/jump-to-previous-editing-location.html
index 8e363bc5d3bef13e4eabb7a5cf947565d76e73b8..2f329123b286574a3dd4a27835af7133ddf73f1a 100644
--- a/third_party/WebKit/LayoutTests/inspector/jump-to-previous-editing-location.html
+++ b/third_party/WebKit/LayoutTests/inspector/jump-to-previous-editing-location.html
@@ -223,7 +223,8 @@ function test()
var linkifier = new Components.Linkifier();
var anchorURI = uiSourceCode.url();
var anchor = linkifier.linkifyScriptLocation(SDK.targetManager.mainTarget(), null, anchorURI, 10, 1);
- Common.Revealer.revealPromise(anchor[Components.Linkifier._uiLocationSymbol]).then(function() {
+ var info = Components.Linkifier._linkInfo(anchor);
+ Common.Revealer.revealPromise(info.uiLocation).then(function() {
InspectorTest.addResult("Selection: " + panel.visibleView.textEditor.selection().toString());
dumpSelection("Showed anchor in " + anchorURI.split("/").pop() + " with line 333 column 3");
rollback();

Powered by Google App Engine
This is Rietveld 408576698