| 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 317 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 328 "name": "setDocumentContent", | 328 "name": "setDocumentContent", |
| 329 "description": "Sets given markup as the document's HTML.", | 329 "description": "Sets given markup as the document's HTML.", |
| 330 "parameters": [ | 330 "parameters": [ |
| 331 { "name": "frameId", "$ref": "FrameId", "description": "Fram
e id to set HTML for." }, | 331 { "name": "frameId", "$ref": "FrameId", "description": "Fram
e id to set HTML for." }, |
| 332 { "name": "html", "type": "string", "description": "HTML con
tent to set." } | 332 { "name": "html", "type": "string", "description": "HTML con
tent to set." } |
| 333 ], | 333 ], |
| 334 "hidden": true | 334 "hidden": true |
| 335 }, | 335 }, |
| 336 { | 336 { |
| 337 "name": "setDeviceMetricsOverride", | 337 "name": "setDeviceMetricsOverride", |
| 338 "description": "Overrides the values of device screen dimensions
(window.screen.width, window.screen.height, window.innerWidth, window.innerHeig
ht, and \"device-width\"/\"device-height\"-related CSS media query results) and
the font scale factor.", | 338 "description": "Overrides the values of device screen dimensions
(window.screen.width, window.screen.height, window.innerWidth, window.innerHeig
ht, \"device-width\"/\"device-height\"-related CSS media query results), the fon
t scale factor, and text autosizing.", |
| 339 "parameters": [ | 339 "parameters": [ |
| 340 { "name": "width", "type": "integer", "description": "Overri
ding width value in pixels (minimum 0, maximum 10000000). 0 disables the overrid
e." }, | 340 { "name": "width", "type": "integer", "description": "Overri
ding width value in pixels (minimum 0, maximum 10000000). 0 disables the overrid
e." }, |
| 341 { "name": "height", "type": "integer", "description": "Overr
iding height value in pixels (minimum 0, maximum 10000000). 0 disables the overr
ide." }, | 341 { "name": "height", "type": "integer", "description": "Overr
iding height value in pixels (minimum 0, maximum 10000000). 0 disables the overr
ide." }, |
| 342 { "name": "deviceScaleFactor", "type": "number", "descriptio
n": "Overriding device scale factor value (must be positive)." }, | 342 { "name": "deviceScaleFactor", "type": "number", "descriptio
n": "Overriding device scale factor value (must be positive)." }, |
| 343 { "name": "fitWindow", "type": "boolean", "description": "Wh
ether a view that exceeds the available browser window area should be scaled dow
n to fit." } | 343 { "name": "fitWindow", "type": "boolean", "description": "Wh
ether a view that exceeds the available browser window area should be scaled dow
n to fit." }, |
| 344 { "name": "textAutosizing", "type": "integer", "description"
: "Text autosizing override (0 to not override, 1 to force enabled, 2 to force d
isabled)." } |
| 344 ], | 345 ], |
| 345 "hidden": true | 346 "hidden": true |
| 346 }, | 347 }, |
| 347 { | 348 { |
| 348 "name": "setShowPaintRects", | 349 "name": "setShowPaintRects", |
| 349 "description": "Requests that backend shows paint rectangles", | 350 "description": "Requests that backend shows paint rectangles", |
| 350 "parameters": [ | 351 "parameters": [ |
| 351 { "name": "result", "type": "boolean", "description": "True
for showing paint rectangles" } | 352 { "name": "result", "type": "boolean", "description": "True
for showing paint rectangles" } |
| 352 ], | 353 ], |
| 353 "hidden": true | 354 "hidden": true |
| (...skipping 3705 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4059 "parameters": [ | 4060 "parameters": [ |
| 4060 { "name": "value", "type": "array", "items": { "type": "obje
ct" } } | 4061 { "name": "value", "type": "array", "items": { "type": "obje
ct" } } |
| 4061 ] | 4062 ] |
| 4062 }, | 4063 }, |
| 4063 { | 4064 { |
| 4064 "name": "tracingComplete" | 4065 "name": "tracingComplete" |
| 4065 } | 4066 } |
| 4066 ] | 4067 ] |
| 4067 }] | 4068 }] |
| 4068 } | 4069 } |
| OLD | NEW |