Commit 125ae871 authored by Jack Lynch's avatar Jack Lynch Committed by Commit Bot

DevTools: Fix and reenable linkifier tests

This CL fixes tests that will be broken by
https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/1891546

Bug: 963183
Change-Id: If58c767086ea176c430cf764fe9245312ebc6ab9
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1721843Reviewed-by: default avatarRobert Paveza <Rob.Paveza@microsoft.com>
Commit-Queue: Jack Lynch <jalyn@microsoft.com>
Cr-Commit-Position: refs/heads/master@{#729878}
parent 8e2d9a0c
......@@ -206,7 +206,7 @@
function onScriptSource(uiSourceCode) {
var linkifier = new Components.Linkifier();
var anchorURI = uiSourceCode.url();
var anchor = linkifier.linkifyScriptLocation(SDK.targetManager.mainTarget(), null, anchorURI, 10, 1);
var anchor = linkifier.linkifyScriptLocation(SDK.targetManager.mainTarget(), null, anchorURI, 10, {columnNumber: 1});
var info = Components.Linkifier._linkInfo(anchor);
Common.Revealer.reveal(info.uiLocation).then(function() {
TestRunner.addResult('Selection: ' + panel.visibleView.textEditor.selection().toString());
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment