| Index: third_party/WebKit/LayoutTests/inspector/sources/sources-panel-extension-names.html
|
| diff --git a/third_party/WebKit/LayoutTests/inspector/sources/sources-panel-extension-names.html b/third_party/WebKit/LayoutTests/inspector/sources/sources-panel-extension-names.html
|
| index 2e123c7e71e85b2dc616bceb86b299e7acd0f9f6..411347a0bfc92425d789b5025a2dc76bd508b923 100644
|
| --- a/third_party/WebKit/LayoutTests/inspector/sources/sources-panel-extension-names.html
|
| +++ b/third_party/WebKit/LayoutTests/inspector/sources/sources-panel-extension-names.html
|
| @@ -17,11 +17,10 @@ function test()
|
| var mockContentScriptURL = mockExecutionContext.origin + "/script.js";
|
|
|
| InspectorTest.runTestSuite([
|
| - function testAddExecutionContextBeforeFile(next)
|
| + async function testAddExecutionContextBeforeFile(next)
|
| {
|
| InspectorTest.runtimeModel._executionContextCreated(mockExecutionContext);
|
| - var contentProvider = Common.StaticContentProvider.fromString(mockContentScriptURL, Common.resourceTypes.Script, "");
|
| - Bindings.NetworkProject.forTarget(InspectorTest.mainTarget).addFile(contentProvider, InspectorTest.mainFrame(), true);
|
| + await InspectorTest.addScriptUISourceCode(mockContentScriptURL, '', true, 1234567);
|
| InspectorTest.dumpNavigatorView(contentScriptsNavigatorView);
|
| next();
|
| },
|
|
|