| Index: third_party/WebKit/Source/core/inspector/browser_protocol.json
|
| diff --git a/third_party/WebKit/Source/core/inspector/browser_protocol.json b/third_party/WebKit/Source/core/inspector/browser_protocol.json
|
| index 662d9e183f19372f2f70c38e85cfea83f141c8e4..aa473688c5b688098ee967c3ca1dbd4b384f51e6 100644
|
| --- a/third_party/WebKit/Source/core/inspector/browser_protocol.json
|
| +++ b/third_party/WebKit/Source/core/inspector/browser_protocol.json
|
| @@ -416,8 +416,12 @@
|
| {
|
| "name": "captureScreenshot",
|
| "description": "Capture page screenshot.",
|
| + "parameters": [
|
| + { "name": "format", "type": "string", "optional": true, "enum": ["jpeg", "png"], "description": "Image compression format (defaults to png)." },
|
| + { "name": "quality", "type": "integer", "optional": true, "description": "Compression quality from range [0..100] (jpeg only)." }
|
| + ],
|
| "returns": [
|
| - { "name": "data", "type": "string", "description": "Base64-encoded image data (PNG)." }
|
| + { "name": "data", "type": "string", "description": "Base64-encoded image data." }
|
| ],
|
| "experimental": true
|
| },
|
|
|