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 387ef9aca3f4ca11c59f5bb21c2dd6793e43ae36..dc4b6858bd667b778309f1b9893162343b129459 100644 |
--- a/third_party/WebKit/Source/platform/v8_inspector/js_protocol.json |
+++ b/third_party/WebKit/Source/platform/v8_inspector/js_protocol.json |
@@ -196,6 +196,20 @@ |
"description": "Evaluates expression on global object." |
}, |
{ |
+ "name": "promiseThen", |
pfeldman
2016/07/28 21:05:38
name: awaitPromise.
also... could we get followin
kozy
2016/07/28 22:54:09
awaitPromise - done.
I'm not sure about additiona
|
+ "hidden": true, |
+ "async": true, |
+ "parameters": [ |
+ { "name": "promiseObjectId", "$ref": "RemoteObjectId", "description": "Identifier of the promise." }, |
+ { "name": "returnByValue", "type": "boolean", "optional": true, "description": "Whether the result is expected to be a JSON object that should be sent by value." }, |
+ { "name": "generatePreview", "type": "boolean", "optional": true, "hidden": true, "description": "Whether preview should be generated for the result." } |
+ ], |
+ "returns": [ |
+ { "name": "resolvedValue", "$ref": "RemoteObject", "optional": true }, |
dgozman
2016/07/28 00:07:56
Let's add description telling that either on or th
kozy
2016/07/28 22:54:09
Done.
|
+ { "name": "rejectedValue", "$ref": "RemoteObject", "optional": true } |
+ ] |
+ }, |
+ { |
"name": "callFunctionOn", |
"parameters": [ |
{ "name": "objectId", "$ref": "RemoteObjectId", "description": "Identifier of the object to call function on." }, |