From ff3e7cddf33b015cfbbcfd85cdb655f8a9a9a220 Mon Sep 17 00:00:00 2001 From: "Szu-Yu Chen [:aknow]" Date: Wed, 7 Jan 2015 15:28:43 +0800 Subject: [PATCH] Bug 1115758 - Part 1: Add USSDSession.cancel (webidl). r=hsinyi --- dom/webidl/USSDSession.webidl | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/dom/webidl/USSDSession.webidl b/dom/webidl/USSDSession.webidl index 88062f9f831..4a843de236f 100644 --- a/dom/webidl/USSDSession.webidl +++ b/dom/webidl/USSDSession.webidl @@ -9,6 +9,9 @@ AvailableIn="CertifiedApps", Constructor(unsigned long serviceId)] interface USSDSession { - [Throws] + [NewObject, Throws] Promise send(DOMString ussd); + + [NewObject, Throws] + Promise cancel(); };