Index: Source/devtools/protocol.json |
diff --git a/Source/devtools/protocol.json b/Source/devtools/protocol.json |
index 82fff8a17e02de6a376ada176334b94c7918fb70..55078b7834a291cb85bfbfccb42afa8d2e4c01bb 100644 |
--- a/Source/devtools/protocol.json |
+++ b/Source/devtools/protocol.json |
@@ -745,7 +745,7 @@ |
{ "name": "value", "type": "any", "optional": true, "description": "Remote object value in case of primitive values or JSON values (if it was requested), or description string if the value can not be JSON-stringified (like NaN, Infinity, -Infinity, -0)." }, |
{ "name": "description", "type": "string", "optional": true, "description": "String representation of the object." }, |
{ "name": "objectId", "$ref": "RemoteObjectId", "optional": true, "description": "Unique object identifier (for non-primitive values)." }, |
- { "name": "preview", "$ref": "ObjectPreview", "optional": true, "description": "Preview containing abbreviated property values.", "hidden": true } |
+ { "name": "preview", "$ref": "ObjectPreview", "optional": true, "description": "Preview containing abbreviated property values. Specified for <code>object</code> type values only.", "hidden": true } |
] |
}, |
{ |
@@ -754,9 +754,13 @@ |
"hidden": true, |
"description": "Object containing abbreviated remote object value.", |
"properties": [ |
+ { "name": "type", "type": "string", "enum": ["object", "function", "undefined", "string", "number", "boolean", "symbol"], "description": "Object type." }, |
+ { "name": "subtype", "type": "string", "optional": true, "enum": ["array", "null", "node", "regexp", "date", "map", "set"], "description": "Object subtype hint. Specified for <code>object</code> type values only." }, |
+ { "name": "description", "type": "string", "optional": true, "description": "String representation of the object." }, |
{ "name": "lossless", "type": "boolean", "description": "Determines whether preview is lossless (contains all information of the original object)." }, |
- { "name": "overflow", "type": "boolean", "description": "True iff some of the properties of the original did not fit." }, |
- { "name": "properties", "type": "array", "items": { "$ref": "PropertyPreview" }, "description": "List of the properties." } |
+ { "name": "overflow", "type": "boolean", "description": "True iff some of the properties or entries of the original object did not fit." }, |
+ { "name": "properties", "type": "array", "items": { "$ref": "PropertyPreview" }, "description": "List of the properties." }, |
+ { "name": "entries", "type": "array", "items": { "$ref": "EntryPreview" }, "optional": true, "description": "List of the entries. Specified for <code>map</code> and <code>set</code> subtype values only." } |
] |
}, |
{ |
@@ -772,6 +776,15 @@ |
] |
}, |
{ |
+ "id": "EntryPreview", |
+ "type": "object", |
+ "hidden": true, |
+ "properties": [ |
+ { "name": "key", "$ref": "ObjectPreview", "optional": true, "description": "Preview of the key. Specified for map-like collection entries." }, |
+ { "name": "value", "$ref": "ObjectPreview", "description": "Preview of the value." } |
+ ] |
+ }, |
+ { |
"id": "PropertyDescriptor", |
"type": "object", |
"description": "Object property descriptor.", |