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": "Runtime", | 4 "domain": "Runtime", |
| 5 "description": "Runtime domain exposes JavaScript runtime by means of re mote evaluation and mirror objects. Evaluation results are returned as mirror ob ject that expose object type, string representation and unique identifier that c an be used for further object reference. Original objects are maintained in memo ry unless they are either explicitly released or are released along with the oth er objects in their object group.", | 5 "description": "Runtime domain exposes JavaScript runtime by means of re mote evaluation and mirror objects. Evaluation results are returned as mirror ob ject that expose object type, string representation and unique identifier that c an be used for further object reference. Original objects are maintained in memo ry unless they are either explicitly released or are released along with the oth er objects in their object group.", |
| 6 "types": [ | 6 "types": [ |
| 7 { | 7 { |
| 8 "id": "ScriptId", | 8 "id": "ScriptId", |
| 9 "type": "string", | 9 "type": "string", |
| 10 "description": "Unique script identifier." | 10 "description": "Unique script identifier." |
| (...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 145 ] | 145 ] |
| 146 }, | 146 }, |
| 147 { | 147 { |
| 148 "id": "CallFrame", | 148 "id": "CallFrame", |
| 149 "type": "object", | 149 "type": "object", |
| 150 "description": "Stack entry for runtime errors and assertions.", | 150 "description": "Stack entry for runtime errors and assertions.", |
| 151 "properties": [ | 151 "properties": [ |
| 152 { "name": "functionName", "type": "string", "description": " JavaScript function name." }, | 152 { "name": "functionName", "type": "string", "description": " JavaScript function name." }, |
| 153 { "name": "scriptId", "$ref": "ScriptId", "description": "Ja vaScript script id." }, | 153 { "name": "scriptId", "$ref": "ScriptId", "description": "Ja vaScript script id." }, |
| 154 { "name": "url", "type": "string", "description": "JavaScrip t script name or url." }, | 154 { "name": "url", "type": "string", "description": "JavaScrip t script name or url." }, |
| 155 { "name": "lineNumber", "type": "integer", "description": "J avaScript script line number." }, | 155 { "name": "lineNumber", "type": "integer", "description": "J avaScript script line number. 0-based." }, |
|
dgozman
2016/07/12 18:34:00
number (0-based).
kozy
2016/07/12 19:14:57
Done.
| |
| 156 { "name": "columnNumber", "type": "integer", "description": "JavaScript script column number." } | 156 { "name": "columnNumber", "type": "integer", "description": "JavaScript script column number. 0-based." } |
| 157 ] | 157 ] |
| 158 }, | 158 }, |
| 159 { | 159 { |
| 160 "id": "StackTrace", | 160 "id": "StackTrace", |
| 161 "type": "object", | 161 "type": "object", |
| 162 "description": "Call frames for assertions or error messages.", | 162 "description": "Call frames for assertions or error messages.", |
| 163 "properties": [ | 163 "properties": [ |
| 164 { "name": "description", "type": "string", "optional": true, "description": "String label of this stack trace. For async traces this may be a name of the function that initiated the async call." }, | 164 { "name": "description", "type": "string", "optional": true, "description": "String label of this stack trace. For async traces this may be a name of the function that initiated the async call." }, |
| 165 { "name": "callFrames", "type": "array", "items": { "$ref": "CallFrame" }, "description": "JavaScript function name." }, | 165 { "name": "callFrames", "type": "array", "items": { "$ref": "CallFrame" }, "description": "JavaScript function name." }, |
| 166 { "name": "parent", "$ref": "StackTrace", "optional": true, "hidden": true, "description": "Asynchronous JavaScript stack trace that precede d this stack, if available." } | 166 { "name": "parent", "$ref": "StackTrace", "optional": true, "hidden": true, "description": "Asynchronous JavaScript stack trace that precede d this stack, if available." } |
| (...skipping 847 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1014 { | 1014 { |
| 1015 "name": "heapStatsUpdate", | 1015 "name": "heapStatsUpdate", |
| 1016 "description": "If heap objects tracking has been started then b ackend may send update for one or more fragments", | 1016 "description": "If heap objects tracking has been started then b ackend may send update for one or more fragments", |
| 1017 "parameters": [ | 1017 "parameters": [ |
| 1018 { "name": "statsUpdate", "type": "array", "items": { "type": "integer" }, "description": "An array of triplets. Each triplet describes a fra gment. The first integer is the fragment index, the second integer is a total co unt of objects for the fragment, the third integer is a total size of the object s for the fragment."} | 1018 { "name": "statsUpdate", "type": "array", "items": { "type": "integer" }, "description": "An array of triplets. Each triplet describes a fra gment. The first integer is the fragment index, the second integer is a total co unt of objects for the fragment, the third integer is a total size of the object s for the fragment."} |
| 1019 ] | 1019 ] |
| 1020 } | 1020 } |
| 1021 ] | 1021 ] |
| 1022 }] | 1022 }] |
| 1023 } | 1023 } |
| OLD | NEW |