| OLD | NEW |
| 1 { | 1 { |
| 2 "version": { "major": "1", "minor": "1" }, | 2 "version": { "major": "1", "minor": "1" }, |
| 3 "domains": [{ | 3 "domains": [{ |
| 4 "domain": "Inspector", | 4 "domain": "Inspector", |
| 5 "hidden": true, | 5 "hidden": true, |
| 6 "types": [], | 6 "types": [], |
| 7 "commands": [ | 7 "commands": [ |
| 8 { | 8 { |
| 9 "name": "enable", | 9 "name": "enable", |
| 10 "description": "Enables inspector domain notifications.", | 10 "description": "Enables inspector domain notifications.", |
| (...skipping 3437 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3448 "type": "object", | 3448 "type": "object", |
| 3449 "properties": [ | 3449 "properties": [ |
| 3450 { "name": "message", "type": "string", "description": "Compi
ler error message" }, | 3450 { "name": "message", "type": "string", "description": "Compi
ler error message" }, |
| 3451 { "name": "lineNumber", "type": "integer", "description": "C
ompile error line number (1-based)" }, | 3451 { "name": "lineNumber", "type": "integer", "description": "C
ompile error line number (1-based)" }, |
| 3452 { "name": "columnNumber", "type": "integer", "description":
"Compile error column number (1-based)" } | 3452 { "name": "columnNumber", "type": "integer", "description":
"Compile error column number (1-based)" } |
| 3453 ], | 3453 ], |
| 3454 "description": "Error data for setScriptSource command. Contains
uncompilable script source error.", | 3454 "description": "Error data for setScriptSource command. Contains
uncompilable script source error.", |
| 3455 "hidden": true | 3455 "hidden": true |
| 3456 }, | 3456 }, |
| 3457 { | 3457 { |
| 3458 "id": "PromiseDetails", | |
| 3459 "type": "object", | |
| 3460 "description": "Information about the promise. All fields but id
are optional and if present they reflect the new state of the property on the p
romise with given id.", | |
| 3461 "properties": [ | |
| 3462 { "name": "id", "type": "integer", "description": "Unique id
of the promise." }, | |
| 3463 { "name": "status", "type": "string", "optional": true, "enu
m": ["pending", "resolved", "rejected"], "description": "Status of the promise."
}, | |
| 3464 { "name": "parentId", "type": "integer", "optional": true, "
description": "Id of the parent promise." }, | |
| 3465 { "name": "creationTime", "type": "number", "optional": true
, "description": "Creation time of the promise." }, | |
| 3466 { "name": "settlementTime", "type": "number", "optional": tr
ue, "description": "Settlement time of the promise." }, | |
| 3467 { "name": "creationStack", "$ref": "Runtime.StackTrace", "op
tional": true, "description": "JavaScript stack trace on promise creation." }, | |
| 3468 { "name": "settlementStack", "$ref": "Runtime.StackTrace", "
optional": true, "description": "JavaScript stack trace on promise settlement."
} | |
| 3469 ], | |
| 3470 "hidden": true | |
| 3471 }, | |
| 3472 { | |
| 3473 "id": "AsyncOperation", | 3458 "id": "AsyncOperation", |
| 3474 "type": "object", | 3459 "type": "object", |
| 3475 "description": "Information about the async operation.", | 3460 "description": "Information about the async operation.", |
| 3476 "properties": [ | 3461 "properties": [ |
| 3477 { "name": "id", "type": "integer", "description": "Unique id
of the async operation." }, | 3462 { "name": "id", "type": "integer", "description": "Unique id
of the async operation." }, |
| 3478 { "name": "stack", "$ref": "Runtime.StackTrace", "optional":
true, "description": "Stack trace where async operation was scheduled." } | 3463 { "name": "stack", "$ref": "Runtime.StackTrace", "optional":
true, "description": "Stack trace where async operation was scheduled." } |
| 3479 ], | 3464 ], |
| 3480 "hidden": true | 3465 "hidden": true |
| 3481 }, | 3466 }, |
| 3482 { | 3467 { |
| (...skipping 235 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3718 }, | 3703 }, |
| 3719 { | 3704 { |
| 3720 "name": "setAsyncCallStackDepth", | 3705 "name": "setAsyncCallStackDepth", |
| 3721 "parameters": [ | 3706 "parameters": [ |
| 3722 { "name": "maxDepth", "type": "integer", "description": "Max
imum depth of async call stacks. Setting to <code>0</code> will effectively disa
ble collecting async call stacks (default)." } | 3707 { "name": "maxDepth", "type": "integer", "description": "Max
imum depth of async call stacks. Setting to <code>0</code> will effectively disa
ble collecting async call stacks (default)." } |
| 3723 ], | 3708 ], |
| 3724 "hidden": true, | 3709 "hidden": true, |
| 3725 "description": "Enables or disables async call stacks tracking." | 3710 "description": "Enables or disables async call stacks tracking." |
| 3726 }, | 3711 }, |
| 3727 { | 3712 { |
| 3728 "name": "enablePromiseTracker", | |
| 3729 "parameters": [ | |
| 3730 { "name": "captureStacks", "type": "boolean", "optional": tr
ue, "description": "Whether to capture stack traces for promise creation and set
tlement events (default: false)." } | |
| 3731 ], | |
| 3732 "hidden": true, | |
| 3733 "description": "Enables promise tracking, information about <cod
e>Promise</code>s created or updated will now be stored on the backend." | |
| 3734 }, | |
| 3735 { | |
| 3736 "name": "disablePromiseTracker", | |
| 3737 "hidden": true, | |
| 3738 "description": "Disables promise tracking." | |
| 3739 }, | |
| 3740 { | |
| 3741 "name": "getPromiseById", | |
| 3742 "parameters": [ | |
| 3743 { "name": "promiseId", "type": "integer" }, | |
| 3744 { "name": "objectGroup", "type": "string", "optional": true,
"description": "Symbolic group name that can be used to release multiple object
s." } | |
| 3745 ], | |
| 3746 "returns": [ | |
| 3747 { "name": "promise", "$ref": "Runtime.RemoteObject", "descri
ption": "Object wrapper for <code>Promise</code> with specified ID, if any." } | |
| 3748 ], | |
| 3749 "hidden": true, | |
| 3750 "description": "Returns <code>Promise</code> with specified ID." | |
| 3751 }, | |
| 3752 { | |
| 3753 "name": "flushAsyncOperationEvents", | 3713 "name": "flushAsyncOperationEvents", |
| 3754 "hidden": true, | 3714 "hidden": true, |
| 3755 "description": "Fires pending <code>asyncOperationStarted</code>
events (if any), as if a debugger stepping session has just been started." | 3715 "description": "Fires pending <code>asyncOperationStarted</code>
events (if any), as if a debugger stepping session has just been started." |
| 3756 }, | 3716 }, |
| 3757 { | 3717 { |
| 3758 "name": "setAsyncOperationBreakpoint", | 3718 "name": "setAsyncOperationBreakpoint", |
| 3759 "parameters": [ | 3719 "parameters": [ |
| 3760 { "name": "operationId", "type": "integer", "description": "
ID of the async operation to set breakpoint for." } | 3720 { "name": "operationId", "type": "integer", "description": "
ID of the async operation to set breakpoint for." } |
| 3761 ], | 3721 ], |
| 3762 "hidden": true, | 3722 "hidden": true, |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3837 { "name": "hitBreakpoints", "type": "array", "optional": tru
e, "items": { "type": "string" }, "description": "Hit breakpoints IDs", "hidden"
: true }, | 3797 { "name": "hitBreakpoints", "type": "array", "optional": tru
e, "items": { "type": "string" }, "description": "Hit breakpoints IDs", "hidden"
: true }, |
| 3838 { "name": "asyncStackTrace", "$ref": "Runtime.StackTrace", "
optional": true, "description": "Async stack trace, if any.", "hidden": true } | 3798 { "name": "asyncStackTrace", "$ref": "Runtime.StackTrace", "
optional": true, "description": "Async stack trace, if any.", "hidden": true } |
| 3839 ], | 3799 ], |
| 3840 "description": "Fired when the virtual machine stopped on breakp
oint or exception or any other stop criteria." | 3800 "description": "Fired when the virtual machine stopped on breakp
oint or exception or any other stop criteria." |
| 3841 }, | 3801 }, |
| 3842 { | 3802 { |
| 3843 "name": "resumed", | 3803 "name": "resumed", |
| 3844 "description": "Fired when the virtual machine resumed execution
." | 3804 "description": "Fired when the virtual machine resumed execution
." |
| 3845 }, | 3805 }, |
| 3846 { | 3806 { |
| 3847 "name": "promiseUpdated", | |
| 3848 "parameters": [ | |
| 3849 { "name": "eventType", "type": "string", "enum": ["new", "up
date", "gc"], "description": "Type of the event." }, | |
| 3850 { "name": "promise", "$ref": "PromiseDetails", "description"
: "Information about the updated <code>Promise</code>." } | |
| 3851 ], | |
| 3852 "description": "Fired when a <code>Promise</code> is created, up
dated or garbage collected.", | |
| 3853 "hidden": true | |
| 3854 }, | |
| 3855 { | |
| 3856 "name": "asyncOperationStarted", | 3807 "name": "asyncOperationStarted", |
| 3857 "parameters": [ | 3808 "parameters": [ |
| 3858 { "name": "operation", "$ref": "AsyncOperation", "descriptio
n": "Information about the async operation." } | 3809 { "name": "operation", "$ref": "AsyncOperation", "descriptio
n": "Information about the async operation." } |
| 3859 ], | 3810 ], |
| 3860 "description": "Fired when an async operation is scheduled (whil
e in a debugger stepping session).", | 3811 "description": "Fired when an async operation is scheduled (whil
e in a debugger stepping session).", |
| 3861 "hidden": true | 3812 "hidden": true |
| 3862 }, | 3813 }, |
| 3863 { | 3814 { |
| 3864 "name": "asyncOperationCompleted", | 3815 "name": "asyncOperationCompleted", |
| 3865 "parameters": [ | 3816 "parameters": [ |
| (...skipping 1317 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5183 ], | 5134 ], |
| 5184 "returns": [ | 5135 "returns": [ |
| 5185 { "name": "accessibilityNode", "$ref": "AXNode", "descriptio
n": "The <code>Accessibility.AXNode</code> for this DOM node, if it exists.", "o
ptional": true } | 5136 { "name": "accessibilityNode", "$ref": "AXNode", "descriptio
n": "The <code>Accessibility.AXNode</code> for this DOM node, if it exists.", "o
ptional": true } |
| 5186 ], | 5137 ], |
| 5187 "description": "Fetches the accessibility node for this DOM node
, if it exists.", | 5138 "description": "Fetches the accessibility node for this DOM node
, if it exists.", |
| 5188 "hidden": true | 5139 "hidden": true |
| 5189 } | 5140 } |
| 5190 ] | 5141 ] |
| 5191 }] | 5142 }] |
| 5192 } | 5143 } |
| OLD | NEW |