diff --git a/devtools/client/commandline/test/browser_cmd_media.js b/devtools/client/commandline/test/browser_cmd_media.js index 559370add633..94bce2867745 100644 --- a/devtools/client/commandline/test/browser_cmd_media.js +++ b/devtools/client/commandline/test/browser_cmd_media.js @@ -53,6 +53,21 @@ var tests = { ]); }, + testEmulateBadMedia: function (options) { + return helpers.audit(options, [ + { + setup: "media emulate nonsense", + check: { + input: "media emulate nonsense", + markup: "VVVVVVVVVVVVVVEEEEEEEE", + status: "ERROR", + }, + output: "Can't use `nonsense`", + error: true + } + ]); + }, + testEndMediaEmulation: function (options) { return helpers.audit(options, [ {