Chromium Code Reviews| 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 694 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 705 "commands": [ | 705 "commands": [ |
| 706 { | 706 { |
| 707 "name": "evaluate", | 707 "name": "evaluate", |
| 708 "parameters": [ | 708 "parameters": [ |
| 709 { "name": "expression", "type": "string", "description": "Ex pression to evaluate." }, | 709 { "name": "expression", "type": "string", "description": "Ex pression to evaluate." }, |
| 710 { "name": "objectGroup", "type": "string", "optional": true, "description": "Symbolic group name that can be used to release multiple object s." }, | 710 { "name": "objectGroup", "type": "string", "optional": true, "description": "Symbolic group name that can be used to release multiple object s." }, |
| 711 { "name": "includeCommandLineAPI", "type": "boolean", "optio nal": true, "description": "Determines whether Command Line API should be availa ble during the evaluation.", "hidden": true }, | 711 { "name": "includeCommandLineAPI", "type": "boolean", "optio nal": true, "description": "Determines whether Command Line API should be availa ble during the evaluation.", "hidden": true }, |
| 712 { "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 }, | 712 { "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 }, |
| 713 { "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." }, | 713 { "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." }, |
| 714 { "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." }, | 714 { "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." }, |
| 715 { "name": "forceObjectId", "type": "boolean", "optional": tr ue, "hidden": true, "description": "If true, will generate a <code>RemoteObject. objectId</code> even for primitive values. The call site is responsibile for rel easing this object." }, | |
| 715 { "name": "generatePreview", "type": "boolean", "optional": true, "hidden": true, "description": "Whether preview should be generated for th e result." } | 716 { "name": "generatePreview", "type": "boolean", "optional": true, "hidden": true, "description": "Whether preview should be generated for th e result." } |
| 716 ], | 717 ], |
| 717 "returns": [ | 718 "returns": [ |
| 718 { "name": "result", "$ref": "RemoteObject", "description": " Evaluation result." }, | 719 { "name": "result", "$ref": "RemoteObject", "description": " Evaluation result." }, |
| 719 { "name": "wasThrown", "type": "boolean", "optional": true, "description": "True if the result was thrown during the evaluation." } | 720 { "name": "wasThrown", "type": "boolean", "optional": true, "description": "True if the result was thrown during the evaluation." } |
| 720 ], | 721 ], |
| 721 "description": "Evaluates expression on global object." | 722 "description": "Evaluates expression on global object." |
| 722 }, | 723 }, |
| 723 { | 724 { |
| 724 "name": "callFunctionOn", | 725 "name": "callFunctionOn", |
| 725 "parameters": [ | 726 "parameters": [ |
| 726 { "name": "objectId", "$ref": "RemoteObjectId", "description ": "Identifier of the object to call function on." }, | 727 { "name": "objectId", "$ref": "RemoteObjectId", "description ": "Identifier of the object to call function on." }, |
| 727 { "name": "functionDeclaration", "type": "string", "descript ion": "Declaration of the function to call." }, | 728 { "name": "functionDeclaration", "type": "string", "descript ion": "Declaration of the function to call." }, |
| 728 { "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." }, | 729 { "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." }, |
| 729 { "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 }, | 730 { "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 }, |
| 730 { "name": "returnByValue", "type": "boolean", "optional": tr ue, "description": "Whether the result is expected to be a JSON object which sho uld be sent by value." }, | 731 { "name": "returnByValue", "type": "boolean", "optional": tr ue, "description": "Whether the result is expected to be a JSON object which sho uld be sent by value." }, |
| 732 { "name": "forceObjectId", "type": "boolean", "optional": tr ue, "hidden": true, "description": "If true, will generate a <code>RemoteObject. objectId</code> even for primitive values. The call site is responsibile for rel easing this object." }, | |
| 731 { "name": "generatePreview", "type": "boolean", "optional": true, "hidden": true, "description": "Whether preview should be generated for th e result." } | 733 { "name": "generatePreview", "type": "boolean", "optional": true, "hidden": true, "description": "Whether preview should be generated for th e result." } |
| 732 ], | 734 ], |
| 733 "returns": [ | 735 "returns": [ |
| 734 { "name": "result", "$ref": "RemoteObject", "description": " Call result." }, | 736 { "name": "result", "$ref": "RemoteObject", "description": " Call result." }, |
| 735 { "name": "wasThrown", "type": "boolean", "optional": true, "description": "True if the result was thrown during the evaluation." } | 737 { "name": "wasThrown", "type": "boolean", "optional": true, "description": "True if the result was thrown during the evaluation." } |
| 736 ], | 738 ], |
| 737 "description": "Calls function with given declaration on the giv en object. Object group of the result is inherited from the target object." | 739 "description": "Calls function with given declaration on the giv en object. Object group of the result is inherited from the target object." |
| 738 }, | 740 }, |
| 739 { | 741 { |
| 740 "name": "getProperties", | 742 "name": "getProperties", |
| (...skipping 2425 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 3166 }, | 3168 }, |
| 3167 { | 3169 { |
| 3168 "name": "evaluateOnCallFrame", | 3170 "name": "evaluateOnCallFrame", |
| 3169 "parameters": [ | 3171 "parameters": [ |
| 3170 { "name": "callFrameId", "$ref": "CallFrameId", "description ": "Call frame identifier to evaluate on." }, | 3172 { "name": "callFrameId", "$ref": "CallFrameId", "description ": "Call frame identifier to evaluate on." }, |
| 3171 { "name": "expression", "type": "string", "description": "Ex pression to evaluate." }, | 3173 { "name": "expression", "type": "string", "description": "Ex pression to evaluate." }, |
| 3172 { "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>)." }, | 3174 { "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>)." }, |
| 3173 { "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 }, | 3175 { "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 }, |
| 3174 { "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 }, | 3176 { "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 }, |
| 3175 { "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." }, | 3177 { "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." }, |
| 3178 { "name": "forceObjectId", "type": "boolean", "optional": tr ue, "hidden": true, "description": "If true, will generate a <code>RemoteObject. objectId</code> even for primitive values. The call site is responsibile for rel easing this object." }, | |
|
pfeldman
2013/11/23 15:58:13
I don't think it is a good idea since it makes pro
| |
| 3176 { "name": "generatePreview", "type": "boolean", "optional": true, "hidden": true, "description": "Whether preview should be generated for th e result." } | 3179 { "name": "generatePreview", "type": "boolean", "optional": true, "hidden": true, "description": "Whether preview should be generated for th e result." } |
| 3177 ], | 3180 ], |
| 3178 "returns": [ | 3181 "returns": [ |
| 3179 { "name": "result", "$ref": "Runtime.RemoteObject", "descrip tion": "Object wrapper for the evaluation result." }, | 3182 { "name": "result", "$ref": "Runtime.RemoteObject", "descrip tion": "Object wrapper for the evaluation result." }, |
| 3180 { "name": "wasThrown", "type": "boolean", "optional": true, "description": "True if the result was thrown during the evaluation." } | 3183 { "name": "wasThrown", "type": "boolean", "optional": true, "description": "True if the result was thrown during the evaluation." } |
| 3181 ], | 3184 ], |
| 3182 "description": "Evaluates expression on a given call frame." | 3185 "description": "Evaluates expression on a given call frame." |
| 3183 }, | 3186 }, |
| 3184 { | 3187 { |
| 3185 "name": "compileScript", | 3188 "name": "compileScript", |
| (...skipping 858 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 4044 "parameters": [ | 4047 "parameters": [ |
| 4045 { "name": "value", "type": "array", "items": { "type": "obje ct" } } | 4048 { "name": "value", "type": "array", "items": { "type": "obje ct" } } |
| 4046 ] | 4049 ] |
| 4047 }, | 4050 }, |
| 4048 { | 4051 { |
| 4049 "name": "tracingComplete" | 4052 "name": "tracingComplete" |
| 4050 } | 4053 } |
| 4051 ] | 4054 ] |
| 4052 }] | 4055 }] |
| 4053 } | 4056 } |
| OLD | NEW |