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 230 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
241 "parameters": [ | 241 "parameters": [ |
242 { "name": "url", "type": "string", "description": "URL to na
vigate the page to." } | 242 { "name": "url", "type": "string", "description": "URL to na
vigate the page to." } |
243 ], | 243 ], |
244 "description": "Navigates current page to the given URL." | 244 "description": "Navigates current page to the given URL." |
245 }, | 245 }, |
246 { | 246 { |
247 "name": "getNavigationHistory", | 247 "name": "getNavigationHistory", |
248 "parameters": [], | 248 "parameters": [], |
249 "returns": [ | 249 "returns": [ |
250 { "name": "currentIndex", "type": "integer", "description": "Ind
ex of the current navigation history entry." }, | 250 { "name": "currentIndex", "type": "integer", "description": "Ind
ex of the current navigation history entry." }, |
251 { "name": "entries", "type": "array", "items": { "$ref": "Naviga
tionEntry"}, "description": "Array of navigation history entries." } | 251 { "name": "entries", "type": "array", "items": { "$ref": "Naviga
tionEntry" }, "description": "Array of navigation history entries." } |
252 ], | 252 ], |
253 "description": "Returns navigation history for the current page.", | 253 "description": "Returns navigation history for the current page.", |
254 "hidden": true | 254 "hidden": true |
255 }, | 255 }, |
256 { | 256 { |
257 "name": "navigateToHistoryEntry", | 257 "name": "navigateToHistoryEntry", |
258 "parameters": [ | 258 "parameters": [ |
259 { "name": "entryId", "type": "integer", "description": "Unique
id of the entry to navigate to." } | 259 { "name": "entryId", "type": "integer", "description": "Unique
id of the entry to navigate to." } |
260 ], | 260 ], |
261 "description": "Navigates current page to the given history entry.
", | 261 "description": "Navigates current page to the given history entry.
", |
262 "hidden": true | 262 "hidden": true |
263 }, | 263 }, |
264 { | 264 { |
265 "name": "getCookies", | 265 "name": "getCookies", |
266 "returns": [ | 266 "returns": [ |
267 { "name": "cookies", "type": "array", "items": { "$ref": "Co
okie"}, "description": "Array of cookie objects." }, | 267 { "name": "cookies", "type": "array", "items": { "$ref": "Co
okie" }, "description": "Array of cookie objects." }, |
268 { "name": "cookiesString", "type": "string", "description":
"document.cookie string representation of the cookies." } | 268 { "name": "cookiesString", "type": "string", "description":
"document.cookie string representation of the cookies." } |
269 ], | 269 ], |
270 "description": "Returns all browser cookies. Depending on the ba
ckend support, will either return detailed cookie information in the <code>cooki
e</code> field or string cookie representation using <code>cookieString</code>."
, | 270 "description": "Returns all browser cookies. Depending on the ba
ckend support, will either return detailed cookie information in the <code>cooki
e</code> field or string cookie representation using <code>cookieString</code>."
, |
271 "hidden": true | 271 "hidden": true |
272 }, | 272 }, |
273 { | 273 { |
274 "name": "deleteCookie", | 274 "name": "deleteCookie", |
275 "parameters": [ | 275 "parameters": [ |
276 { "name": "cookieName", "type": "string", "description": "Na
me of the cookie to remove." }, | 276 { "name": "cookieName", "type": "string", "description": "Na
me of the cookie to remove." }, |
277 { "name": "url", "type": "string", "description": "URL to ma
tch cooke domain and path." } | 277 { "name": "url", "type": "string", "description": "URL to ma
tch cooke domain and path." } |
(...skipping 464 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
742 "description": "Calls function with given declaration on the giv
en object. Object group of the result is inherited from the target object." | 742 "description": "Calls function with given declaration on the giv
en object. Object group of the result is inherited from the target object." |
743 }, | 743 }, |
744 { | 744 { |
745 "name": "getProperties", | 745 "name": "getProperties", |
746 "parameters": [ | 746 "parameters": [ |
747 { "name": "objectId", "$ref": "RemoteObjectId", "description
": "Identifier of the object to return properties for." }, | 747 { "name": "objectId", "$ref": "RemoteObjectId", "description
": "Identifier of the object to return properties for." }, |
748 { "name": "ownProperties", "optional": true, "type": "boolea
n", "description": "If true, returns properties belonging only to the element it
self, not to its prototype chain." }, | 748 { "name": "ownProperties", "optional": true, "type": "boolea
n", "description": "If true, returns properties belonging only to the element it
self, not to its prototype chain." }, |
749 { "name": "accessorPropertiesOnly", "optional": true, "type"
: "boolean", "description": "If true, returns accessor properties (with getter/s
etter) only; internal properties are not returned either.", "hidden": true } | 749 { "name": "accessorPropertiesOnly", "optional": true, "type"
: "boolean", "description": "If true, returns accessor properties (with getter/s
etter) only; internal properties are not returned either.", "hidden": true } |
750 ], | 750 ], |
751 "returns": [ | 751 "returns": [ |
752 { "name": "result", "type": "array", "items": { "$ref": "Pro
pertyDescriptor"}, "description": "Object properties." }, | 752 { "name": "result", "type": "array", "items": { "$ref": "Pro
pertyDescriptor" }, "description": "Object properties." }, |
753 { "name": "internalProperties", "optional": true, "type": "a
rray", "items": { "$ref": "InternalPropertyDescriptor"}, "description": "Interna
l object properties (only of the element itself).", "hidden": true } | 753 { "name": "internalProperties", "optional": true, "type": "a
rray", "items": { "$ref": "InternalPropertyDescriptor" }, "description": "Intern
al object properties (only of the element itself).", "hidden": true } |
754 ], | 754 ], |
755 "description": "Returns properties of a given object. Object gro
up of the result is inherited from the target object." | 755 "description": "Returns properties of a given object. Object gro
up of the result is inherited from the target object." |
756 }, | 756 }, |
757 { | 757 { |
758 "name": "releaseObject", | 758 "name": "releaseObject", |
759 "parameters": [ | 759 "parameters": [ |
760 { "name": "objectId", "$ref": "RemoteObjectId", "description
": "Identifier of the object to release." } | 760 { "name": "objectId", "$ref": "RemoteObjectId", "description
": "Identifier of the object to release." } |
761 ], | 761 ], |
762 "description": "Releases remote object with given id." | 762 "description": "Releases remote object with given id." |
763 }, | 763 }, |
(...skipping 1204 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1968 ], | 1968 ], |
1969 "description": "Removes attribute with given name from an elemen
t with given id." | 1969 "description": "Removes attribute with given name from an elemen
t with given id." |
1970 }, | 1970 }, |
1971 { | 1971 { |
1972 "name": "getEventListenersForNode", | 1972 "name": "getEventListenersForNode", |
1973 "parameters": [ | 1973 "parameters": [ |
1974 { "name": "nodeId", "$ref": "NodeId", "description": "Id of
the node to get listeners for." }, | 1974 { "name": "nodeId", "$ref": "NodeId", "description": "Id of
the node to get listeners for." }, |
1975 { "name": "objectGroup", "type": "string", "optional": true,
"description": "Symbolic group name for handler value. Handler value is not ret
urned without this parameter specified." } | 1975 { "name": "objectGroup", "type": "string", "optional": true,
"description": "Symbolic group name for handler value. Handler value is not ret
urned without this parameter specified." } |
1976 ], | 1976 ], |
1977 "returns": [ | 1977 "returns": [ |
1978 { "name": "listeners", "type": "array", "items": { "$ref": "
EventListener"}, "description": "Array of relevant listeners." } | 1978 { "name": "listeners", "type": "array", "items": { "$ref": "
EventListener" }, "description": "Array of relevant listeners." } |
1979 ], | 1979 ], |
1980 "description": "Returns event listeners relevant to the node.", | 1980 "description": "Returns event listeners relevant to the node.", |
1981 "hidden": true | 1981 "hidden": true |
1982 }, | 1982 }, |
1983 { | 1983 { |
1984 "name": "getOuterHTML", | 1984 "name": "getOuterHTML", |
1985 "parameters": [ | 1985 "parameters": [ |
1986 { "name": "nodeId", "$ref": "NodeId", "description": "Id of
the node to get markup for." } | 1986 { "name": "nodeId", "$ref": "NodeId", "description": "Id of
the node to get markup for." } |
1987 ], | 1987 ], |
1988 "returns": [ | 1988 "returns": [ |
(...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2236 "parameters": [ | 2236 "parameters": [ |
2237 { "name": "nodeId", "$ref": "NodeId", "description": "Id of
the node to inspect." } | 2237 { "name": "nodeId", "$ref": "NodeId", "description": "Id of
the node to inspect." } |
2238 ], | 2238 ], |
2239 "description": "Fired when the node should be inspected. This ha
ppens after call to <code>setInspectModeEnabled</code>.", | 2239 "description": "Fired when the node should be inspected. This ha
ppens after call to <code>setInspectModeEnabled</code>.", |
2240 "hidden" : true | 2240 "hidden" : true |
2241 }, | 2241 }, |
2242 { | 2242 { |
2243 "name": "setChildNodes", | 2243 "name": "setChildNodes", |
2244 "parameters": [ | 2244 "parameters": [ |
2245 { "name": "parentId", "$ref": "NodeId", "description": "Pare
nt node id to populate with children." }, | 2245 { "name": "parentId", "$ref": "NodeId", "description": "Pare
nt node id to populate with children." }, |
2246 { "name": "nodes", "type": "array", "items": { "$ref": "Node
"}, "description": "Child nodes array." } | 2246 { "name": "nodes", "type": "array", "items": { "$ref": "Node
" }, "description": "Child nodes array." } |
2247 ], | 2247 ], |
2248 "description": "Fired when backend wants to provide client with
the missing DOM structure. This happens upon most of the calls requesting node i
ds." | 2248 "description": "Fired when backend wants to provide client with
the missing DOM structure. This happens upon most of the calls requesting node i
ds." |
2249 }, | 2249 }, |
2250 { | 2250 { |
2251 "name": "attributeModified", | 2251 "name": "attributeModified", |
2252 "parameters": [ | 2252 "parameters": [ |
2253 { "name": "nodeId", "$ref": "NodeId", "description": "Id of
the node that has changed." }, | 2253 { "name": "nodeId", "$ref": "NodeId", "description": "Id of
the node that has changed." }, |
2254 { "name": "name", "type": "string", "description": "Attribut
e name." }, | 2254 { "name": "name", "type": "string", "description": "Attribut
e name." }, |
2255 { "name": "value", "type": "string", "description": "Attribu
te value." } | 2255 { "name": "value", "type": "string", "description": "Attribu
te value." } |
2256 ], | 2256 ], |
(...skipping 397 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2654 ], | 2654 ], |
2655 "description": "Returns the computed style for a DOM node identi
fied by <code>nodeId</code>." | 2655 "description": "Returns the computed style for a DOM node identi
fied by <code>nodeId</code>." |
2656 }, | 2656 }, |
2657 { | 2657 { |
2658 "name": "getPlatformFontsForNode", | 2658 "name": "getPlatformFontsForNode", |
2659 "parameters": [ | 2659 "parameters": [ |
2660 { "name": "nodeId", "$ref": "DOM.NodeId" } | 2660 { "name": "nodeId", "$ref": "DOM.NodeId" } |
2661 ], | 2661 ], |
2662 "returns": [ | 2662 "returns": [ |
2663 { "name": "cssFamilyName", "type": "string", "description":
"Font family name which is determined by computed style." }, | 2663 { "name": "cssFamilyName", "type": "string", "description":
"Font family name which is determined by computed style." }, |
2664 { "name": "fonts", "type": "array", "items": { "$ref": "Plat
formFontUsage"}, "description": "Usage statistics for every employed platform fo
nt." } | 2664 { "name": "fonts", "type": "array", "items": { "$ref": "Plat
formFontUsage" }, "description": "Usage statistics for every employed platform f
ont." } |
2665 ], | 2665 ], |
2666 "description": "Requests information about platform fonts which
we used to render child TextNodes in the given node.", | 2666 "description": "Requests information about platform fonts which
we used to render child TextNodes in the given node.", |
2667 "hidden": true | 2667 "hidden": true |
2668 }, | 2668 }, |
2669 { | 2669 { |
2670 "name": "getAllStyleSheets", | 2670 "name": "getAllStyleSheets", |
2671 "returns": [ | 2671 "returns": [ |
2672 { "name": "headers", "type": "array", "items": { "$ref": "CS
SStyleSheetHeader" }, "description": "Descriptor entries for all available style
sheets." } | 2672 { "name": "headers", "type": "array", "items": { "$ref": "CS
SStyleSheetHeader" }, "description": "Descriptor entries for all available style
sheets." } |
2673 ], | 2673 ], |
2674 "description": "Returns metainfo entries for all known styleshee
ts." | 2674 "description": "Returns metainfo entries for all known styleshee
ts." |
(...skipping 301 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2976 { "name": "callFrameId", "$ref": "CallFrameId", "description
": "Call frame identifier. This identifier is only valid while the virtual machi
ne is paused." }, | 2976 { "name": "callFrameId", "$ref": "CallFrameId", "description
": "Call frame identifier. This identifier is only valid while the virtual machi
ne is paused." }, |
2977 { "name": "functionName", "type": "string", "description": "
Name of the JavaScript function called on this call frame." }, | 2977 { "name": "functionName", "type": "string", "description": "
Name of the JavaScript function called on this call frame." }, |
2978 { "name": "location", "$ref": "Location", "description": "Lo
cation in the source code." }, | 2978 { "name": "location", "$ref": "Location", "description": "Lo
cation in the source code." }, |
2979 { "name": "scopeChain", "type": "array", "items": { "$ref":
"Scope" }, "description": "Scope chain for this call frame." }, | 2979 { "name": "scopeChain", "type": "array", "items": { "$ref":
"Scope" }, "description": "Scope chain for this call frame." }, |
2980 { "name": "this", "$ref": "Runtime.RemoteObject", "descripti
on": "<code>this</code> object for this call frame." }, | 2980 { "name": "this", "$ref": "Runtime.RemoteObject", "descripti
on": "<code>this</code> object for this call frame." }, |
2981 { "name": "returnValue", "$ref": "Runtime.RemoteObject", "op
tional": true, "hidden": true, "description": "The value being returned, if the
function is at return point." } | 2981 { "name": "returnValue", "$ref": "Runtime.RemoteObject", "op
tional": true, "hidden": true, "description": "The value being returned, if the
function is at return point." } |
2982 ], | 2982 ], |
2983 "description": "JavaScript call frame. Array of call frames form
the call stack." | 2983 "description": "JavaScript call frame. Array of call frames form
the call stack." |
2984 }, | 2984 }, |
2985 { | 2985 { |
| 2986 "id": "StackTrace", |
| 2987 "type": "object", |
| 2988 "properties": [ |
| 2989 { "name": "callFrames", "type": "array", "items": { "$ref":
"CallFrame" }, "description": "Call frames of the stack trace." }, |
| 2990 { "name": "asyncStackTrace", "$ref": "StackTrace", "optional
": true, "description": "Async stack trace, if any." } |
| 2991 ], |
| 2992 "description": "JavaScript call stack, including async stack tra
ces.", |
| 2993 "hidden": true |
| 2994 }, |
| 2995 { |
2986 "id": "Scope", | 2996 "id": "Scope", |
2987 "type": "object", | 2997 "type": "object", |
2988 "properties": [ | 2998 "properties": [ |
2989 { "name": "type", "type": "string", "enum": ["global", "loca
l", "with", "closure", "catch"], "description": "Scope type." }, | 2999 { "name": "type", "type": "string", "enum": ["global", "loca
l", "with", "closure", "catch"], "description": "Scope type." }, |
2990 { "name": "object", "$ref": "Runtime.RemoteObject", "descrip
tion": "Object representing the scope. For <code>global</code> and <code>with</c
ode> scopes it represents the actual object; for the rest of the scopes, it is a
rtificial transient object enumerating scope variables as its properties." } | 3000 { "name": "object", "$ref": "Runtime.RemoteObject", "descrip
tion": "Object representing the scope. For <code>global</code> and <code>with</c
ode> scopes it represents the actual object; for the rest of the scopes, it is a
rtificial transient object enumerating scope variables as its properties." } |
2991 ], | 3001 ], |
2992 "description": "Scope description." | 3002 "description": "Scope description." |
2993 }, | 3003 }, |
2994 { | 3004 { |
2995 "id": "SetScriptSourceError", | 3005 "id": "SetScriptSourceError", |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3037 "parameters": [ | 3047 "parameters": [ |
3038 { "name": "lineNumber", "type": "integer", "description": "L
ine number to set breakpoint at." }, | 3048 { "name": "lineNumber", "type": "integer", "description": "L
ine number to set breakpoint at." }, |
3039 { "name": "url", "type": "string", "optional": true, "descri
ption": "URL of the resources to set breakpoint on." }, | 3049 { "name": "url", "type": "string", "optional": true, "descri
ption": "URL of the resources to set breakpoint on." }, |
3040 { "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." }, | 3050 { "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." }, |
3041 { "name": "columnNumber", "type": "integer", "optional": tru
e, "description": "Offset in the line to set breakpoint at." }, | 3051 { "name": "columnNumber", "type": "integer", "optional": tru
e, "description": "Offset in the line to set breakpoint at." }, |
3042 { "name": "condition", "type": "string", "optional": true, "
description": "Expression to use as a breakpoint condition. When specified, debu
gger will only stop on the breakpoint if this expression evaluates to true." }, | 3052 { "name": "condition", "type": "string", "optional": true, "
description": "Expression to use as a breakpoint condition. When specified, debu
gger will only stop on the breakpoint if this expression evaluates to true." }, |
3043 { "name": "isAntibreakpoint", "type": "boolean", "optional":
true, "hidden": true, "description": "Creates pseudo-breakpoint that prevents d
ebugger from pausing on exception at this location." } | 3053 { "name": "isAntibreakpoint", "type": "boolean", "optional":
true, "hidden": true, "description": "Creates pseudo-breakpoint that prevents d
ebugger from pausing on exception at this location." } |
3044 ], | 3054 ], |
3045 "returns": [ | 3055 "returns": [ |
3046 { "name": "breakpointId", "$ref": "BreakpointId", "descripti
on": "Id of the created breakpoint for further reference." }, | 3056 { "name": "breakpointId", "$ref": "BreakpointId", "descripti
on": "Id of the created breakpoint for further reference." }, |
3047 { "name": "locations", "type": "array", "items": { "$ref": "
Location"}, "description": "List of the locations this breakpoint resolved into
upon addition." } | 3057 { "name": "locations", "type": "array", "items": { "$ref": "
Location" }, "description": "List of the locations this breakpoint resolved into
upon addition." } |
3048 ], | 3058 ], |
3049 "description": "Sets JavaScript breakpoint at given location spe
cified either by URL or URL regex. Once this command is issued, all existing par
sed scripts will have breakpoints resolved and returned in <code>locations</code
> property. Further matching script parsing will result in subsequent <code>brea
kpointResolved</code> events issued. This logical breakpoint will survive page r
eloads." | 3059 "description": "Sets JavaScript breakpoint at given location spe
cified either by URL or URL regex. Once this command is issued, all existing par
sed scripts will have breakpoints resolved and returned in <code>locations</code
> property. Further matching script parsing will result in subsequent <code>brea
kpointResolved</code> events issued. This logical breakpoint will survive page r
eloads." |
3050 }, | 3060 }, |
3051 { | 3061 { |
3052 "name": "setBreakpoint", | 3062 "name": "setBreakpoint", |
3053 "parameters": [ | 3063 "parameters": [ |
3054 { "name": "location", "$ref": "Location", "description": "Lo
cation to set breakpoint in." }, | 3064 { "name": "location", "$ref": "Location", "description": "Lo
cation to set breakpoint in." }, |
3055 { "name": "condition", "type": "string", "optional": true, "
description": "Expression to use as a breakpoint condition. When specified, debu
gger will only stop on the breakpoint if this expression evaluates to true." } | 3065 { "name": "condition", "type": "string", "optional": true, "
description": "Expression to use as a breakpoint condition. When specified, debu
gger will only stop on the breakpoint if this expression evaluates to true." } |
3056 ], | 3066 ], |
3057 "returns": [ | 3067 "returns": [ |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3122 "description": "Always returns true." | 3132 "description": "Always returns true." |
3123 }, | 3133 }, |
3124 { | 3134 { |
3125 "name": "setScriptSource", | 3135 "name": "setScriptSource", |
3126 "parameters": [ | 3136 "parameters": [ |
3127 { "name": "scriptId", "$ref": "ScriptId", "description": "Id
of the script to edit." }, | 3137 { "name": "scriptId", "$ref": "ScriptId", "description": "Id
of the script to edit." }, |
3128 { "name": "scriptSource", "type": "string", "description": "
New content of the script." }, | 3138 { "name": "scriptSource", "type": "string", "description": "
New content of the script." }, |
3129 { "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.", "hidde
n": true } | 3139 { "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.", "hidde
n": true } |
3130 ], | 3140 ], |
3131 "returns": [ | 3141 "returns": [ |
3132 { "name": "callFrames", "type": "array", "optional": true, "
items": { "$ref": "CallFrame"}, "description": "New stack trace in case editing
has happened while VM was stopped." }, | 3142 { "name": "callFrames", "type": "array", "optional": true, "
items": { "$ref": "CallFrame" }, "description": "New stack trace in case editing
has happened while VM was stopped." }, |
3133 { "name": "result", "type": "object", "optional": true, "des
cription": "VM-specific description of the changes applied.", "hidden": true } | 3143 { "name": "result", "type": "object", "optional": true, "des
cription": "VM-specific description of the changes applied.", "hidden": true }, |
| 3144 { "name": "asyncStackTrace", "$ref": "StackTrace", "optional
": true, "description": "Async stack trace, if any.", "hidden": true } |
3134 ], | 3145 ], |
3135 "error": { | 3146 "error": { |
3136 "$ref": "SetScriptSourceError" | 3147 "$ref": "SetScriptSourceError" |
3137 }, | 3148 }, |
3138 "description": "Edits JavaScript source live." | 3149 "description": "Edits JavaScript source live." |
3139 }, | 3150 }, |
3140 { | 3151 { |
3141 "name": "restartFrame", | 3152 "name": "restartFrame", |
3142 "parameters": [ | 3153 "parameters": [ |
3143 { "name": "callFrameId", "$ref": "CallFrameId", "description
": "Call frame identifier to evaluate on." } | 3154 { "name": "callFrameId", "$ref": "CallFrameId", "description
": "Call frame identifier to evaluate on." } |
3144 ], | 3155 ], |
3145 "returns": [ | 3156 "returns": [ |
3146 { "name": "callFrames", "type": "array", "items": { "$ref":
"CallFrame"}, "description": "New stack trace." }, | 3157 { "name": "callFrames", "type": "array", "items": { "$ref":
"CallFrame" }, "description": "New stack trace." }, |
3147 { "name": "result", "type": "object", "description": "VM-spe
cific description.", "hidden": true } | 3158 { "name": "result", "type": "object", "description": "VM-spe
cific description." }, |
| 3159 { "name": "asyncStackTrace", "$ref": "StackTrace", "optional
": true, "description": "Async stack trace, if any." } |
3148 ], | 3160 ], |
3149 "hidden": true, | 3161 "hidden": true, |
3150 "description": "Restarts particular call frame from the beginnin
g." | 3162 "description": "Restarts particular call frame from the beginnin
g." |
3151 }, | 3163 }, |
3152 { | 3164 { |
3153 "name": "getScriptSource", | 3165 "name": "getScriptSource", |
3154 "parameters": [ | 3166 "parameters": [ |
3155 { "name": "scriptId", "$ref": "ScriptId", "description": "Id
of the script to get source for." } | 3167 { "name": "scriptId", "$ref": "ScriptId", "description": "Id
of the script to get source for." } |
3156 ], | 3168 ], |
3157 "returns": [ | 3169 "returns": [ |
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3249 ], | 3261 ], |
3250 "returns": [ | 3262 "returns": [ |
3251 { "name": "stepInPositions", "type": "array", "items": { "$r
ef": "Location" }, "optional": true, "description": "experimental" } | 3263 { "name": "stepInPositions", "type": "array", "items": { "$r
ef": "Location" }, "optional": true, "description": "experimental" } |
3252 ], | 3264 ], |
3253 "hidden": true, | 3265 "hidden": true, |
3254 "description": "Lists all positions where step-in is possible fo
r a current statement in a specified call frame" | 3266 "description": "Lists all positions where step-in is possible fo
r a current statement in a specified call frame" |
3255 }, | 3267 }, |
3256 { | 3268 { |
3257 "name": "getBacktrace", | 3269 "name": "getBacktrace", |
3258 "returns": [ | 3270 "returns": [ |
3259 { "name": "callFrames", "type": "array", "items": { "$ref":
"CallFrame"}, "description": "Call stack the virtual machine stopped on." } | 3271 { "name": "callFrames", "type": "array", "items": { "$ref":
"CallFrame" }, "description": "Call stack the virtual machine stopped on." }, |
| 3272 { "name": "asyncStackTrace", "$ref": "StackTrace", "optional
": true, "description": "Async stack trace, if any." } |
3260 ], | 3273 ], |
3261 "hidden": true, | 3274 "hidden": true, |
3262 "description": "Returns call stack including variables changed s
ince VM was paused. VM must be paused." | 3275 "description": "Returns call stack including variables changed s
ince VM was paused. VM must be paused." |
3263 }, | 3276 }, |
3264 { | 3277 { |
3265 "name": "skipStackFrames", | 3278 "name": "skipStackFrames", |
3266 "parameters": [ | 3279 "parameters": [ |
3267 { "name": "script", "optional": true, "type": "string", "des
cription": "Regular expression defining the scripts to ignore while stepping." } | 3280 { "name": "script", "optional": true, "type": "string", "des
cription": "Regular expression defining the scripts to ignore while stepping." } |
3268 ], | 3281 ], |
3269 "hidden": true, | 3282 "hidden": true, |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3308 { "name": "location", "$ref": "Location", "description": "Ac
tual breakpoint location." } | 3321 { "name": "location", "$ref": "Location", "description": "Ac
tual breakpoint location." } |
3309 ], | 3322 ], |
3310 "description": "Fired when breakpoint is resolved to an actual s
cript and location." | 3323 "description": "Fired when breakpoint is resolved to an actual s
cript and location." |
3311 }, | 3324 }, |
3312 { | 3325 { |
3313 "name": "paused", | 3326 "name": "paused", |
3314 "parameters": [ | 3327 "parameters": [ |
3315 { "name": "callFrames", "type": "array", "items": { "$ref":
"CallFrame" }, "description": "Call stack the virtual machine stopped on." }, | 3328 { "name": "callFrames", "type": "array", "items": { "$ref":
"CallFrame" }, "description": "Call stack the virtual machine stopped on." }, |
3316 { "name": "reason", "type": "string", "enum": [ "XHR", "DOM"
, "EventListener", "exception", "assert", "CSPViolation", "debugCommand", "other
" ], "description": "Pause reason." }, | 3329 { "name": "reason", "type": "string", "enum": [ "XHR", "DOM"
, "EventListener", "exception", "assert", "CSPViolation", "debugCommand", "other
" ], "description": "Pause reason." }, |
3317 { "name": "data", "type": "object", "optional": true, "descr
iption": "Object containing break-specific auxiliary properties." }, | 3330 { "name": "data", "type": "object", "optional": true, "descr
iption": "Object containing break-specific auxiliary properties." }, |
3318 { "name": "hitBreakpoints", "type": "array", "optional": tru
e, "items": { "type": "string" }, "description": "Hit breakpoints IDs", "hidden"
: true } | 3331 { "name": "hitBreakpoints", "type": "array", "optional": tru
e, "items": { "type": "string" }, "description": "Hit breakpoints IDs", "hidden"
: true }, |
| 3332 { "name": "asyncStackTrace", "$ref": "StackTrace", "optional
": true, "description": "Async stack trace, if any.", "hidden": true } |
3319 ], | 3333 ], |
3320 "description": "Fired when the virtual machine stopped on breakp
oint or exception or any other stop criteria." | 3334 "description": "Fired when the virtual machine stopped on breakp
oint or exception or any other stop criteria." |
3321 }, | 3335 }, |
3322 { | 3336 { |
3323 "name": "resumed", | 3337 "name": "resumed", |
3324 "description": "Fired when the virtual machine resumed execution
." | 3338 "description": "Fired when the virtual machine resumed execution
." |
3325 } | 3339 } |
3326 ] | 3340 ] |
3327 }, | 3341 }, |
3328 { | 3342 { |
(...skipping 728 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4057 "parameters": [ | 4071 "parameters": [ |
4058 { "name": "value", "type": "array", "items": { "type": "obje
ct" } } | 4072 { "name": "value", "type": "array", "items": { "type": "obje
ct" } } |
4059 ] | 4073 ] |
4060 }, | 4074 }, |
4061 { | 4075 { |
4062 "name": "tracingComplete" | 4076 "name": "tracingComplete" |
4063 } | 4077 } |
4064 ] | 4078 ] |
4065 }] | 4079 }] |
4066 } | 4080 } |
OLD | NEW |