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

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

Issue 2102453003: [DevTools] Move collectionEntries to internalProperties in protocol (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
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 359 matching lines...) Expand 10 before | Expand all | Expand 10 after
370 "type": "object", 370 "type": "object",
371 "properties": [ 371 "properties": [
372 { "name": "function", "$ref": "Runtime.RemoteObject", "descr iption": "Generator function." }, 372 { "name": "function", "$ref": "Runtime.RemoteObject", "descr iption": "Generator function." },
373 { "name": "functionName", "type": "string", "description": " Name of the generator function." }, 373 { "name": "functionName", "type": "string", "description": " Name of the generator function." },
374 { "name": "status", "type": "string", "enum": ["running", "s uspended", "closed"], "description": "Current generator object status." }, 374 { "name": "status", "type": "string", "enum": ["running", "s uspended", "closed"], "description": "Current generator object status." },
375 { "name": "location", "$ref": "Location", "optional": true, "description": "If suspended, location where generator function was suspended (e .g. location of the last 'yield'). Otherwise, location of the generator function ." } 375 { "name": "location", "$ref": "Location", "optional": true, "description": "If suspended, location where generator function was suspended (e .g. location of the last 'yield'). Otherwise, location of the generator function ." }
376 ], 376 ],
377 "description": "Information about the generator object." 377 "description": "Information about the generator object."
378 }, 378 },
379 { 379 {
380 "id": "CollectionEntry",
381 "hidden": true,
382 "type": "object",
383 "properties": [
384 { "name": "key", "$ref": "Runtime.RemoteObject", "optional": true, "description": "Entry key of a map-like collection, otherwise not provide d." },
385 { "name": "value", "$ref": "Runtime.RemoteObject", "descript ion": "Entry value." }
386 ],
387 "description": "Collection entry."
388 },
389 {
390 "id": "CallFrame", 380 "id": "CallFrame",
391 "type": "object", 381 "type": "object",
392 "properties": [ 382 "properties": [
393 { "name": "callFrameId", "$ref": "CallFrameId", "description ": "Call frame identifier. This identifier is only valid while the virtual machi ne is paused." }, 383 { "name": "callFrameId", "$ref": "CallFrameId", "description ": "Call frame identifier. This identifier is only valid while the virtual machi ne is paused." },
394 { "name": "functionName", "type": "string", "description": " Name of the JavaScript function called on this call frame." }, 384 { "name": "functionName", "type": "string", "description": " Name of the JavaScript function called on this call frame." },
395 { "name": "functionLocation", "$ref": "Location", "optional" : true, "hidden": true, "description": "Location in the source code." }, 385 { "name": "functionLocation", "$ref": "Location", "optional" : true, "hidden": true, "description": "Location in the source code." },
396 { "name": "location", "$ref": "Location", "description": "Lo cation in the source code." }, 386 { "name": "location", "$ref": "Location", "description": "Lo cation in the source code." },
397 { "name": "scopeChain", "type": "array", "items": { "$ref": "Scope" }, "description": "Scope chain for this call frame." }, 387 { "name": "scopeChain", "type": "array", "items": { "$ref": "Scope" }, "description": "Scope chain for this call frame." },
398 { "name": "this", "$ref": "Runtime.RemoteObject", "descripti on": "<code>this</code> object for this call frame." }, 388 { "name": "this", "$ref": "Runtime.RemoteObject", "descripti on": "<code>this</code> object for this call frame." },
399 { "name": "returnValue", "$ref": "Runtime.RemoteObject", "op tional": true, "hidden": true, "description": "The value being returned, if the function is at return point." } 389 { "name": "returnValue", "$ref": "Runtime.RemoteObject", "op tional": true, "hidden": true, "description": "The value being returned, if the function is at return point." }
(...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after
593 "hidden": true, 583 "hidden": true,
594 "parameters": [ 584 "parameters": [
595 { "name": "objectId", "$ref": "Runtime.RemoteObjectId", "des cription": "Id of the generator object to get details for." } 585 { "name": "objectId", "$ref": "Runtime.RemoteObjectId", "des cription": "Id of the generator object to get details for." }
596 ], 586 ],
597 "returns": [ 587 "returns": [
598 { "name": "details", "$ref": "GeneratorObjectDetails", "desc ription": "Information about the generator object." } 588 { "name": "details", "$ref": "GeneratorObjectDetails", "desc ription": "Information about the generator object." }
599 ], 589 ],
600 "description": "Returns detailed information on given generator object." 590 "description": "Returns detailed information on given generator object."
601 }, 591 },
602 { 592 {
603 "name": "getCollectionEntries",
604 "hidden": true,
605 "parameters": [
606 { "name": "objectId", "$ref": "Runtime.RemoteObjectId", "des cription": "Id of the collection to get entries for." }
607 ],
608 "returns": [
609 { "name": "entries", "type": "array", "items": { "$ref": "Co llectionEntry" }, "description": "Array of collection entries." }
610 ],
611 "description": "Returns entries of given collection."
612 },
613 {
614 "name": "setPauseOnExceptions", 593 "name": "setPauseOnExceptions",
615 "parameters": [ 594 "parameters": [
616 { "name": "state", "type": "string", "enum": ["none", "uncau ght", "all"], "description": "Pause on exceptions mode." } 595 { "name": "state", "type": "string", "enum": ["none", "uncau ght", "all"], "description": "Pause on exceptions mode." }
617 ], 596 ],
618 "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>." 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>."
619 }, 598 },
620 { 599 {
621 "name": "evaluateOnCallFrame", 600 "name": "evaluateOnCallFrame",
622 "parameters": [ 601 "parameters": [
623 { "name": "callFrameId", "$ref": "CallFrameId", "description ": "Call frame identifier to evaluate on." }, 602 { "name": "callFrameId", "$ref": "CallFrameId", "description ": "Call frame identifier to evaluate on." },
(...skipping 343 matching lines...) Expand 10 before | Expand all | Expand 10 after
967 { 946 {
968 "name": "heapStatsUpdate", 947 "name": "heapStatsUpdate",
969 "description": "If heap objects tracking has been started then b ackend may send update for one or more fragments", 948 "description": "If heap objects tracking has been started then b ackend may send update for one or more fragments",
970 "parameters": [ 949 "parameters": [
971 { "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."} 950 { "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."}
972 ] 951 ]
973 } 952 }
974 ] 953 ]
975 }] 954 }]
976 } 955 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698