dom/webidl/MozClirModeEvent.webidl
author Rail Aliiev <rail@mozilla.com>
Mon, 11 May 2015 15:32:15 -0400
changeset 188844 27a812186ff4604f37243876f7eedecaba9e4c07
parent 188189 bcb7940400c7dabe52694d419a47f848cb08776e
permissions -rw-r--r--
tagging B2G_1_4 for mergeday. r=a=mergeday CLOSED TREE DONTBUILD

/* -*- 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/.
 */

[Pref="dom.mobileconnection.enabled",
 Constructor(DOMString type, optional MozClirModeEventInit eventInitDict)]
interface MozClirModeEvent : Event
{
  /**
   * Indicates the mode of the calling line id restriction (CLIR).
   *
   * @see nsIDOMMozMobileConnection.CLIR_* values.
   */
  readonly attribute unsigned long mode;
};

dictionary MozClirModeEventInit : EventInit
{
  unsigned long mode = 0;
};