summaryrefslogtreecommitdiffstats
path: root/devtools/client/shared/remote-debugging/constants.js
blob: ad4d180548153602dba9e7eb261c948356873b53 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */

"use strict";

const CONNECTION_TYPES = {
  NETWORK: "network",
  THIS_FIREFOX: "this-firefox",
  UNKNOWN: "unknown",
  USB: "usb",
};

const DEBUG_TARGET_TYPES = {
  EXTENSION: "extension",
  PROCESS: "process",
  TAB: "tab",
  WORKER: "worker",
};

module.exports = {
  CONNECTION_TYPES,
  DEBUG_TARGET_TYPES,
};