: Etherpad users! We are developing an extension that will allow you to create pages from etherpads quickly and easily. Please visit our sandbox and help us test it.

New APIs in FxOS 1.2

From MozillaWiki
(Redirected from NewAPIsInFxOS1.2)
Jump to: navigation, search

New APIs in FxOS 1.2 (between gecko 18 and 26)

CSS

  • @font-feature-values rule support (bug 549861)
  • CSSGroupingRule and CSSConditionRule (bug 814907)
  • StyleRule{Added,Removed,Changed}, StyleSheetApplicableStateChange, StyleSheetChange events (bug 839103)
  • CSS.supports() (bug 779917)

Media

DOM

Keyboard

Apps/General

RIL/Telephony

  • Fuzzy matcher API for phone numbers (bug 883923)
  • CDMA
    • Registration info (bug 882984)
      • (bug 882984)
      • multiple new CDMA specific attributes in MozMobileCellInfo
      • dom/network/interfaces/nsIDOMMobileConnection.idl
    • Emergency callback mode support (bug 887690)
      • new method exitEmergencyCbMode and new event emergencycbmodechange in MozMobileConnection
      • dom/network/interfaces/nsIDOMMozEmergencyCbModeEvent.idl
    • OTASP (bug 882983)
      • new event otastatuschange in MozMobileConnection
      • dom/network/interfaces/nsIDOMMozOtaStatusEvent.idl
    • MDN/MIN (bug 869778)
      • new interface MozGsmIccInfo & MozCdmaIccInfo
      • new attribute iccType in MozIccInfo
      • dom/icc/interfaces/nsIDOMIccInfo.idl
    • Preferred voice mode (bug 869769)
      • new methods setVoicePrivacyMode and getVoicePrivacyMode in MozMobileConnection
      • dom/network/interfaces/nsIDOMMobileConnection.idl
    • Roaming preference (bug 869768)
      • new methods setRoamingPreference and getRoamingPreference in MozMobileConnection
      • dom/network/interfaces/nsIDOMMobileConnection.idl
    • Call Waiting (bug 822210)
      • new attribute secondNumber in TelephonyCall
      • dom/webidl/TelephonyCall.webidl
  • Support Change Call Barring Password (bug 905479)
    • new method changeCallBarringPassword in MozMobileConnection
    • dom/network/interfaces/nsIDOMMobileConnection.idl
  • Move ICC functions out from MobileConnection (bug 875721, bug 874744, bug 860585, bug 859220)
    • MozIccInfo
      • navigator.mozIccManager.iccInfo
      • new interface
      • dom/icc/interfaces/nsIDOMIccInfo.idl
    • MozIccManager
      • navigator.mozIccManager
      • new attributes, methods, and events
      • dom/icc/interfaces/nsIDOMIccManager.idl
    • MozMobileConnection
      • navigator.mozMobileConnection
      • numerous attributes, methods and events removed
      • dom/network/interfaces/nsIDOMMobileConnection.idl
    • nsIDOMMozMobileICCInfo
      • navigator.mozMobileConnection.iccInfo
      • interface removed
  • ICC card lock improvements
    • Rename ICCCardLockErrorEvent to IccCardLockErrorEvent
      • dom/webidl/IccCardLockErrorEvent.webidl
    • Retry count (bug 886239, bug 875710)
      • attribute retryCount removed from MozMobileConnection
      • new method getCardLockRetryCount in MozIccManager
      • dom/network/interfaces/nsIDOMMobileConnection.idl
      • dom/icc/interfaces/nsIDOMIccManager.idl
  • Import/export SIM Contacts (bug 847741, bug 847820)
    • new methods readContacts, updateContact in MozIccManager
    • dom/icc/interfaces/nsIDOMIccManager.idl
  • ICC Secure Elements (bug 840780)
    • new methods iccOpenChannel, iccExchangeAPDU, iccCloseChannel in MozIccManager
    • dom/icc/interfaces/nsIDOMIccManager.idl
  • STK improvements
    • 'duration' for Display Text, Setup Call commands (bug 831630)
      • new attribute duration in both MozStkTextMessage and MozStkSetUpCall
      • dom/icc/interfaces/SimToolKit.idl
    • support "Language Selection Event" (bug 831627)
      • new dictionary MozStkLanguageSelectionEvent
      • dom/icc/interfaces/SimToolKit.idl
    • support "Idle Screen Available Event" (bug 831628)
      • new dictionary MozStkGeneralEvent
      • dom/icc/interfaces/SimToolKit.idl
  • MobileMessage
    • Turn getSegmentInfoForText into an async call (bug 903403)
      • dom/mobilemessage/interfaces/nsIDOMMobileMessageManager.idl
    • Remove navigator.mozSms (bug 891235)
  • Telephony
    • support "Conference Call" (certified only) (bug 772765)
      • navigator.mozTelephony.conferenceGroup
      • new interface