Commit f68e2a5d authored by nojvek's avatar nojvek Committed by Commit bot

Fix minor structural defects in protocol.json files. The structure has been...

Fix minor structural defects in protocol.json files. The structure has been verified by typescript's type checker.

See: https://github.com/nojvek/chrome-remote-debug-interface/blob/master/generator/protocol.d.ts

BUG=625341

Review-Url: https://codereview.chromium.org/2121463002
Cr-Commit-Position: refs/heads/master@{#403952}
parent ac737a9d
......@@ -3868,7 +3868,7 @@
"properties": [
{ "name": "id", "type": "string", "description": "<code>Animation</code>'s id." },
{ "name": "name", "type": "string", "description": "<code>Animation</code>'s name." },
{ "name": "pausedState", "type": "boolean", "hidden": "true", "description": "<code>Animation</code>'s internal paused state." },
{ "name": "pausedState", "type": "boolean", "hidden": true, "description": "<code>Animation</code>'s internal paused state." },
{ "name": "playState", "type": "string", "description": "<code>Animation</code>'s play state." },
{ "name": "playbackRate", "type": "number", "description": "<code>Animation</code>'s playback rate." },
{ "name": "startTime", "type": "number", "description": "<code>Animation</code>'s start time." },
......@@ -4082,7 +4082,6 @@
"type": "object",
"properties": [
{ "name": "type", "$ref": "AXValueType", "description": "The type of this value." },
{ "name": "value", "type": "any", "description": "The computed value of this property.", "optional": true },
{ "name": "relatedNodes", "type": "array", "items": { "$ref": "AXRelatedNode" }, "description": "One or more related nodes, if applicable.", "optional": true },
{ "name": "sources", "type": "array", "items": { "$ref": "AXValueSource" }, "description": "The sources which contributed to the computation of this property.", "optional": true }
......@@ -4105,7 +4104,7 @@
"id": "AXWidgetAttributes",
"type": "string",
"enum": [ "autocomplete", "haspopup", "level", "multiselectable", "orientation", "multiline", "readonly", "required", "valuemin", "valuemax", "valuetext" ],
"Description": "Attributes which apply to widgets."
"description": "Attributes which apply to widgets."
},
{
"id": "AXWidgetStates",
......
......@@ -162,7 +162,7 @@
"properties": [
{ "name": "description", "type": "string", "optional": true, "description": "String label of this stack trace. For async traces this may be a name of the function that initiated the async call." },
{ "name": "callFrames", "type": "array", "items": { "$ref": "CallFrame" }, "description": "JavaScript function name." },
{ "name": "parent", "$ref": "StackTrace", "optional": true, "hidden": true, "hidden": true, "description": "Asynchronous JavaScript stack trace that preceded this stack, if available." }
{ "name": "parent", "$ref": "StackTrace", "optional": true, "hidden": true, "description": "Asynchronous JavaScript stack trace that preceded this stack, if available." }
]
}
],
......@@ -873,7 +873,6 @@
{ "name": "id", "type": "string" },
{ "name": "location", "$ref": "Debugger.Location", "description": "Location of console.profile()." },
{ "name": "title", "type": "string", "optional": true, "description": "Profile title passed as argument to console.profile()." }
],
"description": "Sent when new profile recodring is started using console.profile() call."
},
......@@ -939,7 +938,6 @@
"parameters": [
{ "name": "reportProgress", "type": "boolean", "optional": true, "description": "If true 'reportHeapSnapshotProgress' events will be generated while snapshot is being taken when the tracking is stopped." }
]
},
{
"name": "takeHeapSnapshot",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment