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

Side by Side Diff: src/inspector/js_protocol.json

Issue 2770583002: [inspector] description for weak collections should not contain size (Closed)
Patch Set: added to protocol Created 3 years, 9 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 | « src/inspector/injected-script-source.js ('k') | src/inspector/v8-injected-script-host.cc » ('j') | 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": "2" }, 2 "version": { "major": "1", "minor": "2" },
3 "domains": [ 3 "domains": [
4 { 4 {
5 "domain": "Schema", 5 "domain": "Schema",
6 "description": "Provides information about the protocol schema.", 6 "description": "Provides information about the protocol schema.",
7 "types": [ 7 "types": [
8 { 8 {
9 "id": "Domain", 9 "id": "Domain",
10 "type": "object", 10 "type": "object",
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 "type": "string", 45 "type": "string",
46 "enum": ["Infinity", "NaN", "-Infinity", "-0"], 46 "enum": ["Infinity", "NaN", "-Infinity", "-0"],
47 "description": "Primitive value which cannot be JSON-stringified ." 47 "description": "Primitive value which cannot be JSON-stringified ."
48 }, 48 },
49 { 49 {
50 "id": "RemoteObject", 50 "id": "RemoteObject",
51 "type": "object", 51 "type": "object",
52 "description": "Mirror object referencing original JavaScript ob ject.", 52 "description": "Mirror object referencing original JavaScript ob ject.",
53 "properties": [ 53 "properties": [
54 { "name": "type", "type": "string", "enum": ["object", "func tion", "undefined", "string", "number", "boolean", "symbol"], "description": "Ob ject type." }, 54 { "name": "type", "type": "string", "enum": ["object", "func tion", "undefined", "string", "number", "boolean", "symbol"], "description": "Ob ject type." },
55 { "name": "subtype", "type": "string", "optional": true, "en um": ["array", "null", "node", "regexp", "date", "map", "set", "iterator", "gene rator", "error", "proxy", "promise", "typedarray"], "description": "Object subty pe hint. Specified for <code>object</code> type values only." }, 55 { "name": "subtype", "type": "string", "optional": true, "en um": ["array", "null", "node", "regexp", "date", "map", "set", "weakmap", "weaks et", "iterator", "generator", "error", "proxy", "promise", "typedarray"], "descr iption": "Object subtype hint. Specified for <code>object</code> type values onl y." },
56 { "name": "className", "type": "string", "optional": true, " description": "Object class (constructor) name. Specified for <code>object</code > type values only." }, 56 { "name": "className", "type": "string", "optional": true, " description": "Object class (constructor) name. Specified for <code>object</code > type values only." },
57 { "name": "value", "type": "any", "optional": true, "descrip tion": "Remote object value in case of primitive values or JSON values (if it wa s requested)." }, 57 { "name": "value", "type": "any", "optional": true, "descrip tion": "Remote object value in case of primitive values or JSON values (if it wa s requested)." },
58 { "name": "unserializableValue", "$ref": "UnserializableValu e", "optional": true, "description": "Primitive value which can not be JSON-stri ngified does not have <code>value</code>, but gets this property." }, 58 { "name": "unserializableValue", "$ref": "UnserializableValu e", "optional": true, "description": "Primitive value which can not be JSON-stri ngified does not have <code>value</code>, but gets this property." },
59 { "name": "description", "type": "string", "optional": true, "description": "String representation of the object." }, 59 { "name": "description", "type": "string", "optional": true, "description": "String representation of the object." },
60 { "name": "objectId", "$ref": "RemoteObjectId", "optional": true, "description": "Unique object identifier (for non-primitive values)." }, 60 { "name": "objectId", "$ref": "RemoteObjectId", "optional": true, "description": "Unique object identifier (for non-primitive values)." },
61 { "name": "preview", "$ref": "ObjectPreview", "optional": tr ue, "description": "Preview containing abbreviated property values. Specified fo r <code>object</code> type values only.", "experimental": true }, 61 { "name": "preview", "$ref": "ObjectPreview", "optional": tr ue, "description": "Preview containing abbreviated property values. Specified fo r <code>object</code> type values only.", "experimental": true },
62 { "name": "customPreview", "$ref": "CustomPreview", "optiona l": true, "experimental": true} 62 { "name": "customPreview", "$ref": "CustomPreview", "optiona l": true, "experimental": true}
63 ] 63 ]
64 }, 64 },
65 { 65 {
66 "id": "CustomPreview", 66 "id": "CustomPreview",
67 "type": "object", 67 "type": "object",
68 "experimental": true, 68 "experimental": true,
69 "properties": [ 69 "properties": [
70 { "name": "header", "type": "string"}, 70 { "name": "header", "type": "string"},
71 { "name": "hasBody", "type": "boolean"}, 71 { "name": "hasBody", "type": "boolean"},
72 { "name": "formatterObjectId", "$ref": "RemoteObjectId"}, 72 { "name": "formatterObjectId", "$ref": "RemoteObjectId"},
73 { "name": "bindRemoteObjectFunctionId", "$ref": "RemoteObjec tId" }, 73 { "name": "bindRemoteObjectFunctionId", "$ref": "RemoteObjec tId" },
74 { "name": "configObjectId", "$ref": "RemoteObjectId", "optio nal": true } 74 { "name": "configObjectId", "$ref": "RemoteObjectId", "optio nal": true }
75 ] 75 ]
76 }, 76 },
77 { 77 {
78 "id": "ObjectPreview", 78 "id": "ObjectPreview",
79 "type": "object", 79 "type": "object",
80 "experimental": true, 80 "experimental": true,
81 "description": "Object containing abbreviated remote object valu e.", 81 "description": "Object containing abbreviated remote object valu e.",
82 "properties": [ 82 "properties": [
83 { "name": "type", "type": "string", "enum": ["object", "func tion", "undefined", "string", "number", "boolean", "symbol"], "description": "Ob ject type." }, 83 { "name": "type", "type": "string", "enum": ["object", "func tion", "undefined", "string", "number", "boolean", "symbol"], "description": "Ob ject type." },
84 { "name": "subtype", "type": "string", "optional": true, "en um": ["array", "null", "node", "regexp", "date", "map", "set", "iterator", "gene rator", "error"], "description": "Object subtype hint. Specified for <code>objec t</code> type values only." }, 84 { "name": "subtype", "type": "string", "optional": true, "en um": ["array", "null", "node", "regexp", "date", "map", "set", "weakmap", "weaks et", "iterator", "generator", "error"], "description": "Object subtype hint. Spe cified for <code>object</code> type values only." },
85 { "name": "description", "type": "string", "optional": true, "description": "String representation of the object." }, 85 { "name": "description", "type": "string", "optional": true, "description": "String representation of the object." },
86 { "name": "overflow", "type": "boolean", "description": "Tru e iff some of the properties or entries of the original object did not fit." }, 86 { "name": "overflow", "type": "boolean", "description": "Tru e iff some of the properties or entries of the original object did not fit." },
87 { "name": "properties", "type": "array", "items": { "$ref": "PropertyPreview" }, "description": "List of the properties." }, 87 { "name": "properties", "type": "array", "items": { "$ref": "PropertyPreview" }, "description": "List of the properties." },
88 { "name": "entries", "type": "array", "items": { "$ref": "En tryPreview" }, "optional": true, "description": "List of the entries. Specified for <code>map</code> and <code>set</code> subtype values only." } 88 { "name": "entries", "type": "array", "items": { "$ref": "En tryPreview" }, "optional": true, "description": "List of the entries. Specified for <code>map</code> and <code>set</code> subtype values only." }
89 ] 89 ]
90 }, 90 },
91 { 91 {
92 "id": "PropertyPreview", 92 "id": "PropertyPreview",
93 "type": "object", 93 "type": "object",
94 "experimental": true, 94 "experimental": true,
95 "properties": [ 95 "properties": [
96 { "name": "name", "type": "string", "description": "Property name." }, 96 { "name": "name", "type": "string", "description": "Property name." },
97 { "name": "type", "type": "string", "enum": ["object", "func tion", "undefined", "string", "number", "boolean", "symbol", "accessor"], "descr iption": "Object type. Accessor means that the property itself is an accessor pr operty." }, 97 { "name": "type", "type": "string", "enum": ["object", "func tion", "undefined", "string", "number", "boolean", "symbol", "accessor"], "descr iption": "Object type. Accessor means that the property itself is an accessor pr operty." },
98 { "name": "value", "type": "string", "optional": true, "desc ription": "User-friendly property value string." }, 98 { "name": "value", "type": "string", "optional": true, "desc ription": "User-friendly property value string." },
99 { "name": "valuePreview", "$ref": "ObjectPreview", "optional ": true, "description": "Nested value preview." }, 99 { "name": "valuePreview", "$ref": "ObjectPreview", "optional ": true, "description": "Nested value preview." },
100 { "name": "subtype", "type": "string", "optional": true, "en um": ["array", "null", "node", "regexp", "date", "map", "set", "iterator", "gene rator", "error"], "description": "Object subtype hint. Specified for <code>objec t</code> type values only." } 100 { "name": "subtype", "type": "string", "optional": true, "en um": ["array", "null", "node", "regexp", "date", "map", "set", "weakmap", "weaks et", "iterator", "generator", "error"], "description": "Object subtype hint. Spe cified for <code>object</code> type values only." }
101 ] 101 ]
102 }, 102 },
103 { 103 {
104 "id": "EntryPreview", 104 "id": "EntryPreview",
105 "type": "object", 105 "type": "object",
106 "experimental": true, 106 "experimental": true,
107 "properties": [ 107 "properties": [
108 { "name": "key", "$ref": "ObjectPreview", "optional": true, "description": "Preview of the key. Specified for map-like collection entries." }, 108 { "name": "key", "$ref": "ObjectPreview", "optional": true, "description": "Preview of the key. Specified for map-like collection entries." },
109 { "name": "value", "$ref": "ObjectPreview", "description": " Preview of the value." } 109 { "name": "value", "$ref": "ObjectPreview", "description": " Preview of the value." }
110 ] 110 ]
(...skipping 962 matching lines...) Expand 10 before | Expand all | Expand 10 after
1073 { 1073 {
1074 "name": "heapStatsUpdate", 1074 "name": "heapStatsUpdate",
1075 "description": "If heap objects tracking has been started then b ackend may send update for one or more fragments", 1075 "description": "If heap objects tracking has been started then b ackend may send update for one or more fragments",
1076 "parameters": [ 1076 "parameters": [
1077 { "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."} 1077 { "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."}
1078 ] 1078 ]
1079 } 1079 }
1080 ] 1080 ]
1081 }] 1081 }]
1082 } 1082 }
OLDNEW
« no previous file with comments | « src/inspector/injected-script-source.js ('k') | src/inspector/v8-injected-script-host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698