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

Side by Side Diff: Source/devtools/protocol.json

Issue 200423008: DevTools: Extend Runtime.CallArgument to pass numbers that can not be JSON-stringified. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebased Created 6 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 | Annotate | Revision Log
« no previous file with comments | « Source/devtools/front_end/RemoteObject.js ('k') | no next file » | 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": "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 639 matching lines...) Expand 10 before | Expand all | Expand 10 after
650 "description": "Unique object identifier." 650 "description": "Unique object identifier."
651 }, 651 },
652 { 652 {
653 "id": "RemoteObject", 653 "id": "RemoteObject",
654 "type": "object", 654 "type": "object",
655 "description": "Mirror object referencing original JavaScript ob ject.", 655 "description": "Mirror object referencing original JavaScript ob ject.",
656 "properties": [ 656 "properties": [
657 { "name": "type", "type": "string", "enum": ["object", "func tion", "undefined", "string", "number", "boolean"], "description": "Object type. " }, 657 { "name": "type", "type": "string", "enum": ["object", "func tion", "undefined", "string", "number", "boolean"], "description": "Object type. " },
658 { "name": "subtype", "type": "string", "optional": true, "en um": ["array", "null", "node", "regexp", "date"], "description": "Object subtype hint. Specified for <code>object</code> type values only." }, 658 { "name": "subtype", "type": "string", "optional": true, "en um": ["array", "null", "node", "regexp", "date"], "description": "Object subtype hint. Specified for <code>object</code> type values only." },
659 { "name": "className", "type": "string", "optional": true, " description": "Object class (constructor) name. Specified for <code>object</code > type values only." }, 659 { "name": "className", "type": "string", "optional": true, " description": "Object class (constructor) name. Specified for <code>object</code > type values only." },
660 { "name": "value", "type": "any", "optional": true, "descrip tion": "Remote object value (in case of primitive values or JSON values if it wa s requested)." }, 660 { "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)." },
661 { "name": "description", "type": "string", "optional": true, "description": "String representation of the object." }, 661 { "name": "description", "type": "string", "optional": true, "description": "String representation of the object." },
662 { "name": "objectId", "$ref": "RemoteObjectId", "optional": true, "description": "Unique object identifier (for non-primitive values)." }, 662 { "name": "objectId", "$ref": "RemoteObjectId", "optional": true, "description": "Unique object identifier (for non-primitive values)." },
663 { "name": "preview", "$ref": "ObjectPreview", "optional": tr ue, "description": "Preview containing abbreviated property values.", "hidden": true } 663 { "name": "preview", "$ref": "ObjectPreview", "optional": tr ue, "description": "Preview containing abbreviated property values.", "hidden": true }
664 ] 664 ]
665 }, 665 },
666 { 666 {
667 "id": "ObjectPreview", 667 "id": "ObjectPreview",
668 "type": "object", 668 "type": "object",
669 "hidden": true, 669 "hidden": true,
670 "description": "Object containing abbreviated remote object valu e.", 670 "description": "Object containing abbreviated remote object valu e.",
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
711 { "name": "name", "type": "string", "description": "Conventi onal property name." }, 711 { "name": "name", "type": "string", "description": "Conventi onal property name." },
712 { "name": "value", "$ref": "RemoteObject", "optional": true, "description": "The value associated with the property." } 712 { "name": "value", "$ref": "RemoteObject", "optional": true, "description": "The value associated with the property." }
713 ], 713 ],
714 "hidden": true 714 "hidden": true
715 }, 715 },
716 { 716 {
717 "id": "CallArgument", 717 "id": "CallArgument",
718 "type": "object", 718 "type": "object",
719 "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.", 719 "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.",
720 "properties": [ 720 "properties": [
721 { "name": "value", "type": "any", "optional": true, "descrip tion": "Primitive value." }, 721 { "name": "value", "type": "any", "optional": true, "descrip tion": "Primitive value, or description string if the value can not be JSON-stri ngified (like NaN, Infinity, -Infinity, -0)." },
722 { "name": "objectId", "$ref": "RemoteObjectId", "optional": true, "description": "Remote object handle." } 722 { "name": "objectId", "$ref": "RemoteObjectId", "optional": true, "description": "Remote object handle." },
723 { "name": "type", "optional": true, "hidden": true, "type": "string", "enum": ["object", "function", "undefined", "string", "number", "boole an"], "description": "Object type." }
723 ] 724 ]
724 }, 725 },
725 { 726 {
726 "id": "ExecutionContextId", 727 "id": "ExecutionContextId",
727 "type": "integer", 728 "type": "integer",
728 "description": "Id of an execution context." 729 "description": "Id of an execution context."
729 }, 730 },
730 { 731 {
731 "id": "ExecutionContextDescription", 732 "id": "ExecutionContextDescription",
732 "type": "object", 733 "type": "object",
(...skipping 3330 matching lines...) Expand 10 before | Expand all | Expand 10 after
4063 { 4064 {
4064 "name": "dataAvailable", 4065 "name": "dataAvailable",
4065 "parameters": [ 4066 "parameters": [
4066 {"name": "value", "type": "array", "items": { "$ref": "Power Event" }, "description": "List of power events." } 4067 {"name": "value", "type": "array", "items": { "$ref": "Power Event" }, "description": "List of power events." }
4067 ], 4068 ],
4068 "handlers": ["browser", "frontend"] 4069 "handlers": ["browser", "frontend"]
4069 } 4070 }
4070 ] 4071 ]
4071 }] 4072 }]
4072 } 4073 }
OLDNEW
« no previous file with comments | « Source/devtools/front_end/RemoteObject.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698