| Index: third_party/WebKit/LayoutTests/http/tests/inspector/search/sources-search-scope-many-projects.html
|
| diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector/search/sources-search-scope-many-projects.html b/third_party/WebKit/LayoutTests/http/tests/inspector/search/sources-search-scope-many-projects.html
|
| index 00012882eb36a59284ffdc723afab7446d23cb78..483e69ff43c098ffd40f3b0171f4725c4e4a2a77 100644
|
| --- a/third_party/WebKit/LayoutTests/http/tests/inspector/search/sources-search-scope-many-projects.html
|
| +++ b/third_party/WebKit/LayoutTests/http/tests/inspector/search/sources-search-scope-many-projects.html
|
| @@ -45,7 +45,7 @@ function test()
|
| fs.reportCreated(fileSystemCreated);
|
| }
|
|
|
| - function fileSystemCreated()
|
| + async function fileSystemCreated()
|
| {
|
| UI.viewManager.showView("sources.search");
|
|
|
| @@ -57,8 +57,8 @@ function test()
|
| }
|
| }
|
|
|
| - addNetworkUISourceCode("http://localhost/search.html", resources["search.html"]);
|
| - jsNetworkUISourceCode = addNetworkUISourceCode("http://localhost/search.js", resources["search.js"]);
|
| + await InspectorTest.addScriptUISourceCode("http://localhost/search.html", resources["search.html"]);
|
| + jsNetworkUISourceCode = await InspectorTest.addScriptUISourceCode("http://localhost/search.js", resources["search.js"]);
|
| InspectorTest.runTestSuite(testSuite);
|
| }
|
|
|
| @@ -71,14 +71,6 @@ function test()
|
| });
|
| }
|
|
|
| - function addNetworkUISourceCode(url, content)
|
| - {
|
| - var contentProvider = Common.StaticContentProvider.fromString(url, Common.resourceTypes.Script, content);
|
| - var networkProject = Bindings.NetworkProject.forTarget(SDK.targetManager.mainTarget());
|
| - var uiSourceCode = networkProject.addFile(contentProvider, InspectorTest.mainFrame(), false);
|
| - return uiSourceCode;
|
| - }
|
| -
|
| InspectorFrontendHost.searchInPath = function(requestId, path, query)
|
| {
|
| setTimeout(reply);
|
|
|