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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/inspector/persistence/persistence-search-across-all-files.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/http/tests/inspector/persistence/persistence-search-across-all-files.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector/persistence/persistence-search-across-all-files.html b/third_party/WebKit/LayoutTests/http/tests/inspector/persistence/persistence-search-across-all-files.html
index 4e29651b8f64d35a952ad2d727ab9914ef1ff9a5..f6fbcd107630bc642be92c142477aaaa772d0c30 100644
--- a/third_party/WebKit/LayoutTests/http/tests/inspector/persistence/persistence-search-across-all-files.html
+++ b/third_party/WebKit/LayoutTests/http/tests/inspector/persistence/persistence-search-across-all-files.html
@@ -13,15 +13,15 @@ function test()
{
var fs = new InspectorTest.TestFileSystem("file:///var/www");
var fsEntry = InspectorTest.addFooJSFile(fs);
- var scope = new WebInspector.SourcesSearchScope();
+ var scope = new Sources.SourcesSearchScope();
fs.reportCreated(function() { });
InspectorTest.runTestSuite([
function waitForUISourceCodes(next)
{
Promise.all([
- InspectorTest.waitForUISourceCode("foo.js", WebInspector.projectTypes.Network),
- InspectorTest.waitForUISourceCode("foo.js", WebInspector.projectTypes.FileSystem)
+ InspectorTest.waitForUISourceCode("foo.js", Workspace.projectTypes.Network),
+ InspectorTest.waitForUISourceCode("foo.js", Workspace.projectTypes.FileSystem)
]).then(next);
},
@@ -29,7 +29,7 @@ function test()
function addFileMapping(next)
{
- WebInspector.fileSystemMapping.addFileMapping(fs.fileSystemPath, "http://127.0.0.1:8000", "/");
+ Workspace.fileSystemMapping.addFileMapping(fs.fileSystemPath, "http://127.0.0.1:8000", "/");
InspectorTest.waitForBinding("foo.js").then(next);
},
@@ -38,7 +38,7 @@ function test()
function dumpSearchResults(next)
{
- var searchConfig = new WebInspector.SearchConfig("window.foo f:foo", true, false);
+ var searchConfig = new Workspace.SearchConfig("window.foo f:foo", true, false);
InspectorTest.runSearchAndDumpResults(scope, searchConfig, true, next);
}
@@ -49,7 +49,7 @@ function test()
function reply()
{
var paths = ["/var/www" + fsEntry.fullPath];
- WebInspector.isolatedFileSystemManager._onSearchCompleted({data: {requestId: requestId, fileSystemPath: path, files: paths}});
+ Workspace.isolatedFileSystemManager._onSearchCompleted({data: {requestId: requestId, fileSystemPath: path, files: paths}});
}
}
};

Powered by Google App Engine
This is Rietveld 408576698