Bug 988469 - MSISDN verification API for privileged apps. Part 0: WebIDL. r=sicking
authorFernando Jiménez <ferjmoreno@gmail.com>
Sat, 07 Jun 2014 19:30:17 +0200
changeset 206644 ffa3043bd8eb8de33ece9feb845c0dba6e6ce9c0
parent 206643 191d972e5849c550827026cd70fa3f81bde4fc26
child 206645 52bbad182cb31cdfe920c9de6973853967dc0b69
push id3741
push userasasaki@mozilla.com
push dateMon, 21 Jul 2014 20:25:18 +0000
treeherdermozilla-beta@4d6f46f5af68 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerssicking
bugs988469
milestone32.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 988469 - MSISDN verification API for privileged apps. Part 0: WebIDL. r=sicking
dom/webidl/Navigator.webidl
--- a/dom/webidl/Navigator.webidl
+++ b/dom/webidl/Navigator.webidl
@@ -146,16 +146,25 @@ partial interface Navigator {
 callback interface MozIdleObserver {
   // Time is in seconds and is read only when idle observers are added
   // and removed.
   readonly attribute unsigned long time;
   void onidle();
   void onactive();
 };
 
+#ifdef MOZ_B2G
+[NoInterfaceObject]
+interface NavigatorMobileId {
+    [Throws, NewObject]
+    Promise getMobileIdAssertion();
+};
+Navigator implements NavigatorMobileId;
+#endif // MOZ_B2G
+
 // nsIDOMNavigator
 partial interface Navigator {
   [Throws]
   readonly attribute DOMString oscpu;
   // WebKit/Blink support this; Trident/Presto do not.
   readonly attribute DOMString vendor;
   // WebKit/Blink supports this (hardcoded ""); Trident/Presto do not.
   readonly attribute DOMString vendorSub;