Thu, 22 Jan 2015 13:21:57 +0100
Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6
1 /* Any copyright is dedicated to the Public Domain.
2 * http://creativecommons.org/publicdomain/zero/1.0/ */
4 // Test that restart command works properly (input wise)
6 const TEST_URI = "data:text/html;charset=utf-8,gcli-command-restart";
8 function test() {
9 helpers.addTabWithToolbar(TEST_URI, function(options) {
10 return helpers.audit(options, [
11 {
12 setup: 'restart',
13 check: {
14 input: 'restart',
15 markup: 'VVVVVVV',
16 status: 'VALID',
17 args: {
18 nocache: { value: false },
19 }
20 },
21 },
22 {
23 setup: 'restart --nocache',
24 check: {
25 input: 'restart --nocache',
26 markup: 'VVVVVVVVVVVVVVVVV',
27 status: 'VALID',
28 args: {
29 nocache: { value: true },
30 }
31 },
32 },
33 ]);
34 }).then(finish, helpers.handleError);
35 }