| Index: third_party/WebKit/Source/platform/v8_inspector/js_protocol.json
|
| diff --git a/third_party/WebKit/Source/platform/v8_inspector/js_protocol.json b/third_party/WebKit/Source/platform/v8_inspector/js_protocol.json
|
| index 314cb5f13cb2141b776fb415bfda2986e8efa01d..601593fe5c69136667e5421415f090c0ed2dafbe 100644
|
| --- a/third_party/WebKit/Source/platform/v8_inspector/js_protocol.json
|
| +++ b/third_party/WebKit/Source/platform/v8_inspector/js_protocol.json
|
| @@ -215,6 +215,7 @@
|
| },
|
| {
|
| "name": "callFunctionOn",
|
| + "async": true,
|
| "parameters": [
|
| { "name": "objectId", "$ref": "RemoteObjectId", "description": "Identifier of the object to call function on." },
|
| { "name": "functionDeclaration", "type": "string", "description": "Declaration of the function to call." },
|
| @@ -222,11 +223,13 @@
|
| { "name": "doNotPauseOnExceptionsAndMuteConsole", "type": "boolean", "optional": true, "description": "Specifies whether function call should stop on exceptions and mute console. Overrides setPauseOnException state.", "hidden": true },
|
| { "name": "returnByValue", "type": "boolean", "optional": true, "description": "Whether the result is expected to be a JSON object which should be sent by value." },
|
| { "name": "generatePreview", "type": "boolean", "optional": true, "hidden": true, "description": "Whether preview should be generated for the result." },
|
| - { "name": "userGesture", "type": "boolean", "optional": true, "hidden": true, "description": "Whether execution should be treated as initiated by user in the UI." }
|
| + { "name": "userGesture", "type": "boolean", "optional": true, "hidden": true, "description": "Whether execution should be treated as initiated by user in the UI." },
|
| + { "name": "awaitPromise", "type": "boolean", "optional":true, "hidden": true, "description": "Whether execution should wait for promise to be resolved. If the result of evaluation is not a Promise, it's considered to be an error." }
|
| ],
|
| "returns": [
|
| { "name": "result", "$ref": "RemoteObject", "description": "Call result." },
|
| - { "name": "wasThrown", "type": "boolean", "optional": true, "description": "True if the result was thrown during the evaluation." }
|
| + { "name": "wasThrown", "type": "boolean", "optional": true, "description": "True if the result was thrown during the evaluation." },
|
| + { "name": "exceptionDetails", "$ref": "ExceptionDetails", "optional": true, "hidden": true, "description": "Exception details."}
|
| ],
|
| "description": "Calls function with given declaration on the given object. Object group of the result is inherited from the target object."
|
| },
|
|
|