| Index: third_party/WebKit/LayoutTests/inspector/runtime/runtime-getProperties.html
|
| diff --git a/third_party/WebKit/LayoutTests/inspector/runtime/runtime-getProperties.html b/third_party/WebKit/LayoutTests/inspector/runtime/runtime-getProperties.html
|
| index 52b6edc6e70588f79cba95b0d40252b3f979962a..25e25b20d11adf1b54efcdbbe3054786f9fd3d75 100644
|
| --- a/third_party/WebKit/LayoutTests/inspector/runtime/runtime-getProperties.html
|
| +++ b/third_party/WebKit/LayoutTests/inspector/runtime/runtime-getProperties.html
|
| @@ -18,26 +18,17 @@ function test()
|
| }
|
|
|
| InspectorTest.runTestSuite([
|
| - function testSetUp(next)
|
| + async function testSetUp(next)
|
| {
|
| - InspectorTest.evaluateInPage("dumpObjects('Initial')", step0);
|
| + await new Promise(resolve => InspectorTest.evaluateInPage("dumpObjects('Initial')", resolve));
|
|
|
| - function step0()
|
| - {
|
| - InspectorTest.RuntimeAgent.evaluate("object1", step1);
|
| - }
|
| + var result = await InspectorTest.RuntimeAgent.evaluate("object1");
|
|
|
| - function step1(error, result, exceptionDetails)
|
| - {
|
| - obj1 = InspectorTest.runtimeModel.createRemoteObject(result);
|
| - InspectorTest.RuntimeAgent.evaluate("object2", step2);
|
| - }
|
| + obj1 = InspectorTest.runtimeModel.createRemoteObject(result);
|
| + var result = await InspectorTest.RuntimeAgent.evaluate("object2");
|
|
|
| - function step2(error, result, exceptionDetails)
|
| - {
|
| - obj2 = InspectorTest.runtimeModel.createRemoteObject(result);
|
| - next();
|
| - }
|
| + obj2 = InspectorTest.runtimeModel.createRemoteObject(result);
|
| + next();
|
| },
|
|
|
| function testGetterAndSetter(next)
|
|
|