Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(767)

Side by Side Diff: third_party/WebKit/Source/platform/v8_inspector/js_protocol.json

Issue 2154623002: [DevTools] Make most fields of ExceptionDetails non-optional. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « third_party/WebKit/Source/platform/v8_inspector/V8ConsoleMessage.cpp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 { "name": "isDefault", "type": "boolean", "description": "Wh ether context is the default page context (as opposite to e.g. context of conten t script).", "hidden": true }, 127 { "name": "isDefault", "type": "boolean", "description": "Wh ether context is the default page context (as opposite to e.g. context of conten t script).", "hidden": true },
128 { "name": "origin", "type": "string", "description": "Execut ion context origin.", "hidden": true}, 128 { "name": "origin", "type": "string", "description": "Execut ion context origin.", "hidden": true},
129 { "name": "name", "type": "string", "description": "Human re adable name describing given context.", "hidden": true}, 129 { "name": "name", "type": "string", "description": "Human re adable name describing given context.", "hidden": true},
130 { "name": "frameId", "type": "string", "description": "Id of the owning frame. May be an empty string if the context is not associated with a frame." } 130 { "name": "frameId", "type": "string", "description": "Id of the owning frame. May be an empty string if the context is not associated with a frame." }
131 ] 131 ]
132 }, 132 },
133 { 133 {
134 "id": "ExceptionDetails", 134 "id": "ExceptionDetails",
135 "type": "object", 135 "type": "object",
136 "hidden": true, 136 "hidden": true,
137 "description": "Detailed information on exception (or error) tha t was thrown during script compilation or execution.", 137 "description": "Detailed information about exception (or error) that was thrown during script compilation or execution.",
138 "properties": [ 138 "properties": [
139 { "name": "text", "type": "string", "description": "Exceptio n text." }, 139 { "name": "text", "type": "string", "description": "Exceptio n text." },
140 { "name": "url", "type": "string", "optional": true, "descri ption": "URL of the message origin." }, 140 { "name": "scriptId", "$ref": "ScriptId", "description": "Sc ript ID of the exception location." },
141 { "name": "scriptId", "type": "string", "optional": true, "d escription": "Script ID of the message origin." }, 141 { "name": "lineNumber", "type": "integer", "description": "L ine number of the exception location (0-based)." },
142 { "name": "lineNumber", "type": "integer", "optional": true, "description": "Line number in the resource that generated this message. (0-bas ed)." }, 142 { "name": "columnNumber", "type": "integer", "description": "Column number of the exception location (0-based)." },
143 { "name": "columnNumber", "type": "integer", "optional": tru e, "description": "Column number in the resource that generated this message. (0 -based)." }, 143 { "name": "url", "type": "string", "optional": true, "descri ption": "URL of the exception location, to be used when the script was not repor ted." },
144 { "name": "stack", "$ref": "StackTrace", "optional": true, " description": "JavaScript stack trace for assertions and error messages." } 144 { "name": "stackTrace", "$ref": "StackTrace", "optional": tr ue, "description": "JavaScript stack trace if available." }
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." },
(...skipping 837 matching lines...) Expand 10 before | Expand all | Expand 10 after
992 { 992 {
993 "name": "heapStatsUpdate", 993 "name": "heapStatsUpdate",
994 "description": "If heap objects tracking has been started then b ackend may send update for one or more fragments", 994 "description": "If heap objects tracking has been started then b ackend may send update for one or more fragments",
995 "parameters": [ 995 "parameters": [
996 { "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."} 996 { "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."}
997 ] 997 ]
998 } 998 }
999 ] 999 ]
1000 }] 1000 }]
1001 } 1001 }
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/platform/v8_inspector/V8ConsoleMessage.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698