OLD | NEW |
---|---|
1 { | 1 { |
2 "version": { "major": "1", "minor": "1" }, | 2 "version": { "major": "1", "minor": "1" }, |
3 "domains": [{ | 3 "domains": [{ |
4 "domain": "Runtime", | 4 "domain": "Runtime", |
5 "description": "Runtime domain exposes JavaScript runtime by means of re mote evaluation and mirror objects. Evaluation results are returned as mirror ob ject that expose object type, string representation and unique identifier that c an be used for further object reference. Original objects are maintained in memo ry unless they are either explicitly released or are released along with the oth er objects in their object group.", | 5 "description": "Runtime domain exposes JavaScript runtime by means of re mote evaluation and mirror objects. Evaluation results are returned as mirror ob ject that expose object type, string representation and unique identifier that c an be used for further object reference. Original objects are maintained in memo ry unless they are either explicitly released or are released along with the oth er objects in their object group.", |
6 "types": [ | 6 "types": [ |
7 { | 7 { |
8 "id": "ScriptId", | 8 "id": "ScriptId", |
9 "type": "string", | 9 "type": "string", |
10 "description": "Unique script identifier." | 10 "description": "Unique script identifier." |
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
189 { "name": "userGesture", "type": "boolean", "optional": true , "hidden": true, "description": "Whether execution should be treated as initiat ed by user in the UI." } | 189 { "name": "userGesture", "type": "boolean", "optional": true , "hidden": true, "description": "Whether execution should be treated as initiat ed by user in the UI." } |
190 ], | 190 ], |
191 "returns": [ | 191 "returns": [ |
192 { "name": "result", "$ref": "RemoteObject", "description": " Evaluation result." }, | 192 { "name": "result", "$ref": "RemoteObject", "description": " Evaluation result." }, |
193 { "name": "wasThrown", "type": "boolean", "optional": true, "description": "True if the result was thrown during the evaluation." }, | 193 { "name": "wasThrown", "type": "boolean", "optional": true, "description": "True if the result was thrown during the evaluation." }, |
194 { "name": "exceptionDetails", "$ref": "ExceptionDetails", "o ptional": true, "hidden": true, "description": "Exception details."} | 194 { "name": "exceptionDetails", "$ref": "ExceptionDetails", "o ptional": true, "hidden": true, "description": "Exception details."} |
195 ], | 195 ], |
196 "description": "Evaluates expression on global object." | 196 "description": "Evaluates expression on global object." |
197 }, | 197 }, |
198 { | 198 { |
199 "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
| |
200 "hidden": true, | |
201 "async": true, | |
202 "parameters": [ | |
203 { "name": "promiseObjectId", "$ref": "RemoteObjectId", "desc ription": "Identifier of the promise." }, | |
204 { "name": "returnByValue", "type": "boolean", "optional": tr ue, "description": "Whether the result is expected to be a JSON object that shou ld be sent by value." }, | |
205 { "name": "generatePreview", "type": "boolean", "optional": true, "hidden": true, "description": "Whether preview should be generated for th e result." } | |
206 ], | |
207 "returns": [ | |
208 { "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.
| |
209 { "name": "rejectedValue", "$ref": "RemoteObject", "optional ": true } | |
210 ] | |
211 }, | |
212 { | |
199 "name": "callFunctionOn", | 213 "name": "callFunctionOn", |
200 "parameters": [ | 214 "parameters": [ |
201 { "name": "objectId", "$ref": "RemoteObjectId", "description ": "Identifier of the object to call function on." }, | 215 { "name": "objectId", "$ref": "RemoteObjectId", "description ": "Identifier of the object to call function on." }, |
202 { "name": "functionDeclaration", "type": "string", "descript ion": "Declaration of the function to call." }, | 216 { "name": "functionDeclaration", "type": "string", "descript ion": "Declaration of the function to call." }, |
203 { "name": "arguments", "type": "array", "items": { "$ref": " CallArgument", "description": "Call argument." }, "optional": true, "description ": "Call arguments. All call arguments must belong to the same JavaScript world as the target object." }, | 217 { "name": "arguments", "type": "array", "items": { "$ref": " CallArgument", "description": "Call argument." }, "optional": true, "description ": "Call arguments. All call arguments must belong to the same JavaScript world as the target object." }, |
204 { "name": "doNotPauseOnExceptionsAndMuteConsole", "type": "b oolean", "optional": true, "description": "Specifies whether function call shoul d stop on exceptions and mute console. Overrides setPauseOnException state.", "h idden": true }, | 218 { "name": "doNotPauseOnExceptionsAndMuteConsole", "type": "b oolean", "optional": true, "description": "Specifies whether function call shoul d stop on exceptions and mute console. Overrides setPauseOnException state.", "h idden": true }, |
205 { "name": "returnByValue", "type": "boolean", "optional": tr ue, "description": "Whether the result is expected to be a JSON object which sho uld be sent by value." }, | 219 { "name": "returnByValue", "type": "boolean", "optional": tr ue, "description": "Whether the result is expected to be a JSON object which sho uld be sent by value." }, |
206 { "name": "generatePreview", "type": "boolean", "optional": true, "hidden": true, "description": "Whether preview should be generated for th e result." }, | 220 { "name": "generatePreview", "type": "boolean", "optional": true, "hidden": true, "description": "Whether preview should be generated for th e result." }, |
207 { "name": "userGesture", "type": "boolean", "optional": true , "hidden": true, "description": "Whether execution should be treated as initiat ed by user in the UI." } | 221 { "name": "userGesture", "type": "boolean", "optional": true , "hidden": true, "description": "Whether execution should be treated as initiat ed by user in the UI." } |
208 ], | 222 ], |
(...skipping 775 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
984 { | 998 { |
985 "name": "heapStatsUpdate", | 999 "name": "heapStatsUpdate", |
986 "description": "If heap objects tracking has been started then b ackend may send update for one or more fragments", | 1000 "description": "If heap objects tracking has been started then b ackend may send update for one or more fragments", |
987 "parameters": [ | 1001 "parameters": [ |
988 { "name": "statsUpdate", "type": "array", "items": { "type": "integer" }, "description": "An array of triplets. Each triplet describes a fra gment. The first integer is the fragment index, the second integer is a total co unt of objects for the fragment, the third integer is a total size of the object s for the fragment."} | 1002 { "name": "statsUpdate", "type": "array", "items": { "type": "integer" }, "description": "An array of triplets. Each triplet describes a fra gment. The first integer is the fragment index, the second integer is a total co unt of objects for the fragment, the third integer is a total size of the object s for the fragment."} |
989 ] | 1003 ] |
990 } | 1004 } |
991 ] | 1005 ] |
992 }] | 1006 }] |
993 } | 1007 } |
OLD | NEW |