New APIs in FxOS 1.2
From MozillaWiki
Contents
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
- WebAudio (bug 779297)
- new WebGL 1 extensions.
- OES_element_index_uint:
- OES_texture_float_linear:
- OES_vertex_array_object:
- WEBGL_draw_buffers:
- ANGLE_instanced_arrays:
- Note that availability of these extensions depends on device capabilities. On my hamachi device, of the 5 new extensions listed above, only OES_element_index_uint and OES_vertex_array_object are available.
- Media/Audio recording bug 803414, bug 889720
- getUserMedia for audio/microphone
DOM
- document.caretPositionFromPoint (bug 654352)
- ChildNode.remove() (bug 856629)
- ParentNode on document fragments and documents; move previousElementSibling and nextElementSibling to ChildNode (bug 895974)
- document.register (bug 783129)
- support for clipboardData in cut/copy/paste events (bug 407983)
Keyboard
- KeyboardEvent.repeat (bug 600117)
- 3rd party keyboards (bug 816869)
Apps/General
- Inter-app communication API (bug 876397)
- DeviceStorage .default (bug 874213)
- Notification API bug 782211
- TCP socket API (bug 797561)
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
- Registration info (bug 882984)
- 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
- MozIccInfo
- 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
- Rename ICCCardLockErrorEvent to IccCardLockErrorEvent
- 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
- 'duration' for Display Text, Setup Call commands (bug 831630)
- MobileMessage
- Turn getSegmentInfoForText into an async call (bug 903403)
- dom/mobilemessage/interfaces/nsIDOMMobileMessageManager.idl
- Remove navigator.mozSms (bug 891235)
- Turn getSegmentInfoForText into an async call (bug 903403)
- Telephony
- support "Conference Call" (certified only) (bug 772765)
- navigator.mozTelephony.conferenceGroup
- new interface
- support "Conference Call" (certified only) (bug 772765)