Thu, 15 Jan 2015 21:03:48 +0100
Integrate friendly tips from Tor colleagues to make (or not) 4.5 alpha 3;
This includes removal of overloaded (but unused) methods, and addition of
a overlooked call to DataStruct::SetData(nsISupports, uint32_t, bool.)
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 }