Bug 1391738 - Screenshot with filename fails with unknown error in Linux. r=jwalker
MozReview-Commit-ID: 7XLXyNkL4Le
--- a/devtools/shared/gcli/commands/screenshot.js
+++ b/devtools/shared/gcli/commands/screenshot.js
@@ -31,21 +31,17 @@ const CONTAINER_FLASHING_DURATION = 500;
* command.
*/
/**
* Both commands have the same initial filename parameter
*/
const filenameParam = {
name: "filename",
- type: {
- name: "file",
- filetype: "file",
- existing: "maybe",
- },
+ type: "string",
defaultValue: FILENAME_DEFAULT_VALUE,
description: l10n.lookup("screenshotFilenameDesc"),
manual: l10n.lookup("screenshotFilenameManual")
};
/**
* Both commands have almost the same set of standard optional parameters, except for the
* type of the --selector option, which can be a node only on the server.