| 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 4007 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4018 { "name": "toStep", "type": "integer", "optional": true, "de
scription": "The last step to replay to (replay till the end if not specified)."
} | 4018 { "name": "toStep", "type": "integer", "optional": true, "de
scription": "The last step to replay to (replay till the end if not specified)."
} |
| 4019 ], | 4019 ], |
| 4020 "description": "Replays the layer snapshot and returns the resul
ting bitmap.", | 4020 "description": "Replays the layer snapshot and returns the resul
ting bitmap.", |
| 4021 "returns": [ | 4021 "returns": [ |
| 4022 { "name": "dataURL", "type": "string", "description": "A dat
a: URL for resulting image." } | 4022 { "name": "dataURL", "type": "string", "description": "A dat
a: URL for resulting image." } |
| 4023 ] | 4023 ] |
| 4024 }, | 4024 }, |
| 4025 { | 4025 { |
| 4026 "name": "snapshotCommandLog", | 4026 "name": "snapshotCommandLog", |
| 4027 "parameters": [ | 4027 "parameters": [ |
| 4028 { "name": "snapshotId", "$ref": "SnapshotId", "description":
"The id of the layer snapshot." } | 4028 { "name": "snapshotId", "$ref": "SnapshotId", "description":
"The id of the layer snapshot." }, |
| 4029 { "name": "fromStep", "type": "integer", "optional": true, "
description": "The first step to get log from (get log from the very start if no
t specified)." }, |
| 4030 { "name": "toStep", "type": "integer", "optional": true, "de
scription": "The last step to get log to (get log till the end if not specified)
." } |
| 4029 ], | 4031 ], |
| 4030 "description": "Replays the layer snapshot and returns canvas lo
g.", | 4032 "description": "Replays the layer snapshot and returns canvas lo
g.", |
| 4031 "returns": [ | 4033 "returns": [ |
| 4032 { "name": "commandLog", "type": "array", "items": { "type":
"object" }, "description": "The array of canvas function calls." } | 4034 { "name": "commandLog", "type": "array", "items": { "type":
"object" }, "description": "The array of canvas function calls." } |
| 4033 ] | 4035 ] |
| 4034 } | 4036 } |
| 4035 ], | 4037 ], |
| 4036 "events": [ | 4038 "events": [ |
| 4037 { | 4039 { |
| 4038 "name": "layerTreeDidChange", | 4040 "name": "layerTreeDidChange", |
| (...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4175 { | 4177 { |
| 4176 "name": "dataAvailable", | 4178 "name": "dataAvailable", |
| 4177 "parameters": [ | 4179 "parameters": [ |
| 4178 {"name": "value", "type": "array", "items": { "$ref": "Power
Event" }, "description": "List of power events." } | 4180 {"name": "value", "type": "array", "items": { "$ref": "Power
Event" }, "description": "List of power events." } |
| 4179 ], | 4181 ], |
| 4180 "handlers": ["browser", "frontend"] | 4182 "handlers": ["browser", "frontend"] |
| 4181 } | 4183 } |
| 4182 ] | 4184 ] |
| 4183 }] | 4185 }] |
| 4184 } | 4186 } |
| OLD | NEW |