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 171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
182 } | 182 } |
183 ], | 183 ], |
184 "commands": [ | 184 "commands": [ |
185 { | 185 { |
186 "name": "evaluate", | 186 "name": "evaluate", |
187 "async": true, | 187 "async": true, |
188 "parameters": [ | 188 "parameters": [ |
189 { "name": "expression", "type": "string", "description": "Ex
pression to evaluate." }, | 189 { "name": "expression", "type": "string", "description": "Ex
pression to evaluate." }, |
190 { "name": "objectGroup", "type": "string", "optional": true,
"description": "Symbolic group name that can be used to release multiple object
s." }, | 190 { "name": "objectGroup", "type": "string", "optional": true,
"description": "Symbolic group name that can be used to release multiple object
s." }, |
191 { "name": "includeCommandLineAPI", "type": "boolean", "optio
nal": true, "description": "Determines whether Command Line API should be availa
ble during the evaluation.", "experimental": true }, | 191 { "name": "includeCommandLineAPI", "type": "boolean", "optio
nal": true, "description": "Determines whether Command Line API should be availa
ble during the evaluation.", "experimental": true }, |
192 { "name": "doNotPauseOnExceptionsAndMuteConsole", "type": "b
oolean", "optional": true, "description": "Specifies whether evaluation should s
top on exceptions and mute console. Overrides setPauseOnException state.", "expe
rimental": true }, | 192 { "name": "silent", "type": "boolean", "optional": true, "de
scription": "In silent mode exceptions thrown during evaluation are not reported
and do not pause execution. Overrides <code>setPauseOnException</code> state.",
"experimental": true }, |
193 { "name": "contextId", "$ref": "ExecutionContextId", "option
al": true, "description": "Specifies in which execution context to perform evalu
ation. If the parameter is omitted the evaluation will be performed in the conte
xt of the inspected page." }, | 193 { "name": "contextId", "$ref": "ExecutionContextId", "option
al": true, "description": "Specifies in which execution context to perform evalu
ation. If the parameter is omitted the evaluation will be performed in the conte
xt of the inspected page." }, |
194 { "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." }, | 194 { "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." }, |
195 { "name": "generatePreview", "type": "boolean", "optional":
true, "experimental": true, "description": "Whether preview should be generated
for the result." }, | 195 { "name": "generatePreview", "type": "boolean", "optional":
true, "experimental": true, "description": "Whether preview should be generated
for the result." }, |
196 { "name": "userGesture", "type": "boolean", "optional": true
, "experimental": true, "description": "Whether execution should be treated as i
nitiated by user in the UI." }, | 196 { "name": "userGesture", "type": "boolean", "optional": true
, "experimental": true, "description": "Whether execution should be treated as i
nitiated by user in the UI." }, |
197 { "name": "awaitPromise", "type": "boolean", "optional":true
, "experimental": true, "description": "Whether execution should wait for promis
e to be resolved. If the result of evaluation is not a Promise, it's considered
to be an error." } | 197 { "name": "awaitPromise", "type": "boolean", "optional":true
, "experimental": true, "description": "Whether execution should wait for promis
e to be resolved. If the result of evaluation is not a Promise, it's considered
to be an error." } |
198 ], | 198 ], |
199 "returns": [ | 199 "returns": [ |
200 { "name": "result", "$ref": "RemoteObject", "description": "
Evaluation result." }, | 200 { "name": "result", "$ref": "RemoteObject", "description": "
Evaluation result." }, |
201 { "name": "exceptionDetails", "$ref": "ExceptionDetails", "o
ptional": true, "experimental": true, "description": "Exception details."} | 201 { "name": "exceptionDetails", "$ref": "ExceptionDetails", "o
ptional": true, "experimental": true, "description": "Exception details."} |
202 ], | 202 ], |
(...skipping 14 matching lines...) Expand all Loading... |
217 ], | 217 ], |
218 "description": "Add handler to promise with given promise object
id." | 218 "description": "Add handler to promise with given promise object
id." |
219 }, | 219 }, |
220 { | 220 { |
221 "name": "callFunctionOn", | 221 "name": "callFunctionOn", |
222 "async": true, | 222 "async": true, |
223 "parameters": [ | 223 "parameters": [ |
224 { "name": "objectId", "$ref": "RemoteObjectId", "description
": "Identifier of the object to call function on." }, | 224 { "name": "objectId", "$ref": "RemoteObjectId", "description
": "Identifier of the object to call function on." }, |
225 { "name": "functionDeclaration", "type": "string", "descript
ion": "Declaration of the function to call." }, | 225 { "name": "functionDeclaration", "type": "string", "descript
ion": "Declaration of the function to call." }, |
226 { "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." }, | 226 { "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." }, |
227 { "name": "doNotPauseOnExceptionsAndMuteConsole", "type": "b
oolean", "optional": true, "description": "Specifies whether function call shoul
d stop on exceptions and mute console. Overrides setPauseOnException state.", "e
xperimental": true }, | 227 { "name": "silent", "type": "boolean", "optional": true, "de
scription": "In silent mode exceptions thrown during evaluation are not reported
and do not pause execution. Overrides <code>setPauseOnException</code> state.",
"experimental": true }, |
228 { "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." }, | 228 { "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." }, |
229 { "name": "generatePreview", "type": "boolean", "optional":
true, "experimental": true, "description": "Whether preview should be generated
for the result." }, | 229 { "name": "generatePreview", "type": "boolean", "optional":
true, "experimental": true, "description": "Whether preview should be generated
for the result." }, |
230 { "name": "userGesture", "type": "boolean", "optional": true
, "experimental": true, "description": "Whether execution should be treated as i
nitiated by user in the UI." }, | 230 { "name": "userGesture", "type": "boolean", "optional": true
, "experimental": true, "description": "Whether execution should be treated as i
nitiated by user in the UI." }, |
231 { "name": "awaitPromise", "type": "boolean", "optional":true
, "experimental": true, "description": "Whether execution should wait for promis
e to be resolved. If the result of evaluation is not a Promise, it's considered
to be an error." } | 231 { "name": "awaitPromise", "type": "boolean", "optional":true
, "experimental": true, "description": "Whether execution should wait for promis
e to be resolved. If the result of evaluation is not a Promise, it's considered
to be an error." } |
232 ], | 232 ], |
233 "returns": [ | 233 "returns": [ |
234 { "name": "result", "$ref": "RemoteObject", "description": "
Call result." }, | 234 { "name": "result", "$ref": "RemoteObject", "description": "
Call result." }, |
235 { "name": "exceptionDetails", "$ref": "ExceptionDetails", "o
ptional": true, "experimental": true, "description": "Exception details."} | 235 { "name": "exceptionDetails", "$ref": "ExceptionDetails", "o
ptional": true, "experimental": true, "description": "Exception details."} |
236 ], | 236 ], |
237 "description": "Calls function with given declaration on the giv
en object. Object group of the result is inherited from the target object." | 237 "description": "Calls function with given declaration on the giv
en object. Object group of the result is inherited from the target object." |
(...skipping 21 matching lines...) Expand all Loading... |
259 "description": "Releases remote object with given id." | 259 "description": "Releases remote object with given id." |
260 }, | 260 }, |
261 { | 261 { |
262 "name": "releaseObjectGroup", | 262 "name": "releaseObjectGroup", |
263 "parameters": [ | 263 "parameters": [ |
264 { "name": "objectGroup", "type": "string", "description": "S
ymbolic object group name." } | 264 { "name": "objectGroup", "type": "string", "description": "S
ymbolic object group name." } |
265 ], | 265 ], |
266 "description": "Releases all remote objects that belong to a giv
en group." | 266 "description": "Releases all remote objects that belong to a giv
en group." |
267 }, | 267 }, |
268 { | 268 { |
269 "name": "run", | 269 "name": "runIfWaitingForDebugger", |
270 "experimental": true, | 270 "experimental": true, |
271 "description": "Tells inspected instance(worker or page) that it
can run in case it was started paused." | 271 "description": "Tells inspected instance to run if it was waitin
g for debugger to attach." |
272 }, | 272 }, |
273 { | 273 { |
274 "name": "enable", | 274 "name": "enable", |
275 "description": "Enables reporting of execution contexts creation
by means of <code>executionContextCreated</code> event. When the reporting gets
enabled the event will be sent immediately for each existing execution context.
" | 275 "description": "Enables reporting of execution contexts creation
by means of <code>executionContextCreated</code> event. When the reporting gets
enabled the event will be sent immediately for each existing execution context.
" |
276 }, | 276 }, |
277 { | 277 { |
278 "name": "disable", | 278 "name": "disable", |
279 "experimental": true, | 279 "experimental": true, |
280 "description": "Disables reporting of execution contexts creatio
n." | 280 "description": "Disables reporting of execution contexts creatio
n." |
281 }, | 281 }, |
(...skipping 28 matching lines...) Expand all Loading... |
310 "description": "Compiles expression." | 310 "description": "Compiles expression." |
311 }, | 311 }, |
312 { | 312 { |
313 "name": "runScript", | 313 "name": "runScript", |
314 "experimental": true, | 314 "experimental": true, |
315 "async": true, | 315 "async": true, |
316 "parameters": [ | 316 "parameters": [ |
317 { "name": "scriptId", "$ref": "ScriptId", "description": "Id
of the script to run." }, | 317 { "name": "scriptId", "$ref": "ScriptId", "description": "Id
of the script to run." }, |
318 { "name": "executionContextId", "$ref": "ExecutionContextId"
, "optional": true, "description": "Specifies in which execution context to perf
orm script run. If the parameter is omitted the evaluation will be performed in
the context of the inspected page." }, | 318 { "name": "executionContextId", "$ref": "ExecutionContextId"
, "optional": true, "description": "Specifies in which execution context to perf
orm script run. If the parameter is omitted the evaluation will be performed in
the context of the inspected page." }, |
319 { "name": "objectGroup", "type": "string", "optional": true,
"description": "Symbolic group name that can be used to release multiple object
s." }, | 319 { "name": "objectGroup", "type": "string", "optional": true,
"description": "Symbolic group name that can be used to release multiple object
s." }, |
320 { "name": "doNotPauseOnExceptionsAndMuteConsole", "type": "b
oolean", "optional": true, "description": "Specifies whether script run should s
top on exceptions and mute console. Overrides setPauseOnException state." }, | 320 { "name": "silent", "type": "boolean", "optional": true, "de
scription": "In silent mode exceptions thrown during evaluation are not reported
and do not pause execution. Overrides <code>setPauseOnException</code> state.",
"experimental": true }, |
321 { "name": "includeCommandLineAPI", "type": "boolean", "optio
nal": true, "description": "Determines whether Command Line API should be availa
ble during the evaluation." }, | 321 { "name": "includeCommandLineAPI", "type": "boolean", "optio
nal": true, "description": "Determines whether Command Line API should be availa
ble during the evaluation." }, |
322 { "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." }, | 322 { "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." }, |
323 { "name": "generatePreview", "type": "boolean", "optional":
true, "description": "Whether preview should be generated for the result." }, | 323 { "name": "generatePreview", "type": "boolean", "optional":
true, "description": "Whether preview should be generated for the result." }, |
324 { "name": "awaitPromise", "type": "boolean", "optional": tru
e, "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." } | 324 { "name": "awaitPromise", "type": "boolean", "optional": tru
e, "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." } |
325 ], | 325 ], |
326 "returns": [ | 326 "returns": [ |
327 { "name": "result", "$ref": "RemoteObject", "description": "
Run result." }, | 327 { "name": "result", "$ref": "RemoteObject", "description": "
Run result." }, |
328 { "name": "exceptionDetails", "$ref": "ExceptionDetails", "o
ptional": true, "description": "Exception details."} | 328 { "name": "exceptionDetails", "$ref": "ExceptionDetails", "o
ptional": true, "description": "Exception details."} |
329 ], | 329 ], |
330 "description": "Runs script with given id in a given context." | 330 "description": "Runs script with given id in a given context." |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
377 { "name": "type", "type": "string", "enum": ["log", "debug",
"info", "error", "warning", "dir", "dirxml", "table", "trace", "clear", "startG
roup", "startGroupCollapsed", "endGroup", "assert", "profile", "profileEnd"], "d
escription": "Type of the call." }, | 377 { "name": "type", "type": "string", "enum": ["log", "debug",
"info", "error", "warning", "dir", "dirxml", "table", "trace", "clear", "startG
roup", "startGroupCollapsed", "endGroup", "assert", "profile", "profileEnd"], "d
escription": "Type of the call." }, |
378 { "name": "args", "type": "array", "items": { "$ref": "Remot
eObject" }, "description": "Call arguments." }, | 378 { "name": "args", "type": "array", "items": { "$ref": "Remot
eObject" }, "description": "Call arguments." }, |
379 { "name": "executionContextId", "$ref": "ExecutionContextId"
, "description": "Identifier of the context where the call was made." }, | 379 { "name": "executionContextId", "$ref": "ExecutionContextId"
, "description": "Identifier of the context where the call was made." }, |
380 { "name": "timestamp", "$ref": "Timestamp", "description": "
Call timestamp." }, | 380 { "name": "timestamp", "$ref": "Timestamp", "description": "
Call timestamp." }, |
381 { "name": "stackTrace", "$ref": "StackTrace", "optional": tr
ue, "description": "Stack trace captured when the call was made." } | 381 { "name": "stackTrace", "$ref": "StackTrace", "optional": tr
ue, "description": "Stack trace captured when the call was made." } |
382 ], | 382 ], |
383 "experimental": true | 383 "experimental": true |
384 }, | 384 }, |
385 { | 385 { |
386 "name": "inspectRequested", | 386 "name": "inspectRequested", |
| 387 "description": "Issued when object should be inspected (for exam
ple, as a result of inspect() command line API call).", |
387 "parameters": [ | 388 "parameters": [ |
388 { "name": "object", "$ref": "RemoteObject" }, | 389 { "name": "object", "$ref": "RemoteObject" }, |
389 { "name": "hints", "type": "object" } | 390 { "name": "hints", "type": "object" } |
390 ], | 391 ], |
391 "experimental": true | 392 "experimental": true |
392 } | 393 } |
393 ] | 394 ] |
394 }, | 395 }, |
395 { | 396 { |
396 "domain": "Debugger", | 397 "domain": "Debugger", |
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
478 "name": "setBreakpointsActive", | 479 "name": "setBreakpointsActive", |
479 "parameters": [ | 480 "parameters": [ |
480 { "name": "active", "type": "boolean", "description": "New v
alue for breakpoints active state." } | 481 { "name": "active", "type": "boolean", "description": "New v
alue for breakpoints active state." } |
481 ], | 482 ], |
482 "description": "Activates / deactivates all breakpoints on the p
age." | 483 "description": "Activates / deactivates all breakpoints on the p
age." |
483 }, | 484 }, |
484 { | 485 { |
485 "name": "setSkipAllPauses", | 486 "name": "setSkipAllPauses", |
486 "experimental": true, | 487 "experimental": true, |
487 "parameters": [ | 488 "parameters": [ |
488 { "name": "skipped", "type": "boolean", "description": "New
value for skip pauses state." } | 489 { "name": "skip", "type": "boolean", "description": "New val
ue for skip pauses state." } |
489 ], | 490 ], |
490 "description": "Makes page not interrupt on any pauses (breakpoi
nt, exception, dom exception etc)." | 491 "description": "Makes page not interrupt on any pauses (breakpoi
nt, exception, dom exception etc)." |
491 }, | 492 }, |
492 { | 493 { |
493 "name": "setBreakpointByUrl", | 494 "name": "setBreakpointByUrl", |
494 "parameters": [ | 495 "parameters": [ |
495 { "name": "lineNumber", "type": "integer", "description": "L
ine number to set breakpoint at." }, | 496 { "name": "lineNumber", "type": "integer", "description": "L
ine number to set breakpoint at." }, |
496 { "name": "url", "type": "string", "optional": true, "descri
ption": "URL of the resources to set breakpoint on." }, | 497 { "name": "url", "type": "string", "optional": true, "descri
ption": "URL of the resources to set breakpoint on." }, |
497 { "name": "urlRegex", "type": "string", "optional": true, "d
escription": "Regex pattern for the URLs of the resources to set breakpoints on.
Either <code>url</code> or <code>urlRegex</code> must be specified." }, | 498 { "name": "urlRegex", "type": "string", "optional": true, "d
escription": "Regex pattern for the URLs of the resources to set breakpoints on.
Either <code>url</code> or <code>urlRegex</code> must be specified." }, |
498 { "name": "columnNumber", "type": "integer", "optional": tru
e, "description": "Offset in the line to set breakpoint at." }, | 499 { "name": "columnNumber", "type": "integer", "optional": tru
e, "description": "Offset in the line to set breakpoint at." }, |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
561 "returns": [ | 562 "returns": [ |
562 { "name": "result", "type": "array", "items": { "$ref": "Sea
rchMatch" }, "description": "List of search matches." } | 563 { "name": "result", "type": "array", "items": { "$ref": "Sea
rchMatch" }, "description": "List of search matches." } |
563 ], | 564 ], |
564 "description": "Searches for given string in script content." | 565 "description": "Searches for given string in script content." |
565 }, | 566 }, |
566 { | 567 { |
567 "name": "setScriptSource", | 568 "name": "setScriptSource", |
568 "parameters": [ | 569 "parameters": [ |
569 { "name": "scriptId", "$ref": "Runtime.ScriptId", "descripti
on": "Id of the script to edit." }, | 570 { "name": "scriptId", "$ref": "Runtime.ScriptId", "descripti
on": "Id of the script to edit." }, |
570 { "name": "scriptSource", "type": "string", "description": "
New content of the script." }, | 571 { "name": "scriptSource", "type": "string", "description": "
New content of the script." }, |
571 { "name": "preview", "type": "boolean", "optional": true, "d
escription": " If true the change will not actually be applied. Preview mode may
be used to get result description without actually modifying the code.", "exper
imental": true } | 572 { "name": "dryRun", "type": "boolean", "optional": true, "de
scription": " If true the change will not actually be applied. Dry run may be us
ed to get result description without actually modifying the code.", "experimenta
l": true } |
572 ], | 573 ], |
573 "returns": [ | 574 "returns": [ |
574 { "name": "callFrames", "type": "array", "optional": true, "
items": { "$ref": "CallFrame" }, "description": "New stack trace in case editing
has happened while VM was stopped." }, | 575 { "name": "callFrames", "type": "array", "optional": true, "
items": { "$ref": "CallFrame" }, "description": "New stack trace in case editing
has happened while VM was stopped." }, |
575 { "name": "stackChanged", "type": "boolean", "optional": tru
e, "description": "Whether current call stack was modified after applying the c
hanges.", "experimental": true }, | 576 { "name": "stackChanged", "type": "boolean", "optional": tru
e, "description": "Whether current call stack was modified after applying the c
hanges.", "experimental": true }, |
576 { "name": "asyncStackTrace", "$ref": "Runtime.StackTrace", "
optional": true, "description": "Async stack trace, if any.", "experimental": tr
ue }, | 577 { "name": "asyncStackTrace", "$ref": "Runtime.StackTrace", "
optional": true, "description": "Async stack trace, if any.", "experimental": tr
ue }, |
577 { "name": "compileError", "optional": true, "$ref": "Runtime
.ExceptionDetails", "description": "Error data if any." } | 578 { "name": "compileError", "optional": true, "$ref": "Runtime
.ExceptionDetails", "description": "Error data if any." } |
578 ], | 579 ], |
579 "description": "Edits JavaScript source live." | 580 "description": "Edits JavaScript source live." |
580 }, | 581 }, |
581 { | 582 { |
(...skipping 25 matching lines...) Expand all Loading... |
607 ], | 608 ], |
608 "description": "Defines pause on exceptions state. Can be set to
stop on all exceptions, uncaught exceptions or no exceptions. Initial pause on
exceptions state is <code>none</code>." | 609 "description": "Defines pause on exceptions state. Can be set to
stop on all exceptions, uncaught exceptions or no exceptions. Initial pause on
exceptions state is <code>none</code>." |
609 }, | 610 }, |
610 { | 611 { |
611 "name": "evaluateOnCallFrame", | 612 "name": "evaluateOnCallFrame", |
612 "parameters": [ | 613 "parameters": [ |
613 { "name": "callFrameId", "$ref": "CallFrameId", "description
": "Call frame identifier to evaluate on." }, | 614 { "name": "callFrameId", "$ref": "CallFrameId", "description
": "Call frame identifier to evaluate on." }, |
614 { "name": "expression", "type": "string", "description": "Ex
pression to evaluate." }, | 615 { "name": "expression", "type": "string", "description": "Ex
pression to evaluate." }, |
615 { "name": "objectGroup", "type": "string", "optional": true,
"description": "String object group name to put result into (allows rapid relea
sing resulting object handles using <code>releaseObjectGroup</code>)." }, | 616 { "name": "objectGroup", "type": "string", "optional": true,
"description": "String object group name to put result into (allows rapid relea
sing resulting object handles using <code>releaseObjectGroup</code>)." }, |
616 { "name": "includeCommandLineAPI", "type": "boolean", "optio
nal": true, "description": "Specifies whether command line API should be availab
le to the evaluated expression, defaults to false.", "experimental": true }, | 617 { "name": "includeCommandLineAPI", "type": "boolean", "optio
nal": true, "description": "Specifies whether command line API should be availab
le to the evaluated expression, defaults to false.", "experimental": true }, |
617 { "name": "doNotPauseOnExceptionsAndMuteConsole", "type": "b
oolean", "optional": true, "description": "Specifies whether evaluation should s
top on exceptions and mute console. Overrides setPauseOnException state.", "expe
rimental": true }, | 618 { "name": "silent", "type": "boolean", "optional": true, "de
scription": "In silent mode exceptions thrown during evaluation are not reported
and do not pause execution. Overrides <code>setPauseOnException</code> state.",
"experimental": true }, |
618 { "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." }, | 619 { "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." }, |
619 { "name": "generatePreview", "type": "boolean", "optional":
true, "experimental": true, "description": "Whether preview should be generated
for the result." } | 620 { "name": "generatePreview", "type": "boolean", "optional":
true, "experimental": true, "description": "Whether preview should be generated
for the result." } |
620 ], | 621 ], |
621 "returns": [ | 622 "returns": [ |
622 { "name": "result", "$ref": "Runtime.RemoteObject", "descrip
tion": "Object wrapper for the evaluation result." }, | 623 { "name": "result", "$ref": "Runtime.RemoteObject", "descrip
tion": "Object wrapper for the evaluation result." }, |
623 { "name": "exceptionDetails", "$ref": "Runtime.ExceptionDeta
ils", "optional": true, "experimental": true, "description": "Exception details.
"} | 624 { "name": "exceptionDetails", "$ref": "Runtime.ExceptionDeta
ils", "optional": true, "experimental": true, "description": "Exception details.
"} |
624 ], | 625 ], |
625 "description": "Evaluates expression on a given call frame." | 626 "description": "Evaluates expression on a given call frame." |
626 }, | 627 }, |
627 { | 628 { |
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
756 "description": "Does nothing." | 757 "description": "Does nothing." |
757 } | 758 } |
758 ], | 759 ], |
759 "events": [ | 760 "events": [ |
760 { | 761 { |
761 "name": "messageAdded", | 762 "name": "messageAdded", |
762 "parameters": [ | 763 "parameters": [ |
763 { "name": "message", "$ref": "ConsoleMessage", "description"
: "Console message that has been added." } | 764 { "name": "message", "$ref": "ConsoleMessage", "description"
: "Console message that has been added." } |
764 ], | 765 ], |
765 "description": "Issued when new console message is added." | 766 "description": "Issued when new console message is added." |
766 }, | |
767 { | |
768 "name": "messageRepeatCountUpdated", | |
769 "parameters": [ | |
770 { "name": "count", "type": "integer", "description": "New re
peat count value." }, | |
771 { "name": "timestamp", "$ref": "Runtime.Timestamp", "descrip
tion": "Timestamp of most recent message in batch.", "experimental": true } | |
772 ], | |
773 "description": "Not issued.", | |
774 "deprecated": true | |
775 }, | |
776 { | |
777 "name": "messagesCleared", | |
778 "description": "Not issued.", | |
779 "deprecated": true | |
780 } | 767 } |
781 ] | 768 ] |
782 }, | 769 }, |
783 { | 770 { |
784 "domain": "Profiler", | 771 "domain": "Profiler", |
785 "dependencies": ["Runtime", "Debugger"], | 772 "dependencies": ["Runtime", "Debugger"], |
786 "experimental": true, | 773 "experimental": true, |
787 "types": [ | 774 "types": [ |
788 { | 775 { |
789 "id": "CPUProfileNode", | 776 "id": "CPUProfileNode", |
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
990 { | 977 { |
991 "name": "heapStatsUpdate", | 978 "name": "heapStatsUpdate", |
992 "description": "If heap objects tracking has been started then b
ackend may send update for one or more fragments", | 979 "description": "If heap objects tracking has been started then b
ackend may send update for one or more fragments", |
993 "parameters": [ | 980 "parameters": [ |
994 { "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."} | 981 { "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."} |
995 ] | 982 ] |
996 } | 983 } |
997 ] | 984 ] |
998 }] | 985 }] |
999 } | 986 } |
OLD | NEW |