Bug 1115758 - Part 1: Add USSDSession.cancel (webidl). r=hsinyi
authorSzu-Yu Chen [:aknow] <szchen@mozilla.com>
Wed, 07 Jan 2015 15:28:43 +0800
changeset 248248 a0068ce0aa5541fd5ce91e6e4331e430177bbe81
parent 248247 8f90e66c80e2bff7803f5c172b6b79048b049821
child 248249 19941167e2f344cd52d6ed7b9e5d18c049bb92be
push id4489
push userraliiev@mozilla.com
push dateMon, 23 Feb 2015 15:17:55 +0000
treeherdermozilla-beta@fd7c3dc24146 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewershsinyi
bugs1115758
milestone37.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1115758 - Part 1: Add USSDSession.cancel (webidl). r=hsinyi
dom/webidl/USSDSession.webidl
--- a/dom/webidl/USSDSession.webidl
+++ b/dom/webidl/USSDSession.webidl
@@ -4,11 +4,14 @@
  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
  */
 
 [Pref="dom.telephony.enabled",
  CheckPermissions="telephony",
  AvailableIn="CertifiedApps",
  Constructor(unsigned long serviceId)]
 interface USSDSession {
-  [Throws]
+  [NewObject, Throws]
   Promise<void> send(DOMString ussd);
+
+  [NewObject, Throws]
+  Promise<void> cancel();
 };