services/common/tests/run_storage_server.js

Wed, 31 Dec 2014 07:53:36 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 07:53:36 +0100
branch
TOR_BUG_3246
changeset 5
4ab42b5ab56c
permissions
-rw-r--r--

Correct small whitespace inconsistency, lost while renaming variables.

michael@0 1 /* This Source Code Form is subject to the terms of the Mozilla Public
michael@0 2 * License, v. 2.0. If a copy of the MPL was not distributed with this file,
michael@0 3 * You can obtain one at http://mozilla.org/MPL/2.0/. */
michael@0 4
michael@0 5 /**
michael@0 6 * This file runs a Storage Service server.
michael@0 7 *
michael@0 8 * It is meant to be executed with an xpcshell.
michael@0 9 *
michael@0 10 * The Makefile in this directory contains a target to run it:
michael@0 11 *
michael@0 12 * $ make storage-server
michael@0 13 */
michael@0 14
michael@0 15 Cu.import("resource://testing-common/services-common/storageserver.js");
michael@0 16
michael@0 17 initTestLogging();
michael@0 18
michael@0 19 let server = new StorageServer();
michael@0 20 server.allowAllUsers = true;
michael@0 21 server.startSynchronous(SERVER_PORT);
michael@0 22 _("Storage server started on port " + SERVER_PORT);
michael@0 23
michael@0 24 // Launch the thread manager.
michael@0 25 _do_main();

mercurial