Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(212)

Side by Side Diff: third_party/WebKit/Source/platform/v8_inspector/js_protocol.json

Issue 2249663003: Revert of [DevTools] Rename entities in js_protocol, remove deprecated ones. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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": "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 }, 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 },
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
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": "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 }, 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 },
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
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": "runIfWaitingForDebugger", 269 "name": "run",
270 "experimental": true, 270 "experimental": true,
271 "description": "Tells inspected instance to run if it was waitin g for debugger to attach." 271 "description": "Tells inspected instance(worker or page) that it can run in case it was started paused."
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
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": "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 }, 320 { "name": "doNotPauseOnExceptionsAndMuteConsole", "type": "b oolean", "optional": true, "description": "Specifies whether script run should s top on exceptions and mute console. Overrides setPauseOnException state." },
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
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).",
388 "parameters": [ 387 "parameters": [
389 { "name": "object", "$ref": "RemoteObject" }, 388 { "name": "object", "$ref": "RemoteObject" },
390 { "name": "hints", "type": "object" } 389 { "name": "hints", "type": "object" }
391 ], 390 ],
392 "experimental": true 391 "experimental": true
393 } 392 }
394 ] 393 ]
395 }, 394 },
396 { 395 {
397 "domain": "Debugger", 396 "domain": "Debugger",
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
479 "name": "setBreakpointsActive", 478 "name": "setBreakpointsActive",
480 "parameters": [ 479 "parameters": [
481 { "name": "active", "type": "boolean", "description": "New v alue for breakpoints active state." } 480 { "name": "active", "type": "boolean", "description": "New v alue for breakpoints active state." }
482 ], 481 ],
483 "description": "Activates / deactivates all breakpoints on the p age." 482 "description": "Activates / deactivates all breakpoints on the p age."
484 }, 483 },
485 { 484 {
486 "name": "setSkipAllPauses", 485 "name": "setSkipAllPauses",
487 "experimental": true, 486 "experimental": true,
488 "parameters": [ 487 "parameters": [
489 { "name": "skip", "type": "boolean", "description": "New val ue for skip pauses state." } 488 { "name": "skipped", "type": "boolean", "description": "New value for skip pauses state." }
490 ], 489 ],
491 "description": "Makes page not interrupt on any pauses (breakpoi nt, exception, dom exception etc)." 490 "description": "Makes page not interrupt on any pauses (breakpoi nt, exception, dom exception etc)."
492 }, 491 },
493 { 492 {
494 "name": "setBreakpointByUrl", 493 "name": "setBreakpointByUrl",
495 "parameters": [ 494 "parameters": [
496 { "name": "lineNumber", "type": "integer", "description": "L ine number to set breakpoint at." }, 495 { "name": "lineNumber", "type": "integer", "description": "L ine number to set breakpoint at." },
497 { "name": "url", "type": "string", "optional": true, "descri ption": "URL of the resources to set breakpoint on." }, 496 { "name": "url", "type": "string", "optional": true, "descri ption": "URL of the resources to set breakpoint on." },
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." }, 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." },
499 { "name": "columnNumber", "type": "integer", "optional": tru e, "description": "Offset in the line to set breakpoint at." }, 498 { "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
562 "returns": [ 561 "returns": [
563 { "name": "result", "type": "array", "items": { "$ref": "Sea rchMatch" }, "description": "List of search matches." } 562 { "name": "result", "type": "array", "items": { "$ref": "Sea rchMatch" }, "description": "List of search matches." }
564 ], 563 ],
565 "description": "Searches for given string in script content." 564 "description": "Searches for given string in script content."
566 }, 565 },
567 { 566 {
568 "name": "setScriptSource", 567 "name": "setScriptSource",
569 "parameters": [ 568 "parameters": [
570 { "name": "scriptId", "$ref": "Runtime.ScriptId", "descripti on": "Id of the script to edit." }, 569 { "name": "scriptId", "$ref": "Runtime.ScriptId", "descripti on": "Id of the script to edit." },
571 { "name": "scriptSource", "type": "string", "description": " New content of the script." }, 570 { "name": "scriptSource", "type": "string", "description": " New content of the script." },
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 } 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 }
573 ], 572 ],
574 "returns": [ 573 "returns": [
575 { "name": "callFrames", "type": "array", "optional": true, " items": { "$ref": "CallFrame" }, "description": "New stack trace in case editing has happened while VM was stopped." }, 574 { "name": "callFrames", "type": "array", "optional": true, " items": { "$ref": "CallFrame" }, "description": "New stack trace in case editing has happened while VM was stopped." },
576 { "name": "stackChanged", "type": "boolean", "optional": tru e, "description": "Whether current call stack was modified after applying the c hanges.", "experimental": true }, 575 { "name": "stackChanged", "type": "boolean", "optional": tru e, "description": "Whether current call stack was modified after applying the c hanges.", "experimental": true },
577 { "name": "asyncStackTrace", "$ref": "Runtime.StackTrace", " optional": true, "description": "Async stack trace, if any.", "experimental": tr ue }, 576 { "name": "asyncStackTrace", "$ref": "Runtime.StackTrace", " optional": true, "description": "Async stack trace, if any.", "experimental": tr ue },
578 { "name": "compileError", "optional": true, "$ref": "Runtime .ExceptionDetails", "description": "Error data if any." } 577 { "name": "compileError", "optional": true, "$ref": "Runtime .ExceptionDetails", "description": "Error data if any." }
579 ], 578 ],
580 "description": "Edits JavaScript source live." 579 "description": "Edits JavaScript source live."
581 }, 580 },
582 { 581 {
(...skipping 25 matching lines...) Expand all
608 ], 607 ],
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>." 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>."
610 }, 609 },
611 { 610 {
612 "name": "evaluateOnCallFrame", 611 "name": "evaluateOnCallFrame",
613 "parameters": [ 612 "parameters": [
614 { "name": "callFrameId", "$ref": "CallFrameId", "description ": "Call frame identifier to evaluate on." }, 613 { "name": "callFrameId", "$ref": "CallFrameId", "description ": "Call frame identifier to evaluate on." },
615 { "name": "expression", "type": "string", "description": "Ex pression to evaluate." }, 614 { "name": "expression", "type": "string", "description": "Ex pression to evaluate." },
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>)." }, 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>)." },
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 }, 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 },
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 }, 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 },
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." }, 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." },
620 { "name": "generatePreview", "type": "boolean", "optional": true, "experimental": true, "description": "Whether preview should be generated for the result." } 619 { "name": "generatePreview", "type": "boolean", "optional": true, "experimental": true, "description": "Whether preview should be generated for the result." }
621 ], 620 ],
622 "returns": [ 621 "returns": [
623 { "name": "result", "$ref": "Runtime.RemoteObject", "descrip tion": "Object wrapper for the evaluation result." }, 622 { "name": "result", "$ref": "Runtime.RemoteObject", "descrip tion": "Object wrapper for the evaluation result." },
624 { "name": "exceptionDetails", "$ref": "Runtime.ExceptionDeta ils", "optional": true, "experimental": true, "description": "Exception details. "} 623 { "name": "exceptionDetails", "$ref": "Runtime.ExceptionDeta ils", "optional": true, "experimental": true, "description": "Exception details. "}
625 ], 624 ],
626 "description": "Evaluates expression on a given call frame." 625 "description": "Evaluates expression on a given call frame."
627 }, 626 },
628 { 627 {
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
757 "description": "Does nothing." 756 "description": "Does nothing."
758 } 757 }
759 ], 758 ],
760 "events": [ 759 "events": [
761 { 760 {
762 "name": "messageAdded", 761 "name": "messageAdded",
763 "parameters": [ 762 "parameters": [
764 { "name": "message", "$ref": "ConsoleMessage", "description" : "Console message that has been added." } 763 { "name": "message", "$ref": "ConsoleMessage", "description" : "Console message that has been added." }
765 ], 764 ],
766 "description": "Issued when new console message is added." 765 "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
767 } 780 }
768 ] 781 ]
769 }, 782 },
770 { 783 {
771 "domain": "Profiler", 784 "domain": "Profiler",
772 "dependencies": ["Runtime", "Debugger"], 785 "dependencies": ["Runtime", "Debugger"],
773 "experimental": true, 786 "experimental": true,
774 "types": [ 787 "types": [
775 { 788 {
776 "id": "CPUProfileNode", 789 "id": "CPUProfileNode",
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after
977 { 990 {
978 "name": "heapStatsUpdate", 991 "name": "heapStatsUpdate",
979 "description": "If heap objects tracking has been started then b ackend may send update for one or more fragments", 992 "description": "If heap objects tracking has been started then b ackend may send update for one or more fragments",
980 "parameters": [ 993 "parameters": [
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."} 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."}
982 ] 995 ]
983 } 996 }
984 ] 997 ]
985 }] 998 }]
986 } 999 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698