author B2G Bumper Bot <>
Mon, 09 Jun 2014 01:55:59 -0700
changeset 206796 f2a727ece81064a6e22177528aab80e816c3a377
parent 188110 8c07c3fd9d6e8f4b637f8c3504effb88d035b8af
child 215911 7784c83c72a20a527652ddc2e4e6b8b47cad6085
permissions -rw-r--r--
Bumping gaia.json for 2 gaia revision(s) a=gaia-bump ======== Author: Rudy Lu <> Desc: Merge pull request #19856 from RudyLu/keyboard/Bug1013570_commit Bug 1013570 - [B2G][Keyboard]Double or triple tapping on the spacebar. r=timdream. ======== Author: Rudy Lu <> Desc: Bug 1013570 - [B2G][Keyboard]Double or triple tapping on the spacebar can result in 2-3 periods, as well as deleted characters. - Send the next key after the previous sendKey is resolved.

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

interface Telephony : EventTarget {
   * There are multiple telephony services in multi-sim architecture. We use
   * |serviceId| to indicate the target telephony service. If not specified,
   * the implementation MUST use the default service.
   * Possible values of |serviceId| are 0 ~ (number of services - 1), which is
   * simply the index of a service. Get number of services by acquiring
   * |navigator.mozMobileConnections.length|.

  // Promise<TelephonyCall>
  Promise dial(DOMString number, optional unsigned long serviceId);

  // Promise<TelephonyCall>
  Promise dialEmergency(DOMString number, optional unsigned long serviceId);

  void startTone(DOMString tone, optional unsigned long serviceId);

  void stopTone(optional unsigned long serviceId);

  attribute boolean muted;

  attribute boolean speakerEnabled;

  readonly attribute (TelephonyCall or TelephonyCallGroup)? active;

  // A call is contained either in Telephony or in TelephonyCallGroup.
  readonly attribute CallsList calls;
  readonly attribute TelephonyCallGroup conferenceGroup;

  attribute EventHandler onincoming;
  attribute EventHandler oncallschanged;
  attribute EventHandler onremoteheld;
  attribute EventHandler onremoteresumed;