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 3346 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
3357 "id": "BreakpointId", | 3357 "id": "BreakpointId", |
3358 "type": "string", | 3358 "type": "string", |
3359 "description": "Breakpoint identifier." | 3359 "description": "Breakpoint identifier." |
3360 }, | 3360 }, |
3361 { | 3361 { |
3362 "id": "CallFrameId", | 3362 "id": "CallFrameId", |
3363 "type": "string", | 3363 "type": "string", |
3364 "description": "Call frame identifier." | 3364 "description": "Call frame identifier." |
3365 }, | 3365 }, |
3366 { | 3366 { |
3367 "id": "ScriptHash", | |
3368 "type": "string", | |
3369 "description": "Script's content hash." | |
3370 }, | |
3371 { | |
3367 "id": "Location", | 3372 "id": "Location", |
3368 "type": "object", | 3373 "type": "object", |
3369 "properties": [ | 3374 "properties": [ |
3370 { "name": "scriptId", "$ref": "Runtime.ScriptId", "descripti on": "Script identifier as reported in the <code>Debugger.scriptParsed</code>." }, | 3375 { "name": "scriptId", "$ref": "Runtime.ScriptId", "descripti on": "Script identifier as reported in the <code>Debugger.scriptParsed</code>." }, |
3371 { "name": "lineNumber", "type": "integer", "description": "L ine number in the script (0-based)." }, | 3376 { "name": "lineNumber", "type": "integer", "description": "L ine number in the script (0-based)." }, |
3372 { "name": "columnNumber", "type": "integer", "optional": tru e, "description": "Column number in the script (0-based)." } | 3377 { "name": "columnNumber", "type": "integer", "optional": tru e, "description": "Column number in the script (0-based)." } |
3373 ], | 3378 ], |
3374 "description": "Location in the source code." | 3379 "description": "Location in the source code." |
3375 }, | 3380 }, |
3376 { | 3381 { |
3377 "id": "ScriptPosition", | 3382 "id": "ScriptPosition", |
3378 "hidden": true, | 3383 "hidden": true, |
3379 "type": "object", | 3384 "type": "object", |
3380 "properties": [ | 3385 "properties": [ |
3381 { "name": "line", "type": "integer" }, | 3386 { "name": "line", "type": "integer" }, |
3382 { "name": "column", "type": "integer" } | 3387 { "name": "column", "type": "integer" } |
3383 ], | 3388 ], |
3384 "description": "Location in the source code." | 3389 "description": "Location in the source code." |
3385 }, | 3390 }, |
3386 { | 3391 { |
3392 "id": "BlackboxPattern", | |
3393 "hidden": true, | |
3394 "type": "object", | |
3395 "properties": [ | |
3396 { "name": "url", "type": "string", "optional": true }, | |
3397 { "name": "hash", "$ref": "ScriptHash", "optional": true }, | |
3398 { "name": "regexp", "type": "string", "optional": true }, | |
3399 { "name": "positions", "type": "array", "items": { "$ref": " ScriptPosition" }, "optional": true } | |
3400 ], | |
3401 "description": "Pattern contains one of script selector: url, ha sh or regexp for url and optional positions array if url or hast is set." | |
3402 }, | |
3403 { | |
3387 "id": "FunctionDetails", | 3404 "id": "FunctionDetails", |
3388 "hidden": true, | 3405 "hidden": true, |
3389 "type": "object", | 3406 "type": "object", |
3390 "properties": [ | 3407 "properties": [ |
3391 { "name": "location", "$ref": "Location", "optional": true, "description": "Location of the function, none for native functions." }, | 3408 { "name": "location", "$ref": "Location", "optional": true, "description": "Location of the function, none for native functions." }, |
3392 { "name": "functionName", "type": "string", "description": " Name of the function." }, | 3409 { "name": "functionName", "type": "string", "description": " Name of the function." }, |
3393 { "name": "isGenerator", "type": "boolean", "description": " Whether this is a generator function." }, | 3410 { "name": "isGenerator", "type": "boolean", "description": " Whether this is a generator function." }, |
3394 { "name": "scopeChain", "type": "array", "optional": true, " items": { "$ref": "Scope" }, "description": "Scope chain for this closure." } | 3411 { "name": "scopeChain", "type": "array", "optional": true, " items": { "$ref": "Scope" }, "description": "Scope chain for this closure." } |
3395 ], | 3412 ], |
3396 "description": "Information about the function." | 3413 "description": "Information about the function." |
(...skipping 379 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
3776 }, | 3793 }, |
3777 { | 3794 { |
3778 "name": "removeAsyncOperationBreakpoint", | 3795 "name": "removeAsyncOperationBreakpoint", |
3779 "parameters": [ | 3796 "parameters": [ |
3780 { "name": "operationId", "type": "integer", "description": " ID of the async operation to remove breakpoint for." } | 3797 { "name": "operationId", "type": "integer", "description": " ID of the async operation to remove breakpoint for." } |
3781 ], | 3798 ], |
3782 "hidden": true, | 3799 "hidden": true, |
3783 "description": "Removes AsyncOperation breakpoint." | 3800 "description": "Removes AsyncOperation breakpoint." |
3784 }, | 3801 }, |
3785 { | 3802 { |
3786 "name": "setBlackboxedRanges", | 3803 "name": "addBlackboxPatterns", |
3787 "parameters": [ | 3804 "parameters": [ |
3788 { "name": "scriptId", "$ref": "Runtime.ScriptId", "descripti on": "Id of the script." }, | 3805 { "name": "patterns", "type": "array", "items": { "$ref": "B lackboxPattern"} } |
pfeldman
2016/03/07 19:22:47
Why is the add/clear contract? It is typically eit
kozy
2016/03/08 02:33:20
I'd like to set initial pattern on debugger enable
| |
3789 { "name": "positions", "type": "array", "items": { "$ref": " ScriptPosition" } } | |
3790 ], | 3806 ], |
3791 "hidden": true, | 3807 "hidden": true, |
3792 "description": "Makes backend skip steps in the script in blackb oxed ranges. VM will try leave blacklisted scripts by performing 'step in' sever al times, finally resorting to 'step out' if unsuccessful. Positions array conta ins positions where blackbox state is changed. First interval isn't blackboxed. Array should be sorted." | 3808 "description": "Makes backend skip steps in the script in blackb oxed ranges. VM will try leave blacklisted scripts by performing 'step in' sever al times, finally resorting to 'step out' if unsuccessful. Positions array conta ins positions where blackbox state is changed. First interval isn't blackboxed. Array should be sorted." |
dgozman
2016/03/07 17:26:13
Please move detailed description of positions to B
kozy
2016/03/08 02:33:20
Done.
| |
3809 }, | |
3810 { | |
3811 "name": "clearBlackboxPatterns", | |
3812 "hidden": true, | |
3813 "description": "Clear all added blackbox patterns." | |
3793 } | 3814 } |
3794 ], | 3815 ], |
3795 "events": [ | 3816 "events": [ |
3796 { | 3817 { |
3797 "name": "globalObjectCleared", | 3818 "name": "globalObjectCleared", |
3798 "description": "Called when global has been cleared and debugger client should reset its state. Happens upon navigation or reload." | 3819 "description": "Called when global has been cleared and debugger client should reset its state. Happens upon navigation or reload." |
3799 }, | 3820 }, |
3800 { | 3821 { |
3801 "name": "scriptParsed", | 3822 "name": "scriptParsed", |
3802 "parameters": [ | 3823 "parameters": [ |
3803 { "name": "scriptId", "$ref": "Runtime.ScriptId", "descripti on": "Identifier of the script parsed." }, | 3824 { "name": "scriptId", "$ref": "Runtime.ScriptId", "descripti on": "Identifier of the script parsed." }, |
3804 { "name": "url", "type": "string", "description": "URL or na me of the script parsed (if any)." }, | 3825 { "name": "url", "type": "string", "description": "URL or na me of the script parsed (if any)." }, |
3805 { "name": "startLine", "type": "integer", "description": "Li ne offset of the script within the resource with given URL (for script tags)." } , | 3826 { "name": "startLine", "type": "integer", "description": "Li ne offset of the script within the resource with given URL (for script tags)." } , |
3806 { "name": "startColumn", "type": "integer", "description": " Column offset of the script within the resource with given URL." }, | 3827 { "name": "startColumn", "type": "integer", "description": " Column offset of the script within the resource with given URL." }, |
3807 { "name": "endLine", "type": "integer", "description": "Last line of the script." }, | 3828 { "name": "endLine", "type": "integer", "description": "Last line of the script." }, |
3808 { "name": "endColumn", "type": "integer", "description": "Le ngth of the last line of the script." }, | 3829 { "name": "endColumn", "type": "integer", "description": "Le ngth of the last line of the script." }, |
3809 { "name": "executionContextId", "$ref": "Runtime.ExecutionCo ntextId", "description": "Specifies script creation context.", "hidden": true }, | 3830 { "name": "executionContextId", "$ref": "Runtime.ExecutionCo ntextId", "description": "Specifies script creation context.", "hidden": true }, |
3810 { "name": "hash", "type": "string", "hidden": true, "descrip tion": "Content hash of the script."}, | 3831 { "name": "hash", "$ref": "ScriptHash", "optional": true, "h idden": true, "description": "Content hash of the script."}, |
3811 { "name": "isContentScript", "type": "boolean", "optional": true, "description": "Determines whether this script is a user extension script. " }, | 3832 { "name": "isContentScript", "type": "boolean", "optional": true, "description": "Determines whether this script is a user extension script. " }, |
3812 { "name": "isInternalScript", "type": "boolean", "optional": true, "description": "Determines whether this script is an internal script.", " hidden": true }, | 3833 { "name": "isInternalScript", "type": "boolean", "optional": true, "description": "Determines whether this script is an internal script.", " hidden": true }, |
3813 { "name": "isLiveEdit", "type": "boolean", "optional": true, "description": "True, if this script is generated as a result of the live edit operation.", "hidden": true }, | 3834 { "name": "isLiveEdit", "type": "boolean", "optional": true, "description": "True, if this script is generated as a result of the live edit operation.", "hidden": true }, |
3814 { "name": "sourceMapURL", "type": "string", "optional": true , "description": "URL of source map associated with script (if any)." }, | 3835 { "name": "sourceMapURL", "type": "string", "optional": true , "description": "URL of source map associated with script (if any)." }, |
3815 { "name": "hasSourceURL", "type": "boolean", "optional": tru e, "description": "True, if this script has sourceURL.", "hidden": true }, | 3836 { "name": "hasSourceURL", "type": "boolean", "optional": tru e, "description": "True, if this script has sourceURL.", "hidden": true }, |
3816 { "name": "deprecatedCommentWasUsed", "type": "boolean", "op tional": true, "hidden": true, "description": "True, if '//@ sourceURL' or '//@ sourceMappingURL' was used."} | 3837 { "name": "deprecatedCommentWasUsed", "type": "boolean", "op tional": true, "hidden": true, "description": "True, if '//@ sourceURL' or '//@ sourceMappingURL' was used."} |
3817 ], | 3838 ], |
3818 "description": "Fired when virtual machine parses script. This e vent is also fired for all known and uncollected scripts upon enabling debugger. " | 3839 "description": "Fired when virtual machine parses script. This e vent is also fired for all known and uncollected scripts upon enabling debugger. " |
3819 }, | 3840 }, |
3820 { | 3841 { |
3821 "name": "scriptFailedToParse", | 3842 "name": "scriptFailedToParse", |
3822 "parameters": [ | 3843 "parameters": [ |
3823 { "name": "scriptId", "$ref": "Runtime.ScriptId", "descripti on": "Identifier of the script parsed." }, | 3844 { "name": "scriptId", "$ref": "Runtime.ScriptId", "descripti on": "Identifier of the script parsed." }, |
3824 { "name": "url", "type": "string", "description": "URL or na me of the script parsed (if any)." }, | 3845 { "name": "url", "type": "string", "description": "URL or na me of the script parsed (if any)." }, |
3825 { "name": "startLine", "type": "integer", "description": "Li ne offset of the script within the resource with given URL (for script tags)." } , | 3846 { "name": "startLine", "type": "integer", "description": "Li ne offset of the script within the resource with given URL (for script tags)." } , |
3826 { "name": "startColumn", "type": "integer", "description": " Column offset of the script within the resource with given URL." }, | 3847 { "name": "startColumn", "type": "integer", "description": " Column offset of the script within the resource with given URL." }, |
3827 { "name": "endLine", "type": "integer", "description": "Last line of the script." }, | 3848 { "name": "endLine", "type": "integer", "description": "Last line of the script." }, |
3828 { "name": "endColumn", "type": "integer", "description": "Le ngth of the last line of the script." }, | 3849 { "name": "endColumn", "type": "integer", "description": "Le ngth of the last line of the script." }, |
3829 { "name": "executionContextId", "$ref": "Runtime.ExecutionCo ntextId", "description": "Specifies script creation context.", "hidden": true }, | 3850 { "name": "executionContextId", "$ref": "Runtime.ExecutionCo ntextId", "description": "Specifies script creation context.", "hidden": true }, |
3830 { "name": "hash", "type": "string", "hidden": true, "descrip tion": "Content hash of the script."}, | 3851 { "name": "hash", "$ref": "ScriptHash", "optional": true, "h idden": true, "description": "Content hash of the script."}, |
3831 { "name": "isContentScript", "type": "boolean", "optional": true, "description": "Determines whether this script is a user extension script. " }, | 3852 { "name": "isContentScript", "type": "boolean", "optional": true, "description": "Determines whether this script is a user extension script. " }, |
3832 { "name": "isInternalScript", "type": "boolean", "optional": true, "description": "Determines whether this script is an internal script.", " hidden": true }, | 3853 { "name": "isInternalScript", "type": "boolean", "optional": true, "description": "Determines whether this script is an internal script.", " hidden": true }, |
3833 { "name": "sourceMapURL", "type": "string", "optional": true , "description": "URL of source map associated with script (if any)." }, | 3854 { "name": "sourceMapURL", "type": "string", "optional": true , "description": "URL of source map associated with script (if any)." }, |
3834 { "name": "hasSourceURL", "type": "boolean", "optional": tru e, "description": "True, if this script has sourceURL.", "hidden": true }, | 3855 { "name": "hasSourceURL", "type": "boolean", "optional": tru e, "description": "True, if this script has sourceURL.", "hidden": true }, |
3835 { "name": "deprecatedCommentWasUsed", "type": "boolean", "op tional": true, "hidden": true, "description": "True, if '//@ sourceURL' or '//@ sourceMappingURL' was used."} | 3856 { "name": "deprecatedCommentWasUsed", "type": "boolean", "op tional": true, "hidden": true, "description": "True, if '//@ sourceURL' or '//@ sourceMappingURL' was used."} |
3836 ], | 3857 ], |
3837 "description": "Fired when virtual machine fails to parse the sc ript." | 3858 "description": "Fired when virtual machine fails to parse the sc ript." |
3838 }, | 3859 }, |
3839 { | 3860 { |
3840 "name": "breakpointResolved", | 3861 "name": "breakpointResolved", |
(...skipping 1324 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
5165 ], | 5186 ], |
5166 "returns": [ | 5187 "returns": [ |
5167 { "name": "accessibilityNode", "$ref": "AXNode", "descriptio n": "The <code>Accessibility.AXNode</code> for this DOM node, if it exists.", "o ptional": true } | 5188 { "name": "accessibilityNode", "$ref": "AXNode", "descriptio n": "The <code>Accessibility.AXNode</code> for this DOM node, if it exists.", "o ptional": true } |
5168 ], | 5189 ], |
5169 "description": "Fetches the accessibility node for this DOM node , if it exists.", | 5190 "description": "Fetches the accessibility node for this DOM node , if it exists.", |
5170 "hidden": true | 5191 "hidden": true |
5171 } | 5192 } |
5172 ] | 5193 ] |
5173 }] | 5194 }] |
5174 } | 5195 } |
OLD | NEW |