tor-browser

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

PeerConnectionObserverEnums.webidl (747B)


      1 /* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
      2 /* This Source Code Form is subject to the terms of the Mozilla Public
      3 * License, v. 2.0. If a copy of the MPL was not distributed with this file,
      4 * You can obtain one at http://mozilla.org/MPL/2.0/.
      5 *
      6 * This is in a separate file so it can be shared with unittests.
      7 */
      8 
      9 enum PCObserverStateType {
     10    "None",
     11    "IceConnectionState",
     12    "IceGatheringState",
     13    "SignalingState",
     14    "ConnectionState",
     15 };
     16 
     17 enum PCError {
     18  "UnknownError",
     19  "InvalidAccessError",
     20  "InvalidStateError",
     21  "InvalidModificationError",
     22  "OperationError",
     23  "NotSupportedError",
     24  "SyntaxError",
     25  "NotReadableError",
     26  "TypeError",
     27  "RangeError",
     28  "InvalidCharacterError"
     29 };