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

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

Issue 2122423002: [DevTools] Remove functionDetails from protocol.json (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@remove-generator-details-from-protocol
Patch Set: a 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
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 358 matching lines...) Expand 10 before | Expand all | Expand 10 after
369 "id": "ScriptPosition", 369 "id": "ScriptPosition",
370 "hidden": true, 370 "hidden": true,
371 "type": "object", 371 "type": "object",
372 "properties": [ 372 "properties": [
373 { "name": "lineNumber", "type": "integer" }, 373 { "name": "lineNumber", "type": "integer" },
374 { "name": "columnNumber", "type": "integer" } 374 { "name": "columnNumber", "type": "integer" }
375 ], 375 ],
376 "description": "Location in the source code." 376 "description": "Location in the source code."
377 }, 377 },
378 { 378 {
379 "id": "FunctionDetails",
380 "hidden": true,
381 "type": "object",
382 "properties": [
383 { "name": "location", "$ref": "Location", "optional": true, "description": "Location of the function, none for native functions." },
384 { "name": "functionName", "type": "string", "description": " Name of the function." },
385 { "name": "isGenerator", "type": "boolean", "description": " Whether this is a generator function." },
386 { "name": "scopeChain", "type": "array", "optional": true, " items": { "$ref": "Scope" }, "description": "Scope chain for this closure." }
387 ],
388 "description": "Information about the function."
389 },
390 {
391 "id": "CallFrame", 379 "id": "CallFrame",
392 "type": "object", 380 "type": "object",
393 "properties": [ 381 "properties": [
394 { "name": "callFrameId", "$ref": "CallFrameId", "description ": "Call frame identifier. This identifier is only valid while the virtual machi ne is paused." }, 382 { "name": "callFrameId", "$ref": "CallFrameId", "description ": "Call frame identifier. This identifier is only valid while the virtual machi ne is paused." },
395 { "name": "functionName", "type": "string", "description": " Name of the JavaScript function called on this call frame." }, 383 { "name": "functionName", "type": "string", "description": " Name of the JavaScript function called on this call frame." },
396 { "name": "functionLocation", "$ref": "Location", "optional" : true, "hidden": true, "description": "Location in the source code." }, 384 { "name": "functionLocation", "$ref": "Location", "optional" : true, "hidden": true, "description": "Location in the source code." },
397 { "name": "location", "$ref": "Location", "description": "Lo cation in the source code." }, 385 { "name": "location", "$ref": "Location", "description": "Lo cation in the source code." },
398 { "name": "scopeChain", "type": "array", "items": { "$ref": "Scope" }, "description": "Scope chain for this call frame." }, 386 { "name": "scopeChain", "type": "array", "items": { "$ref": "Scope" }, "description": "Scope chain for this call frame." },
399 { "name": "this", "$ref": "Runtime.RemoteObject", "descripti on": "<code>this</code> object for this call frame." }, 387 { "name": "this", "$ref": "Runtime.RemoteObject", "descripti on": "<code>this</code> object for this call frame." },
400 { "name": "returnValue", "$ref": "Runtime.RemoteObject", "op tional": true, "hidden": true, "description": "The value being returned, if the function is at return point." } 388 { "name": "returnValue", "$ref": "Runtime.RemoteObject", "op tional": true, "hidden": true, "description": "The value being returned, if the function is at return point." }
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after
572 "name": "getScriptSource", 560 "name": "getScriptSource",
573 "parameters": [ 561 "parameters": [
574 { "name": "scriptId", "$ref": "Runtime.ScriptId", "descripti on": "Id of the script to get source for." } 562 { "name": "scriptId", "$ref": "Runtime.ScriptId", "descripti on": "Id of the script to get source for." }
575 ], 563 ],
576 "returns": [ 564 "returns": [
577 { "name": "scriptSource", "type": "string", "description": " Script source." } 565 { "name": "scriptSource", "type": "string", "description": " Script source." }
578 ], 566 ],
579 "description": "Returns source for the script with given id." 567 "description": "Returns source for the script with given id."
580 }, 568 },
581 { 569 {
582 "name": "getFunctionDetails",
583 "hidden": true,
584 "parameters": [
585 { "name": "functionId", "$ref": "Runtime.RemoteObjectId", "d escription": "Id of the function to get details for." }
586 ],
587 "returns": [
588 { "name": "details", "$ref": "FunctionDetails", "description ": "Information about the function." }
589 ],
590 "description": "Returns detailed information on given function."
591 },
592 {
593 "name": "setPauseOnExceptions", 570 "name": "setPauseOnExceptions",
594 "parameters": [ 571 "parameters": [
595 { "name": "state", "type": "string", "enum": ["none", "uncau ght", "all"], "description": "Pause on exceptions mode." } 572 { "name": "state", "type": "string", "enum": ["none", "uncau ght", "all"], "description": "Pause on exceptions mode." }
596 ], 573 ],
597 "description": "Defines pause on exceptions state. Can be set to stop on all exceptions, uncaught exceptions or no exceptions. Initial pause on exceptions state is <code>none</code>." 574 "description": "Defines pause on exceptions state. Can be set to stop on all exceptions, uncaught exceptions or no exceptions. Initial pause on exceptions state is <code>none</code>."
598 }, 575 },
599 { 576 {
600 "name": "evaluateOnCallFrame", 577 "name": "evaluateOnCallFrame",
601 "parameters": [ 578 "parameters": [
602 { "name": "callFrameId", "$ref": "CallFrameId", "description ": "Call frame identifier to evaluate on." }, 579 { "name": "callFrameId", "$ref": "CallFrameId", "description ": "Call frame identifier to evaluate on." },
(...skipping 411 matching lines...) Expand 10 before | Expand all | Expand 10 after
1014 { 991 {
1015 "name": "heapStatsUpdate", 992 "name": "heapStatsUpdate",
1016 "description": "If heap objects tracking has been started then b ackend may send update for one or more fragments", 993 "description": "If heap objects tracking has been started then b ackend may send update for one or more fragments",
1017 "parameters": [ 994 "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."} 995 { "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 ] 996 ]
1020 } 997 }
1021 ] 998 ]
1022 }] 999 }]
1023 } 1000 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698