| Index: third_party/WebKit/Source/platform/v8_inspector/js_protocol.json
|
| diff --git a/third_party/WebKit/Source/platform/v8_inspector/js_protocol.json b/third_party/WebKit/Source/platform/v8_inspector/js_protocol.json
|
| index d524de64cc39f429bdff151f92159fbb366e2343..b505070b9a2f90a0e0aec50c149a27905707fc29 100644
|
| --- a/third_party/WebKit/Source/platform/v8_inspector/js_protocol.json
|
| +++ b/third_party/WebKit/Source/platform/v8_inspector/js_protocol.json
|
| @@ -15,6 +15,12 @@
|
| "description": "Unique object identifier."
|
| },
|
| {
|
| + "id": "UnserializableValue",
|
| + "type": "string",
|
| + "enum": ["Infinity", "NaN", "-Infinity", "-0"],
|
| + "description": "Primitive value which cannot be JSON-stringified."
|
| + },
|
| + {
|
| "id": "RemoteObject",
|
| "type": "object",
|
| "description": "Mirror object referencing original JavaScript object.",
|
| @@ -23,7 +29,8 @@
|
| { "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", "iterator", "generator", "error", "proxy", "promise", "typedarray"], "description": "Object subtype hint. Specified for <code>object</code> type values only." },
|
| { "name": "className", "type": "string", "optional": true, "description": "Object class (constructor) name. Specified for <code>object</code> type values only." },
|
| - { "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": "value", "type": "any", "optional": true, "description": "Remote object value in case of primitive values or JSON values (if it was requested)." },
|
| + { "name": "unserializableValue", "$ref": "UnserializableValue", "optional": true, "hidden": true, "description": "Primitive value which can not be JSON-stringified does not have <code>value</code>, but gets this property." },
|
| { "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. Specified for <code>object</code> type values only.", "hidden": true },
|
| @@ -107,11 +114,11 @@
|
| {
|
| "id": "CallArgument",
|
| "type": "object",
|
| - "description": "Represents function call argument. Either remote object id <code>objectId</code> or primitive <code>value</code> or neither of (for undefined) them should be specified.",
|
| + "description": "Represents function call argument. Either remote object id <code>objectId</code>, primitive <code>value</code>, unserializable primitive value or neither of (for undefined) them should be specified.",
|
| "properties": [
|
| - { "name": "value", "type": "any", "optional": true, "description": "Primitive value, or description string if the value can not be JSON-stringified (like NaN, Infinity, -Infinity, -0)." },
|
| - { "name": "objectId", "$ref": "RemoteObjectId", "optional": true, "description": "Remote object handle." },
|
| - { "name": "type", "optional": true, "hidden": true, "type": "string", "enum": ["object", "function", "undefined", "string", "number", "boolean", "symbol"], "description": "Object type." }
|
| + { "name": "value", "type": "any", "optional": true, "description": "Primitive value." },
|
| + { "name": "unserializableValue", "$ref": "UnserializableValue", "optional": true, "hidden": true, "description": "Primitive value which can not be JSON-stringified." },
|
| + { "name": "objectId", "$ref": "RemoteObjectId", "optional": true, "description": "Remote object handle." }
|
| ]
|
| },
|
| {
|
|
|