Wed, 31 Dec 2014 06:09:35 +0100
Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.
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 }