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

Unified Diff: third_party/WebKit/LayoutTests/inspector/components/linkifier.html

Issue 2493373002: DevTools: rename WebInspector into modules. (Closed)
Patch Set: for bots 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/components/linkifier.html
diff --git a/third_party/WebKit/LayoutTests/inspector/components/linkifier.html b/third_party/WebKit/LayoutTests/inspector/components/linkifier.html
index 628ecdf4b25bcd8f74dda2298be426081ccc2feb..dd50816f2f644f68883497b3b01cffe28d546e4f 100644
--- a/third_party/WebKit/LayoutTests/inspector/components/linkifier.html
+++ b/third_party/WebKit/LayoutTests/inspector/components/linkifier.html
@@ -16,7 +16,7 @@ function test()
function debuggerTest()
{
- var target = WebInspector.targetManager.mainTarget();
+ var target = SDK.targetManager.mainTarget();
var url = target.inspectedURL();
var scripts = InspectorTest.debuggerModel.scripts;
for (var scriptId in scripts) {
@@ -29,7 +29,7 @@ function test()
dumpLiveLocationsCount();
- var linkifier = new WebInspector.Linkifier();
+ var linkifier = new Components.Linkifier();
InspectorTest.addResult("Created linkifier");
dumpLiveLocationsCount();
@@ -54,15 +54,15 @@ function test()
dumpLiveLocationsCount();
// Ensures urls with lots of slashes does not bog down the regex.
- WebInspector.linkifyStringAsFragment("/".repeat(1000));
- WebInspector.linkifyStringAsFragment("/a/".repeat(1000));
+ Components.linkifyStringAsFragment("/".repeat(1000));
+ Components.linkifyStringAsFragment("/a/".repeat(1000));
InspectorTest.completeTest();
}
function dumpLiveLocationsCount()
{
- InspectorTest.addResult("Live locations count: " + WebInspector.debuggerWorkspaceBinding._ensureInfoForScript(script)._locations.size);
+ InspectorTest.addResult("Live locations count: " + Bindings.debuggerWorkspaceBinding._ensureInfoForScript(script)._locations.size);
InspectorTest.addResult("");
}
}

Powered by Google App Engine
This is Rietveld 408576698