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 779 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
790 { "name": "expression", "type": "string", "description": "Ex pression to evaluate." }, | 790 { "name": "expression", "type": "string", "description": "Ex pression to evaluate." }, |
791 { "name": "objectGroup", "type": "string", "optional": true, "description": "Symbolic group name that can be used to release multiple object s." }, | 791 { "name": "objectGroup", "type": "string", "optional": true, "description": "Symbolic group name that can be used to release multiple object s." }, |
792 { "name": "includeCommandLineAPI", "type": "boolean", "optio nal": true, "description": "Determines whether Command Line API should be availa ble during the evaluation.", "hidden": true }, | 792 { "name": "includeCommandLineAPI", "type": "boolean", "optio nal": true, "description": "Determines whether Command Line API should be availa ble during the evaluation.", "hidden": true }, |
793 { "name": "doNotPauseOnExceptionsAndMuteConsole", "type": "b oolean", "optional": true, "description": "Specifies whether evaluation should s top on exceptions and mute console. Overrides setPauseOnException state.", "hidd en": true }, | 793 { "name": "doNotPauseOnExceptionsAndMuteConsole", "type": "b oolean", "optional": true, "description": "Specifies whether evaluation should s top on exceptions and mute console. Overrides setPauseOnException state.", "hidd en": true }, |
794 { "name": "contextId", "$ref": "Runtime.ExecutionContextId", "optional": true, "description": "Specifies in which isolated context to perfor m evaluation. Each content script lives in an isolated context and this paramete r may be used to specify one of those contexts. If the parameter is omitted or 0 the evaluation will be performed in the context of the inspected page." }, | 794 { "name": "contextId", "$ref": "Runtime.ExecutionContextId", "optional": true, "description": "Specifies in which isolated context to perfor m evaluation. Each content script lives in an isolated context and this paramete r may be used to specify one of those contexts. If the parameter is omitted or 0 the evaluation will be performed in the context of the inspected page." }, |
795 { "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." }, | 795 { "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." }, |
796 { "name": "generatePreview", "type": "boolean", "optional": true, "hidden": true, "description": "Whether preview should be generated for th e result." } | 796 { "name": "generatePreview", "type": "boolean", "optional": true, "hidden": true, "description": "Whether preview should be generated for th e result." } |
797 ], | 797 ], |
798 "returns": [ | 798 "returns": [ |
799 { "name": "result", "$ref": "RemoteObject", "description": " Evaluation result." }, | 799 { "name": "result", "$ref": "RemoteObject", "description": " Evaluation result." }, |
800 { "name": "wasThrown", "type": "boolean", "optional": true, "description": "True if the result was thrown during the evaluation." } | 800 { "name": "wasThrown", "type": "boolean", "optional": true, "description": "True if the result was thrown during the evaluation." }, |
801 { "name": "exceptionDetails", "$ref": "Debugger.ExceptionDet ails", "optional": true, "description": "Exception details."} | |
aandrey
2014/07/17 10:10:06
hidden?
kozyatinskiy1
2014/07/17 12:27:23
Done.
| |
801 ], | 802 ], |
802 "description": "Evaluates expression on global object." | 803 "description": "Evaluates expression on global object." |
803 }, | 804 }, |
804 { | 805 { |
805 "name": "callFunctionOn", | 806 "name": "callFunctionOn", |
806 "parameters": [ | 807 "parameters": [ |
807 { "name": "objectId", "$ref": "RemoteObjectId", "description ": "Identifier of the object to call function on." }, | 808 { "name": "objectId", "$ref": "RemoteObjectId", "description ": "Identifier of the object to call function on." }, |
808 { "name": "functionDeclaration", "type": "string", "descript ion": "Declaration of the function to call." }, | 809 { "name": "functionDeclaration", "type": "string", "descript ion": "Declaration of the function to call." }, |
809 { "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." }, | 810 { "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." }, |
810 { "name": "doNotPauseOnExceptionsAndMuteConsole", "type": "b oolean", "optional": true, "description": "Specifies whether function call shoul d stop on exceptions and mute console. Overrides setPauseOnException state.", "h idden": true }, | 811 { "name": "doNotPauseOnExceptionsAndMuteConsole", "type": "b oolean", "optional": true, "description": "Specifies whether function call shoul d stop on exceptions and mute console. Overrides setPauseOnException state.", "h idden": true }, |
(...skipping 2398 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
3209 { "name": "callFrameId", "$ref": "CallFrameId", "description ": "Call frame identifier to evaluate on." }, | 3210 { "name": "callFrameId", "$ref": "CallFrameId", "description ": "Call frame identifier to evaluate on." }, |
3210 { "name": "expression", "type": "string", "description": "Ex pression to evaluate." }, | 3211 { "name": "expression", "type": "string", "description": "Ex pression to evaluate." }, |
3211 { "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>)." }, | 3212 { "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>)." }, |
3212 { "name": "includeCommandLineAPI", "type": "boolean", "optio nal": true, "description": "Specifies whether command line API should be availab le to the evaluated expression, defaults to false.", "hidden": true }, | 3213 { "name": "includeCommandLineAPI", "type": "boolean", "optio nal": true, "description": "Specifies whether command line API should be availab le to the evaluated expression, defaults to false.", "hidden": true }, |
3213 { "name": "doNotPauseOnExceptionsAndMuteConsole", "type": "b oolean", "optional": true, "description": "Specifies whether evaluation should s top on exceptions and mute console. Overrides setPauseOnException state.", "hidd en": true }, | 3214 { "name": "doNotPauseOnExceptionsAndMuteConsole", "type": "b oolean", "optional": true, "description": "Specifies whether evaluation should s top on exceptions and mute console. Overrides setPauseOnException state.", "hidd en": true }, |
3214 { "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." }, | 3215 { "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." }, |
3215 { "name": "generatePreview", "type": "boolean", "optional": true, "hidden": true, "description": "Whether preview should be generated for th e result." } | 3216 { "name": "generatePreview", "type": "boolean", "optional": true, "hidden": true, "description": "Whether preview should be generated for th e result." } |
3216 ], | 3217 ], |
3217 "returns": [ | 3218 "returns": [ |
3218 { "name": "result", "$ref": "Runtime.RemoteObject", "descrip tion": "Object wrapper for the evaluation result." }, | 3219 { "name": "result", "$ref": "Runtime.RemoteObject", "descrip tion": "Object wrapper for the evaluation result." }, |
3219 { "name": "wasThrown", "type": "boolean", "optional": true, "description": "True if the result was thrown during the evaluation." } | 3220 { "name": "wasThrown", "type": "boolean", "optional": true, "description": "True if the result was thrown during the evaluation." }, |
3221 { "name": "exceptionDetails", "$ref": "Debugger.ExceptionDet ails", "optional": true, "description": "Exception details."} | |
3220 ], | 3222 ], |
3221 "description": "Evaluates expression on a given call frame." | 3223 "description": "Evaluates expression on a given call frame." |
3222 }, | 3224 }, |
3223 { | 3225 { |
3224 "name": "compileScript", | 3226 "name": "compileScript", |
3225 "hidden": true, | 3227 "hidden": true, |
3226 "parameters": [ | 3228 "parameters": [ |
3227 { "name": "expression", "type": "string", "description": "Ex pression to compile." }, | 3229 { "name": "expression", "type": "string", "description": "Ex pression to compile." }, |
3228 { "name": "sourceURL", "type": "string", "description": "Sou rce url to be set for the script." }, | 3230 { "name": "sourceURL", "type": "string", "description": "Sou rce url to be set for the script." }, |
3229 { "name": "executionContextId", "$ref": "Runtime.ExecutionCo ntextId", "optional": true, "description": "Specifies in which isolated context to perform script run. Each content script lives in an isolated context and this parameter may be used to specify one of those contexts. If the parameter is omi tted or 0 the evaluation will be performed in the context of the inspected page. " } | 3231 { "name": "executionContextId", "$ref": "Runtime.ExecutionCo ntextId", "optional": true, "description": "Specifies in which isolated context to perform script run. Each content script lives in an isolated context and this parameter may be used to specify one of those contexts. If the parameter is omi tted or 0 the evaluation will be performed in the context of the inspected page. " } |
(...skipping 1025 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
4255 { | 4257 { |
4256 "name": "dataAvailable", | 4258 "name": "dataAvailable", |
4257 "parameters": [ | 4259 "parameters": [ |
4258 {"name": "value", "type": "array", "items": { "$ref": "Power Event" }, "description": "List of power events." } | 4260 {"name": "value", "type": "array", "items": { "$ref": "Power Event" }, "description": "List of power events." } |
4259 ], | 4261 ], |
4260 "handlers": ["browser", "frontend"] | 4262 "handlers": ["browser", "frontend"] |
4261 } | 4263 } |
4262 ] | 4264 ] |
4263 }] | 4265 }] |
4264 } | 4266 } |
OLD | NEW |