| OLD | NEW |
| 1 { | 1 { |
| 2 "version": { "major": "1", "minor": "2" }, | 2 "version": { "major": "1", "minor": "2" }, |
| 3 "domains": [ | 3 "domains": [ |
| 4 { | 4 { |
| 5 "domain": "Schema", | 5 "domain": "Schema", |
| 6 "description": "Provides information about the protocol schema.", | 6 "description": "Provides information about the protocol schema.", |
| 7 "types": [ | 7 "types": [ |
| 8 { | 8 { |
| 9 "id": "Domain", | 9 "id": "Domain", |
| 10 "type": "object", | 10 "type": "object", |
| 11 "description": "Description of the protocol domain.", | 11 "description": "Description of the protocol domain.", |
| 12 "exported": true, | |
| 13 "properties": [ | 12 "properties": [ |
| 14 { "name": "name", "type": "string", "description": "Domain n
ame." }, | 13 { "name": "name", "type": "string", "description": "Domain n
ame." }, |
| 15 { "name": "version", "type": "string", "description": "Domai
n version." } | 14 { "name": "version", "type": "string", "description": "Domai
n version." } |
| 16 ] | 15 ] |
| 17 } | 16 } |
| 18 ], | 17 ], |
| 19 "commands": [ | 18 "commands": [ |
| 20 { | 19 { |
| 21 "name": "getDomains", | 20 "name": "getDomains", |
| 22 "description": "Returns supported domains.", | 21 "description": "Returns supported domains.", |
| (...skipping 21 matching lines...) Expand all Loading... |
| 44 { | 43 { |
| 45 "id": "UnserializableValue", | 44 "id": "UnserializableValue", |
| 46 "type": "string", | 45 "type": "string", |
| 47 "enum": ["Infinity", "NaN", "-Infinity", "-0"], | 46 "enum": ["Infinity", "NaN", "-Infinity", "-0"], |
| 48 "description": "Primitive value which cannot be JSON-stringified
." | 47 "description": "Primitive value which cannot be JSON-stringified
." |
| 49 }, | 48 }, |
| 50 { | 49 { |
| 51 "id": "RemoteObject", | 50 "id": "RemoteObject", |
| 52 "type": "object", | 51 "type": "object", |
| 53 "description": "Mirror object referencing original JavaScript ob
ject.", | 52 "description": "Mirror object referencing original JavaScript ob
ject.", |
| 54 "exported": true, | |
| 55 "properties": [ | 53 "properties": [ |
| 56 { "name": "type", "type": "string", "enum": ["object", "func
tion", "undefined", "string", "number", "boolean", "symbol"], "description": "Ob
ject type." }, | 54 { "name": "type", "type": "string", "enum": ["object", "func
tion", "undefined", "string", "number", "boolean", "symbol"], "description": "Ob
ject type." }, |
| 57 { "name": "subtype", "type": "string", "optional": true, "en
um": ["array", "null", "node", "regexp", "date", "map", "set", "iterator", "gene
rator", "error", "proxy", "promise", "typedarray"], "description": "Object subty
pe hint. Specified for <code>object</code> type values only." }, | 55 { "name": "subtype", "type": "string", "optional": true, "en
um": ["array", "null", "node", "regexp", "date", "map", "set", "iterator", "gene
rator", "error", "proxy", "promise", "typedarray"], "description": "Object subty
pe hint. Specified for <code>object</code> type values only." }, |
| 58 { "name": "className", "type": "string", "optional": true, "
description": "Object class (constructor) name. Specified for <code>object</code
> type values only." }, | 56 { "name": "className", "type": "string", "optional": true, "
description": "Object class (constructor) name. Specified for <code>object</code
> type values only." }, |
| 59 { "name": "value", "type": "any", "optional": true, "descrip
tion": "Remote object value in case of primitive values or JSON values (if it wa
s requested)." }, | 57 { "name": "value", "type": "any", "optional": true, "descrip
tion": "Remote object value in case of primitive values or JSON values (if it wa
s requested)." }, |
| 60 { "name": "unserializableValue", "$ref": "UnserializableValu
e", "optional": true, "description": "Primitive value which can not be JSON-stri
ngified does not have <code>value</code>, but gets this property." }, | 58 { "name": "unserializableValue", "$ref": "UnserializableValu
e", "optional": true, "description": "Primitive value which can not be JSON-stri
ngified does not have <code>value</code>, but gets this property." }, |
| 61 { "name": "description", "type": "string", "optional": true,
"description": "String representation of the object." }, | 59 { "name": "description", "type": "string", "optional": true,
"description": "String representation of the object." }, |
| 62 { "name": "objectId", "$ref": "RemoteObjectId", "optional":
true, "description": "Unique object identifier (for non-primitive values)." }, | 60 { "name": "objectId", "$ref": "RemoteObjectId", "optional":
true, "description": "Unique object identifier (for non-primitive values)." }, |
| 63 { "name": "preview", "$ref": "ObjectPreview", "optional": tr
ue, "description": "Preview containing abbreviated property values. Specified fo
r <code>object</code> type values only.", "experimental": true }, | 61 { "name": "preview", "$ref": "ObjectPreview", "optional": tr
ue, "description": "Preview containing abbreviated property values. Specified fo
r <code>object</code> type values only.", "experimental": true }, |
| 64 { "name": "customPreview", "$ref": "CustomPreview", "optiona
l": true, "experimental": true} | 62 { "name": "customPreview", "$ref": "CustomPreview", "optiona
l": true, "experimental": true} |
| (...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 193 { "name": "scriptId", "$ref": "ScriptId", "description": "Ja
vaScript script id." }, | 191 { "name": "scriptId", "$ref": "ScriptId", "description": "Ja
vaScript script id." }, |
| 194 { "name": "url", "type": "string", "description": "JavaScrip
t script name or url." }, | 192 { "name": "url", "type": "string", "description": "JavaScrip
t script name or url." }, |
| 195 { "name": "lineNumber", "type": "integer", "description": "J
avaScript script line number (0-based)." }, | 193 { "name": "lineNumber", "type": "integer", "description": "J
avaScript script line number (0-based)." }, |
| 196 { "name": "columnNumber", "type": "integer", "description":
"JavaScript script column number (0-based)." } | 194 { "name": "columnNumber", "type": "integer", "description":
"JavaScript script column number (0-based)." } |
| 197 ] | 195 ] |
| 198 }, | 196 }, |
| 199 { | 197 { |
| 200 "id": "StackTrace", | 198 "id": "StackTrace", |
| 201 "type": "object", | 199 "type": "object", |
| 202 "description": "Call frames for assertions or error messages.", | 200 "description": "Call frames for assertions or error messages.", |
| 203 "exported": true, | |
| 204 "properties": [ | 201 "properties": [ |
| 205 { "name": "description", "type": "string", "optional": true,
"description": "String label of this stack trace. For async traces this may be
a name of the function that initiated the async call." }, | 202 { "name": "description", "type": "string", "optional": true,
"description": "String label of this stack trace. For async traces this may be
a name of the function that initiated the async call." }, |
| 206 { "name": "callFrames", "type": "array", "items": { "$ref":
"CallFrame" }, "description": "JavaScript function name." }, | 203 { "name": "callFrames", "type": "array", "items": { "$ref":
"CallFrame" }, "description": "JavaScript function name." }, |
| 207 { "name": "parent", "$ref": "StackTrace", "optional": true,
"description": "Asynchronous JavaScript stack trace that preceded this stack, if
available." } | 204 { "name": "parent", "$ref": "StackTrace", "optional": true,
"description": "Asynchronous JavaScript stack trace that preceded this stack, if
available." } |
| 208 ] | 205 ] |
| 209 } | 206 } |
| 210 ], | 207 ], |
| 211 "commands": [ | 208 "commands": [ |
| 212 { | 209 { |
| 213 "name": "evaluate", | 210 "name": "evaluate", |
| (...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 461 { "name": "name", "type": "string", "optional": true }, | 458 { "name": "name", "type": "string", "optional": true }, |
| 462 { "name": "startLocation", "$ref": "Location", "optional": t
rue, "description": "Location in the source code where scope starts" }, | 459 { "name": "startLocation", "$ref": "Location", "optional": t
rue, "description": "Location in the source code where scope starts" }, |
| 463 { "name": "endLocation", "$ref": "Location", "optional": tru
e, "description": "Location in the source code where scope ends" } | 460 { "name": "endLocation", "$ref": "Location", "optional": tru
e, "description": "Location in the source code where scope ends" } |
| 464 ], | 461 ], |
| 465 "description": "Scope description." | 462 "description": "Scope description." |
| 466 }, | 463 }, |
| 467 { | 464 { |
| 468 "id": "SearchMatch", | 465 "id": "SearchMatch", |
| 469 "type": "object", | 466 "type": "object", |
| 470 "description": "Search match for resource.", | 467 "description": "Search match for resource.", |
| 471 "exported": true, | |
| 472 "properties": [ | 468 "properties": [ |
| 473 { "name": "lineNumber", "type": "number", "description": "Li
ne number in resource content." }, | 469 { "name": "lineNumber", "type": "number", "description": "Li
ne number in resource content." }, |
| 474 { "name": "lineContent", "type": "string", "description": "L
ine with match content." } | 470 { "name": "lineContent", "type": "string", "description": "L
ine with match content." } |
| 475 ], | 471 ], |
| 476 "experimental": true | 472 "experimental": true |
| 477 } | 473 } |
| 478 ], | 474 ], |
| 479 "commands": [ | 475 "commands": [ |
| 480 { | 476 { |
| 481 "name": "enable", | 477 "name": "enable", |
| (...skipping 240 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 722 "parameters": [ | 718 "parameters": [ |
| 723 { "name": "breakpointId", "$ref": "BreakpointId", "descripti
on": "Breakpoint unique identifier." }, | 719 { "name": "breakpointId", "$ref": "BreakpointId", "descripti
on": "Breakpoint unique identifier." }, |
| 724 { "name": "location", "$ref": "Location", "description": "Ac
tual breakpoint location." } | 720 { "name": "location", "$ref": "Location", "description": "Ac
tual breakpoint location." } |
| 725 ], | 721 ], |
| 726 "description": "Fired when breakpoint is resolved to an actual s
cript and location." | 722 "description": "Fired when breakpoint is resolved to an actual s
cript and location." |
| 727 }, | 723 }, |
| 728 { | 724 { |
| 729 "name": "paused", | 725 "name": "paused", |
| 730 "parameters": [ | 726 "parameters": [ |
| 731 { "name": "callFrames", "type": "array", "items": { "$ref":
"CallFrame" }, "description": "Call stack the virtual machine stopped on." }, | 727 { "name": "callFrames", "type": "array", "items": { "$ref":
"CallFrame" }, "description": "Call stack the virtual machine stopped on." }, |
| 732 { "name": "reason", "type": "string", "enum": [ "XHR", "DOM"
, "EventListener", "exception", "assert", "debugCommand", "promiseRejection", "o
ther" ], "description": "Pause reason.", "exported": true }, | 728 { "name": "reason", "type": "string", "enum": [ "XHR", "DOM"
, "EventListener", "exception", "assert", "debugCommand", "promiseRejection", "o
ther" ], "description": "Pause reason." }, |
| 733 { "name": "data", "type": "object", "optional": true, "descr
iption": "Object containing break-specific auxiliary properties." }, | 729 { "name": "data", "type": "object", "optional": true, "descr
iption": "Object containing break-specific auxiliary properties." }, |
| 734 { "name": "hitBreakpoints", "type": "array", "optional": tru
e, "items": { "type": "string" }, "description": "Hit breakpoints IDs" }, | 730 { "name": "hitBreakpoints", "type": "array", "optional": tru
e, "items": { "type": "string" }, "description": "Hit breakpoints IDs" }, |
| 735 { "name": "asyncStackTrace", "$ref": "Runtime.StackTrace", "
optional": true, "description": "Async stack trace, if any." } | 731 { "name": "asyncStackTrace", "$ref": "Runtime.StackTrace", "
optional": true, "description": "Async stack trace, if any." } |
| 736 ], | 732 ], |
| 737 "description": "Fired when the virtual machine stopped on breakp
oint or exception or any other stop criteria." | 733 "description": "Fired when the virtual machine stopped on breakp
oint or exception or any other stop criteria." |
| 738 }, | 734 }, |
| 739 { | 735 { |
| 740 "name": "resumed", | 736 "name": "resumed", |
| 741 "description": "Fired when the virtual machine resumed execution
." | 737 "description": "Fired when the virtual machine resumed execution
." |
| 742 } | 738 } |
| (...skipping 253 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 996 { | 992 { |
| 997 "name": "heapStatsUpdate", | 993 "name": "heapStatsUpdate", |
| 998 "description": "If heap objects tracking has been started then b
ackend may send update for one or more fragments", | 994 "description": "If heap objects tracking has been started then b
ackend may send update for one or more fragments", |
| 999 "parameters": [ | 995 "parameters": [ |
| 1000 { "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."} | 996 { "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."} |
| 1001 ] | 997 ] |
| 1002 } | 998 } |
| 1003 ] | 999 ] |
| 1004 }] | 1000 }] |
| 1005 } | 1001 } |
| OLD | NEW |