| Index: third_party/WebKit/LayoutTests/http/tests/inspector/resources/extension-main.js
|
| diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector/resources/extension-main.js b/third_party/WebKit/LayoutTests/http/tests/inspector/resources/extension-main.js
|
| index 5bd6c2e0b5cffd5a87575315c98718cb53975ef5..63c400899400b0aaf13d5f7e87a37d187e3f49a9 100644
|
| --- a/third_party/WebKit/LayoutTests/http/tests/inspector/resources/extension-main.js
|
| +++ b/third_party/WebKit/LayoutTests/http/tests/inspector/resources/extension-main.js
|
| @@ -16,7 +16,7 @@ function dumpObject(object, nondeterministicProps, prefix, firstLinePrefix)
|
| for (var property in object)
|
| propertyNames.push(property);
|
| propertyNames.sort();
|
| -
|
| +
|
| for (var i = 0; i < propertyNames.length; ++i) {
|
| var prop = propertyNames[i];
|
| var prefixWithName = prefix + " " + prop + " : ";
|
| @@ -52,7 +52,7 @@ function evaluateOnFrontend(expression, callback)
|
|
|
| function invokePageFunctionAsync(functionName, callback)
|
| {
|
| - evaluateOnFrontend("InspectorTest.invokePageFunctionAsync('" + functionName + "', reply)", callback);
|
| + evaluateOnFrontend("InspectorTest.callFunctionInPageAsync('" + functionName + "').then(() => reply())", callback);
|
| }
|
|
|
| function output(message)
|
|
|