OLD | NEW |
1 { | 1 { |
2 "version": { "major": "1", "minor": "1" }, | 2 "version": { "major": "1", "minor": "1" }, |
3 "domains": [{ | 3 "domains": [{ |
4 "domain": "Inspector", | 4 "domain": "Inspector", |
5 "hidden": true, | 5 "hidden": true, |
6 "types": [], | 6 "types": [], |
7 "commands": [ | 7 "commands": [ |
8 { | 8 { |
9 "name": "enable", | 9 "name": "enable", |
10 "description": "Enables inspector domain notifications." | 10 "description": "Enables inspector domain notifications." |
(...skipping 727 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
738 "id": "RemoteObject", | 738 "id": "RemoteObject", |
739 "type": "object", | 739 "type": "object", |
740 "description": "Mirror object referencing original JavaScript ob
ject.", | 740 "description": "Mirror object referencing original JavaScript ob
ject.", |
741 "properties": [ | 741 "properties": [ |
742 { "name": "type", "type": "string", "enum": ["object", "func
tion", "undefined", "string", "number", "boolean", "symbol"], "description": "Ob
ject type." }, | 742 { "name": "type", "type": "string", "enum": ["object", "func
tion", "undefined", "string", "number", "boolean", "symbol"], "description": "Ob
ject type." }, |
743 { "name": "subtype", "type": "string", "optional": true, "en
um": ["array", "null", "node", "regexp", "date", "map", "set"], "description": "
Object subtype hint. Specified for <code>object</code> type values only." }, | 743 { "name": "subtype", "type": "string", "optional": true, "en
um": ["array", "null", "node", "regexp", "date", "map", "set"], "description": "
Object subtype hint. Specified for <code>object</code> type values only." }, |
744 { "name": "className", "type": "string", "optional": true, "
description": "Object class (constructor) name. Specified for <code>object</code
> type values only." }, | 744 { "name": "className", "type": "string", "optional": true, "
description": "Object class (constructor) name. Specified for <code>object</code
> type values only." }, |
745 { "name": "value", "type": "any", "optional": true, "descrip
tion": "Remote object value in case of primitive values or JSON values (if it wa
s requested), or description string if the value can not be JSON-stringified (li
ke NaN, Infinity, -Infinity, -0)." }, | 745 { "name": "value", "type": "any", "optional": true, "descrip
tion": "Remote object value in case of primitive values or JSON values (if it wa
s requested), or description string if the value can not be JSON-stringified (li
ke NaN, Infinity, -Infinity, -0)." }, |
746 { "name": "description", "type": "string", "optional": true,
"description": "String representation of the object." }, | 746 { "name": "description", "type": "string", "optional": true,
"description": "String representation of the object." }, |
747 { "name": "objectId", "$ref": "RemoteObjectId", "optional":
true, "description": "Unique object identifier (for non-primitive values)." }, | 747 { "name": "objectId", "$ref": "RemoteObjectId", "optional":
true, "description": "Unique object identifier (for non-primitive values)." }, |
748 { "name": "preview", "$ref": "ObjectPreview", "optional": tr
ue, "description": "Preview containing abbreviated property values.", "hidden":
true } | 748 { "name": "preview", "$ref": "ObjectPreview", "optional": tr
ue, "description": "Preview containing abbreviated property values. Specified fo
r <code>object</code> type values only.", "hidden": true } |
749 ] | 749 ] |
750 }, | 750 }, |
751 { | 751 { |
752 "id": "ObjectPreview", | 752 "id": "ObjectPreview", |
753 "type": "object", | 753 "type": "object", |
754 "hidden": true, | 754 "hidden": true, |
755 "description": "Object containing abbreviated remote object valu
e.", | 755 "description": "Object containing abbreviated remote object valu
e.", |
756 "properties": [ | 756 "properties": [ |
| 757 { "name": "type", "type": "string", "enum": ["object", "func
tion", "undefined", "string", "number", "boolean", "symbol"], "description": "Ob
ject type." }, |
| 758 { "name": "subtype", "type": "string", "optional": true, "en
um": ["array", "null", "node", "regexp", "date", "map", "set"], "description": "
Object subtype hint. Specified for <code>object</code> type values only." }, |
| 759 { "name": "description", "type": "string", "optional": true,
"description": "String representation of the object." }, |
757 { "name": "lossless", "type": "boolean", "description": "Det
ermines whether preview is lossless (contains all information of the original ob
ject)." }, | 760 { "name": "lossless", "type": "boolean", "description": "Det
ermines whether preview is lossless (contains all information of the original ob
ject)." }, |
758 { "name": "overflow", "type": "boolean", "description": "Tru
e iff some of the properties of the original did not fit." }, | 761 { "name": "overflow", "type": "boolean", "description": "Tru
e iff some of the properties or entries of the original object did not fit." }, |
759 { "name": "properties", "type": "array", "items": { "$ref":
"PropertyPreview" }, "description": "List of the properties." } | 762 { "name": "properties", "type": "array", "items": { "$ref":
"PropertyPreview" }, "description": "List of the properties." }, |
| 763 { "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." } |
760 ] | 764 ] |
761 }, | 765 }, |
762 { | 766 { |
763 "id": "PropertyPreview", | 767 "id": "PropertyPreview", |
764 "type": "object", | 768 "type": "object", |
765 "hidden": true, | 769 "hidden": true, |
766 "properties": [ | 770 "properties": [ |
767 { "name": "name", "type": "string", "description": "Property
name." }, | 771 { "name": "name", "type": "string", "description": "Property
name." }, |
768 { "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." }, | 772 { "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." }, |
769 { "name": "value", "type": "string", "optional": true, "desc
ription": "User-friendly property value string." }, | 773 { "name": "value", "type": "string", "optional": true, "desc
ription": "User-friendly property value string." }, |
770 { "name": "valuePreview", "$ref": "ObjectPreview", "optional
": true, "description": "Nested value preview." }, | 774 { "name": "valuePreview", "$ref": "ObjectPreview", "optional
": true, "description": "Nested value preview." }, |
771 { "name": "subtype", "type": "string", "optional": true, "en
um": ["array", "null", "node", "regexp", "date", "map", "set"], "description": "
Object subtype hint. Specified for <code>object</code> type values only." } | 775 { "name": "subtype", "type": "string", "optional": true, "en
um": ["array", "null", "node", "regexp", "date", "map", "set"], "description": "
Object subtype hint. Specified for <code>object</code> type values only." } |
772 ] | 776 ] |
773 }, | 777 }, |
774 { | 778 { |
| 779 "id": "EntryPreview", |
| 780 "type": "object", |
| 781 "hidden": true, |
| 782 "properties": [ |
| 783 { "name": "key", "$ref": "ObjectPreview", "optional": true,
"description": "Preview of the key. Specified for map-like collection entries."
}, |
| 784 { "name": "value", "$ref": "ObjectPreview", "description": "
Preview of the value." } |
| 785 ] |
| 786 }, |
| 787 { |
775 "id": "PropertyDescriptor", | 788 "id": "PropertyDescriptor", |
776 "type": "object", | 789 "type": "object", |
777 "description": "Object property descriptor.", | 790 "description": "Object property descriptor.", |
778 "properties": [ | 791 "properties": [ |
779 { "name": "name", "type": "string", "description": "Property
name or symbol description." }, | 792 { "name": "name", "type": "string", "description": "Property
name or symbol description." }, |
780 { "name": "value", "$ref": "RemoteObject", "optional": true,
"description": "The value associated with the property." }, | 793 { "name": "value", "$ref": "RemoteObject", "optional": true,
"description": "The value associated with the property." }, |
781 { "name": "writable", "type": "boolean", "optional": true, "
description": "True if the value associated with the property may be changed (da
ta descriptors only)." }, | 794 { "name": "writable", "type": "boolean", "optional": true, "
description": "True if the value associated with the property may be changed (da
ta descriptors only)." }, |
782 { "name": "get", "$ref": "RemoteObject", "optional": true, "
description": "A function which serves as a getter for the property, or <code>un
defined</code> if there is no getter (accessor descriptors only)." }, | 795 { "name": "get", "$ref": "RemoteObject", "optional": true, "
description": "A function which serves as a getter for the property, or <code>un
defined</code> if there is no getter (accessor descriptors only)." }, |
783 { "name": "set", "$ref": "RemoteObject", "optional": true, "
description": "A function which serves as a setter for the property, or <code>un
defined</code> if there is no setter (accessor descriptors only)." }, | 796 { "name": "set", "$ref": "RemoteObject", "optional": true, "
description": "A function which serves as a setter for the property, or <code>un
defined</code> if there is no setter (accessor descriptors only)." }, |
784 { "name": "configurable", "type": "boolean", "description":
"True if the type of this property descriptor may be changed and if the property
may be deleted from the corresponding object." }, | 797 { "name": "configurable", "type": "boolean", "description":
"True if the type of this property descriptor may be changed and if the property
may be deleted from the corresponding object." }, |
(...skipping 3609 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4394 { | 4407 { |
4395 "name": "dataAvailable", | 4408 "name": "dataAvailable", |
4396 "parameters": [ | 4409 "parameters": [ |
4397 {"name": "value", "type": "array", "items": { "$ref": "Power
Event" }, "description": "List of power events." } | 4410 {"name": "value", "type": "array", "items": { "$ref": "Power
Event" }, "description": "List of power events." } |
4398 ], | 4411 ], |
4399 "handlers": ["browser", "frontend"] | 4412 "handlers": ["browser", "frontend"] |
4400 } | 4413 } |
4401 ] | 4414 ] |
4402 }] | 4415 }] |
4403 } | 4416 } |
OLD | NEW |