| Index: third_party/WebKit/LayoutTests/inspector-enabled/sources/debugger/linkifier.html
|
| diff --git a/third_party/WebKit/LayoutTests/inspector-enabled/sources/debugger/linkifier.html b/third_party/WebKit/LayoutTests/inspector-enabled/sources/debugger/linkifier.html
|
| index 7445b61a43ebd93840672280445c4a38922ecc5e..02d39bb6998d11c9f89c61eccc10f29b211f945d 100644
|
| --- a/third_party/WebKit/LayoutTests/inspector-enabled/sources/debugger/linkifier.html
|
| +++ b/third_party/WebKit/LayoutTests/inspector-enabled/sources/debugger/linkifier.html
|
| @@ -46,13 +46,13 @@ function test()
|
| var scripts = InspectorTest.debuggerModel.scripts;
|
| for (var scriptId in scripts) {
|
| var scriptCandidate = scripts[scriptId];
|
| - if (scriptCandidate.sourceURL === InspectorTest.resourceTreeModel.inspectedPageURL() && scriptCandidate.lineOffset === 4) {
|
| + if (scriptCandidate.sourceURL === InspectorTest.mainTarget.inspectedURL() && scriptCandidate.lineOffset === 4) {
|
| script = scriptCandidate;
|
| break;
|
| }
|
| }
|
|
|
| - uiSourceCode = WebInspector.workspace.uiSourceCodeForURL(InspectorTest.resourceTreeModel.inspectedPageURL());
|
| + uiSourceCode = WebInspector.workspace.uiSourceCodeForURL(InspectorTest.mainTarget.inspectedURL());
|
| var linkifyMe = "at triggerError (http://localhost/show/:22:11)";
|
| var fragment = WebInspector.linkifyStringAsFragment(linkifyMe);
|
| var anchor = fragment.querySelector('a');
|
| @@ -62,7 +62,7 @@ function test()
|
|
|
| linkifier = new WebInspector.Linkifier();
|
| var count1 = liveLocationsCount();
|
| - link = linkifier.linkifyScriptLocation(WebInspector.targetManager.mainTarget(), null, InspectorTest.resourceTreeModel.inspectedPageURL(), 8, 0, "dummy-class");
|
| + link = linkifier.linkifyScriptLocation(WebInspector.targetManager.mainTarget(), null, InspectorTest.mainTarget.inspectedURL(), 8, 0, "dummy-class");
|
| var count2 = liveLocationsCount();
|
|
|
| InspectorTest.addResult("listeners added on raw source code: " + (count2 - count1));
|
|
|