Chromium Code Reviews| 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 0060d55ef89f30e039effde25b5e314377b9e6e6..913a1b220658881972013f68642f9bd870aebd75 100644 |
| --- a/third_party/WebKit/Source/core/inspector/browser_protocol.json |
| +++ b/third_party/WebKit/Source/core/inspector/browser_protocol.json |
| @@ -4675,6 +4675,20 @@ |
| "returns": [ |
| { "name": "bounds", "$ref": "Bounds", "description": "Bounds information of the window. When window state is 'minimized', the restored window position and size are returned." } |
| ] |
| + }, |
| + { |
| + "name": "setDownloadBehavior", |
| + "description": "Set the behavior when downloading a file (headless chrome only).", |
| + "parameters": [ |
| + { "name": "behavior", "type": "string", "enum": ["deny", "allow"], "description": "Whether to allow all or deny all download requests." } |
|
Eric Seckler
2017/05/17 09:44:45
drive-by (trying to verify that this aligns with f
|
| + ] |
| + }, |
| + { |
| + "name": "setDownloadDirectory", |
| + "description": "Set the directory path where downloaded fles will be saved (headless chrome only).", |
| + "parameters": [ |
| + { "name": "path", "type": "string", "description": "The default path to save downloaded files to." } |
| + ] |
| } |
| ] |
| }] |