dom/webidl/RTCPeerConnectionIceEvent.webidl
author Mike Hommey <mh+mozilla@glandium.org>
Thu, 30 Mar 2023 21:05:14 +0000
changeset 658668 ca68babc98877646aaa01679c986cb98e73dbfbc
parent 495397 2416d17d33c1c6774e62f786aaeff6c02462a5bd
permissions -rw-r--r--
Bug 1825478 - Update bindgen to 0.64. r=emilio,necko-reviewers,supply-chain-reviewers,valentin Differential Revision: https://phabricator.services.mozilla.com/D174054

/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* 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/.
 *
 * The origin of this IDL file is
 * http://dev.w3.org/2011/webrtc/editor/webrtc.html#idl-def-RTCPeerConnectionIceEvent
 */

dictionary RTCPeerConnectionIceEventInit : EventInit {
  RTCIceCandidate? candidate = null;
};

[Pref="media.peerconnection.enabled",
 Exposed=Window]
interface RTCPeerConnectionIceEvent : Event {
  constructor(DOMString type,
              optional RTCPeerConnectionIceEventInit eventInitDict = {});

  readonly attribute RTCIceCandidate? candidate;
};