tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

constants.js (521B)


      1 /* This Source Code Form is subject to the terms of the Mozilla Public
      2 * License, v. 2.0. If a copy of the MPL was not distributed with this
      3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
      4 
      5 "use strict";
      6 
      7 const CONNECTION_TYPES = {
      8  NETWORK: "network",
      9  THIS_FIREFOX: "this-firefox",
     10  UNKNOWN: "unknown",
     11  USB: "usb",
     12 };
     13 
     14 const DEBUG_TARGET_TYPES = {
     15  EXTENSION: "extension",
     16  PROCESS: "process",
     17  TAB: "tab",
     18  WORKER: "worker",
     19 };
     20 
     21 module.exports = {
     22  CONNECTION_TYPES,
     23  DEBUG_TARGET_TYPES,
     24 };