Ocorreu um erro de código nesta página. Enquanto este é resolvido pelos editores do site, pode ver o conteúdo parcial abaixo.

{{MDNSidebar}}
{{IncludeSubnav("/pt-PT/docs/MDN")}}

À medida que a documentação aumenta, esta página será atualizada de acordo: as APIs que estão totalmente documentadas são enviadas para o fim da páginae a documentação em curso é colocada no topo.

Trabalho da documentação em curso

Consulte a agenda de documentação de WebAPI para detalhes sobre a nossa agenda para completar este conteúdo.

Atualização Requerida

O suporte para o {{domxref("Promise")}} chegou ({{bug(856410)}}). Quando se ligar no B2G ({{bug(897913)}}), este terá muitos impactos na documentação da API da Web. Isto tem que ser monitorizado com cuidado.

Nome de API Pontos de Entrada Erros Estado do documento Notas
WebTelephony (suporte para Chamadas em conferência) Etiqueta: {{Tag("Telephony")}} {{bug(772765)}} Precisa de uma extensão e de atualização Chegou apenas para o FxOS 1.2. Apenas Aplicações certificadas
API do Estado da Rede Etiqueta: {{Tag("Network Stats")}} {{bug(858003)}}
{{bug(858005)}}
{{bug(887699)}}
Precisa de atualização Ainda não chegou
API da Notificação {{domxref("Notification.get")}}

Etiqueta: {{Tag("Notifications")}}
{{bug(899574)}} Precisa de atualização Ainda não chegou

APIs da Rede

Nome do API Pontos de Entrada Erros Doc status Notes
API de Ligação à Rede {{domxref("window.navigator.mozMobileConnection","navigator.mozMobileConnection")}}
{{domxref("MozMobileConnection")}}
{{domxref("MozMobileConnectionInfo")}}
{{domxref("MozMobileICCInfo")}}
{{domxref("MozMobileNetworkInfo")}}
{{domxref("MozMobileCFInfo")}}
{{domxref("MozMobileCellInfo")}}
Introductory article: Mobile Connection

Paused:
{{domxref("MozIccManager")}}
{{domxref("MozStkCommandEvent")}}

Tag: none yet
{{bug(729173)}}
{{bug(857414)}}
parcial Em pausa: A pilha de STK é enorme e requer mais investigação. Não parece ser um API de grande prioridade para o documento.

Tech review of everything not related to STK asked to Vicamo Yang and Ken Chang.

MXR: MobileConnection
WikiMo: WebMobileConnection

APIs de Gestão de Dados

Nome de API Pontos de Entrada Erros Estado do documento Notas
IndexedDB {{domxref("window.indexedDB")}}
IndexedDB root page: /IndexedDB
{{bug(553412)}} almost done The whole documentation lives under /IndexedDB. Shouldn't we moved it under /Web ?

We are waiting the end of the switch to WebIDL to update the documentation

Spec: http://www.w3.org/TR/IndexedDB/ (the draft is more accurate)

Outras APIs

Nome de API Pontos de Entrada Erros Estado do documento Notas
Inter-App communication API   {{bug(876397)}} none WikiMo: Inter-App Communication
Open WebApps   {{bug(697006)}} almost done Needs some clean up
Voicemail API {{domxref("window.navigator.mozVoicemail")}}
{{domxref("MozVoicemail")}}
{{domxref("MozVoicemailEvent")}}
{{domxref("MozVoicemailStatus")}}

Tag: {{Tag("voicemail")}}
{{bug(773068)}} Partial The basic reference documentation is okay but it still need some proper introductory article. It also requires to make the difference between the FxOS 1.0 and 1.3 API (enhancement for multi-sim cards)

WikiMo: WebVoicemail, WebVoicemail (multi SIM)
Microphone API   {{bug(894848)}} none Landed in B2G 1.2

Implementação em progresso

Estas são as APIs em progresso. Estas ainda 'NÃO' estão prontas para serem documentadas.

Nome da API Pontos de Entrada Erros Estado do documento Notas
AudioChannels   {{bug(853101)}}
{{bug(876631)}}
none WikiMo: AudioChannels
DataStore   {{bug(871445)}} none WikiMo: DataStore
Virtual Keyboard API   {{bug(737110)}} none WikiMo: KeboardIME
WebNFC   {{bug(674741)}} none WikiMo: WebNFC
WebUSB   {{bug(674718)}} none WikiMo: WebUSB
Speaker Manager API   {{bug(854753)}} none WikiMo: unknown
FM RDS (extension of FM API)   {{bug(864327)}} none WebAPI forum
ServiceWorker API   {{bug(903441)}} none Github

Documentação concluída

Conteúdo da Web ou APIs instaladas

Nome da API Pontos de Entrada Erros Estado do documento Notas
Alarm API {{domxref("window.navigator.mozAlarms","navigator.mozAlarms")}}
{{domxref("MozAlarmsManager")}}
Introductory article: Alarm

Tag: {{Tag("alarm")}}
{{bug(749551)}} done Needs editorial review and technical review.

Discuss with Mounir and Genelian about the spec. It is not stable enough to plan any change in the current implementation.

Spec: http://www.w3.org/TR/web-alarms/
MXR: MozAlarmsManager
WikiMo: AlarmAPI
Ambient Light Events {{domxref("DeviceLightEvent")}}
{{domxref("window.ondevicelight")}}
{{event("devicelight")}} event
Introductory article: Using Light Events

Tag: {{Tag("Ambient Light")}}

Postoned documentation because the API is at risk:
{{domxref("LightLevelEvent")}}
{{domxref("window.onlightlevel")}}
{{event("lightlevel")}} event
{{bug(738465)}}
{{bug(842952)}}
done Discussed with Doug Turner about the state of the spec and the implementation of {{domxref("LightLevelEvent")}}: even if it's not implemented yet, we should document the {{domxref("LightLevelEvent")}} interface

Discussed with Annvek the opportunity to drop {{domxref("LightLevelEvent")}} from the spec.

Spec: http://www.w3.org/TR/ambient-light/ (the draft is more accurate)
MXR: DeviceLightEvent
Battery Status API {{domxref("window.navigator.battery","navigator.battery")}}
{{domxref("BatteryManager")}}
{{event("chargingchange")}} event
{{event("chargingtimechange")}} event
{{event("dischargingtimechange")}} event
{{event("levelchange")}} event
Introductory article: Battery Status

Tag: {{Tag("Battery")}}
{{bug(678694)}} done Don't be fooled by the BatteryManager red link, it's just due to migration from DOM to Web/API within the domxref template.

Needs editorial review

Spec: http://www.w3.org/TR/battery-status/ (the draft is more accurate)
MXR: BatteryManager
Device Orientation {{domxref("DeviceOrientationEvent")}}
{{domxref("DeviceMotionEvent")}}
{{domxref("window.ondeviceorientation")}}
{{domxref("window.ondevicemotion")}}
{{event("deviceorientation")}} event
{{event("devicemotion")}} event
Introductory article: Detecting device orientation

Tag: {{Tag("Device Orientation")}}

Unimplemented but in the spec
{{domxref("window.oncompassneedscalibration")}}
{{event("compassneedscalibration")}} event
{{bug(615597)}} done The introductory still need a quick technical review.

Spec: http://www.w3.org/TR/orientation-event/ (the draft is more accurate)
MXR: DeviceOrientationEvent, DeviceMotion
WikiMo: ScreenOrientation
FileHandle API {{domxref("FileHandle")}}
{{domxref("LockedFile")}}
{{domxref("FileRequest")}}
Introductory article: FileHandle API

Tag: {{Tag("Files")}}
{{bug(726593)}} done Still need technical review

{{domxref("IDBDatabase.mozCreateFileHandle")}} need to be documented but it is not urgent as it is a transitory API and it does not do anything special (it's just a factory to get {{domxref("FileHandle")}} objects)

Spec(?): http://dev.w3.org/2006/webapi/FileAPI/ http://w3c.github.io/filesystem-api/Overview.html
MXR: FileHandle, LockedFile, FileRequest
WikiMo: FileHandleAPI
Geolocation API {{domxref("NavigatorGeolocation")}} (incl. methods/properties)
{{domxref("Geolocation")}} (incl. methods/properties)
{{domxref("Position")}} (incl. methods/properties)
{{domxref("Coordinates")}} (incl. methods/properties)
{{domxref("PositionError")}} (incl. methods/properties)
{{domxref("PositionOptions")}} (incl. methods/properties)
Introductory article: Using geolocation

Tag: {{Tag("Geolocation API")}}
  done Editorial review complete.

Spec: http://www.w3.org/TR/geolocation-API/

Maybe add basic examples?
Network Information API {{domxref("NetworkInformation.connection")}}
{{domxref("NetworkInformation")}}
Introductory article: Network Information

Tag: {{Tag("Network Information")}}

{{bug(677166)}} {{bug(713199)}}
{{bug(960426)}}
 

done Spec: http://w3c.github.io/netinfo/
MXR: Connection
Notification API {{domxref("Notification")}}
Introductory article: Using Web Notifications

Tag: {{Tag("Notifications")}}
{{bug(782211)}} done Spec: http://www.w3.org/TR/notifications/ (W3C draft, WHATWG draft)
MXR: Notification
Pointer Lock API {{domxref("Element.requestPointerLock()")}}
{{domxref("Document.pointerLockElement")}}
{{domxref("Document.exitPointerLock()")}}
{{domxref("MouseEvent")}}
{{domxref("MouseEvent.movementX")}}
{{domxref("MouseEvent.movementY")}}
Introductory article: Pointer Lock API

Tag: {{Tag("mouse lock")}}
 
{{bug(633602)}} done Spec: http://www.w3.org/TR/pointerlock/ (the draft is more accurate)
Proximity Events {{domxref("DeviceProximityEvent")}}
{{domxref("UserProximityEvent")}}
{{domxref("window.ondeviceproximity")}}
{{domxref("window.onuserproximity")}}
{{event("deviceproximity")}} event
{{event("userproximity")}} event
Introductory article: Proximity API

Tag: {{Tag("Proximity")}}
{{bug(738131)}} done Still needs some review here and there but it shouldn't be really troublesome.

Spec: http://www.w3.org/TR/proximity/ (the draft is more accurate)
Screen Orientation {{domxref("Screen.orientation")}}
{{domxref("Screen.lockOrientation()")}}
{{domxref("Screen.unlockOrientation()")}}
{{domxref("Screen.onorientationchange")}}
{{event("orientationchange")}} event
Introductory article: Managing screen orientation

Tag: {{Tag("Screen Orientation")}}
{{bug(720794)}}
{{bug(740188)}}
{{bug(673922)}}
done Spec: http://www.w3.org/TR/screen-orientation/
MXR: Screen
WikiMo: ScreenOrientation
Simple Push Notification API {{domxref("window.navigator.push")}}
{{domxref("PushManager")}}
Introductory article: Simple Push API

Tag: {{Tag("Simple Push API")}}
{{bug(831816)}}
{{bug(822712)}}
---
See also :
{{bug(747907)}}
{{bug(763198)}}
done Simpler push API for B2G.

It seams it completely replace the original Push API (see {{bug(776501)}})

Spec: https://dvcs.w3.org/hg/push/raw-file/default/index.html
WikiMo: SimplePush
URL API {{domxref("URL")}}
{{domxref("URL.URL", "URL()")}}
{{domxref("URL.createObjectURL()")}}
{{domxref("URL.revokeObjectURL()")}}
{{domxref("URLUtils")}}
{{domxref("URLUtils.protocol")}}
{{domxref("URLUtils.host")}}
{{domxref("URLUtils.hostname")}}
{{domxref("URLUtils.port")}}
{{domxref("URLUtils.pathname")}}
{{domxref("URLUtils.search")}}
{{domxref("URLUtils.hash")}}
{{domxref("URLUtils.username")}}
{{domxref("URLUtils.password")}}
{{domxref("URLUtils.origin")}}
{{domxref("URLUtils.toString()")}}
{{domxref("URLUtilsReadOnly")}}
{{domxref("URLUtilsReadOnly.protocol")}}
{{domxref("URLUtilsReadOnly.host")}}
{{domxref("URLUtilsReadOnly.hostname")}}
{{domxref("URLUtilsReadOnly.port")}}
{{domxref("URLUtilsReadOnly.pathname")}}
{{domxref("URLUtilsReadOnly.search")}}
{{domxref("URLUtilsReadOnly.hash")}}
{{domxref("URLUtilsReadOnly.toString()")}}
{{domxref("Location")}} (adaptation)
{{domxref("WorkerLocation")}} (adaptation)
{{domxref("HTMLAnchorElement")}} (adaptation)
{{domxref("HTMLAreaElement")}} (adaptation)
{{domxref("URLQuery")}} <--- not yet landed!!
Introductory article: none, pretty obvious

Tag: {{Tag("URL API")}}
{{bug(813253)}}
{{bug(887364)}}
{{bug(828261)}}
{{bug(839912)}}
{{bug(887836)}} (URLQuery)
done Spec: http://url.spec.whatwg.org/
Vibration API {{domxref("Navigator.vibrate()")}}
Introductory article: Vibration

Tag: {{Tag("Vibration")}}
{{bug(679966)}} done Spec: http://www.w3.org/TR/vibration/
Web activities {{domxref("MozActivity")}}
{{domxref("MozActivityOptions")}}
{{domxref("MozActivityRequestHandler")}}
{{domxref("window.navigator.mozSetMessageHandler()")}}
{{domxref("window.navigator.mozHasPendingMessage()")}}
Introductory article: Web Activities

Tag: {{Tag("Web Activities")}}

Postponed API:
{{domxref("MozActivityHandlerDescription")}}
{{domxref("window.navigator.mozRegisterActivityHandler()")}}
{{domxref("window.navigator.mozUnregisterActivityHandler()")}}
{{domxref("window.navigator.mozIsActivityHandlerRegistered()")}}
{{bug(715814)}}, {{bug(776027)}} for Android

Si also {{bug(755245)}}
done Technical review performed by Mounir Lamouri
Needs editorial review

Discuss the API with Vivien.

MXR: Activity, ActivityOptions, ActivityHandlerDescription, ActivityRequestHandler, NavigatorActivities, NavigatorSystemMessages
WikiMo: WebActivities

Started some app pair. It doesn't work (on FirefoxOS simulator), don't know why exactly. Asked for some help. Not conclusive yet
WebFM API {{domxref("window.navigator.mozFMRadio","navigator.mozFMRadio")}}
{{domxref("FMRadio")}}
Introductory article: WebFM API

Tag: {{Tag("WebFM")}}
{{bug(749053)}}
{{bug(779500)}}
done The events name still need to be documented but as they have nothing special it's not a high priority.

MXR: FMRadio
WebPayment {{domxref("window.navigator.mozPay()","navigator.mozPay()")}}
Introductary article: In-app payment

Tag: {{Tag("Web Payment")}}
{{bug(767818)}} done Maybe we could write something on How to sign a JWT server side.

WikiMo: WebPayment

APIs Privilegiadas

Nome da API Pontos de Entrada Erros Estado do documento Notas
Browser API Introductory article: Using the Browser API

Extentions to iframe:
{{domxref("HTMLIFrameElement.reload")}}
{{domxref("HTMLIFrameElement.stop")}}
{{domxref("HTMLIFrameElement.getCanGoBack")}}
{{domxref("HTMLIFrameElement.goBack")}}
{{domxref("HTMLIFrameElement.getCanGoForward")}}
{{domxref("HTMLIFrameElement.goForward")}}
{{domxref("HTMLIFrameElement.setVisible")}}
{{domxref("HTMLIFrameElement.getVisible")}}
{{domxref("HTMLIFrameElement.purgeHistory")}}
{{domxref("HTMLIFrameElement.sendMouseEvent")}}
{{domxref("HTMLIFrameElement.sendTouchEvent")}}
{{domxref("HTMLIFrameElement.addNextPaintListener")}}
{{domxref("HTMLIFrameElement.removeNextPaintListener")}}
{{domxref("HTMLIFrameElement.getScreenshot")}}

Events
{{event("mozbrowserasyncscroll")}}
{{event("mozbrowserclose")}}
{{event("mozbrowsercontextmenu")}}
{{event("mozbrowsererror")}}
{{event("mozbrowsericonchange")}}
{{event("mozbrowserloadend")}}
{{event("mozbrowserloadstart")}}
{{event("mozbrowserlocationchange")}}
{{event("mozbrowseropenwindow")}}
{{event("mozbrowsersecuritychange")}}
{{event("mozbrowsershowmodalprompt")}}
{{event("mozbrowsertitlechange")}}
{{event("mozbrowserusernameandpasswordrequired")}}

Tag: {{Tag("Browser")}}
{{bug(693515)}} Done Still need editorial and technical reviews

WikiMo: BrowserAPI
Contacts API {{domxref("window.navigator.mozContacts")}}
{{domxref("mozContact")}}
{{domxref("ContactManager")}}
{{domxref("MozContactChangeEvent")}}
Introductory article: Contacts API

Tag: {{Tag("Contact")}}
{{bug(674720)}} done

Needs a quick technical review

Spec: http://www.w3.org/TR/contacts-manager-api/
MXR: ContactManager, ContactProperties, ContactChangeEvent
WikiMo: ContactsAPI

Also see the intern presentation on Mozilla Air.

Device Storage API {{domxref("window.navigator.getDeviceStorages()","navigator.getDeviceStorages()")}}
{{domxref("window.navigator.getDeviceStorage()","navigator.getDeviceStorage()")}}
{{domxref("DeviceStorage")}}
{{domxref("DeviceStorageChangeEvent")}}
Introductory article: Device Storage

Tag: {{Tag("Device Storage")}}
{{bug(717103)}} Done {{domxref("window.navigator.getDeviceStorages()","getDeviceStorages")}} needs some investigation but it doesn't look urgente.

Technical review asked to Doug Turner.

MXR: DeviceStorage
WikiMo: DeviceStorageAPI
TCP Socket API {{domxref("window.navigator.mozTCPSocket","navigator.mozTCPSocket")}}
{{domxref("TCPSocket")}}
{{domxref("TCPServerSocket")}}
Introductory article: TCP Socket API

Tag: {{Tag("TCP Socket")}}
(FxOS 1.0)
{{bug(733573)}}
------------
(FxOS 1.2)
{{bug(797561)}}
{{bug(784816)}}
done Still needs review.

MXR: TCPSocket

APIs Certificadas

Nome da API Pontos de Entrada Erros Estado do documento Notas
Camera API {{domxref("window.navigator.mozCameras","navigator.mozCameras")}}
{{domxref("CameraManager")}}
{{domxref("CameraControl")}}
{{domxref("CameraCapabilities")}}

Tag: {{Tag("camera")}}
  done Tech review perform by Mike Habicher

Properties need an editorial review

Maybe needs an introductory article.

ML: Discussion thread
MXR: CameraManager
Idle API {{domxref("window.navigator.addIdleObserver","navigator.addIdleObserver")}}
{{domxref("window.navigator.removeIdleObserver","navigator.removeIdleObserver")}}
Introductory article: Idle API

Tag: {{Tag("Idle")}}
{{bug(715041)}} done Needs editorial review.

Spec: Not yet (part of sysapps)
WikiMo: IdleAPI
Network Stats API {{domxref("window.navigator.mozNetworkStats","navigator.mozNetworkStats")}}
{{domxref("MozNetworkStats")}}
{{domxref("MozNetworkStatsData")}}
{{domxref("MozNetworkStatsManager")}}
Introductory article: Network stats

Tag: {{Tag("Network Stats")}}
{{bug(746069)}} done MXR: NetworkStatsNetworkStatsManager
Permissions API {{domxref("window.navigator.mozPermissionSettings", "navigator.mozPermissionSettings")}}
{{domxref("PermissionSettings")}}
Introductory article: Permissions API
 
{{bug(707625)}}
{{bug(770731)}}
done MXR: PermissionSettings
Power Management API {{domxref("window.navigator.mozPower","navigator.mozPower")}}
{{domxref("PowerManager")}}
{{domxref("window.navigator.requestWakeLock","navigator.requestWakeLock")}}
Introductory article: Power Management

Tag: {{Tag("Power Management")}}
{{bug(708964)}} done Tech review perform by Justin Lebar.

Needs an editorial review

MXR: PowerManager
WikiMo: PowerManagementAPI
Settings API {{domxref("window.navigator.mozSettings","navigator.mozSettings")}}
{{domxref("SettingsManager")}}
{{domxref("SettingsLock")}}
{{domxref("MozSettingsEvent")}}
Introductory article: Settings API

Tag: {{Tag("Settings")}}
{{bug(678695)}} done Tech review perform by Gregor Wagner

Needs editorial review

MXR: SettingsManager
WikiMo: SettingsAPI
Time/Clock API {{domxref("window.navigator.mozTime","navigator.mozTime")}}
{{domxref("MozTimeManager")}}
{{domxref("window.onmoztimechange")}}
{{event("moztimechange")}} event
Introductory article: Time and Clock

Tag: {{Tag("Time")}}
{{bug(714357)}}, {{bug(714358)}} (notification upon time change) done The {{event("moztimechange")}} event still need to be documented but as it has nothing special it's not a high priority.

MXR: TimeManager
WebBluetooth {{domxref("window.navigator.mozBluetooth")}}
{{domxref("BluetoothManager")}}
{{domxref("BluetoothAdapter")}}
{{domxref("BluetoothDevice")}}
{{domxref("BluetoothDeviceEvent")}}
{{domxref("BluetoothStatusChangedEvent")}}
Introductory article: WebBluetooth

Tag: {{Tag("Web Bluetooth")}}
{{bug(674737)}} Done Technical review ask to Eric Chou

The introductory article only conver pairing, therefor it serously need to be improved. However, the API should be rework for Firefox 1.4 so maybe it is wise to delay until that.

MXR: bluetooth
WikiMo: WebBluetooth
WebSMS {{domxref("window.navigator.mozMobileMessage","navigator.mozMobileMessage")}}
{{domxref("MozSmsMessage")}}
{{domxref("MozSmsEvent")}}
{{domxref("MozSmsFilter")}}
{{domxref("MozSmsSegmentInfo")}}
{{domxref("MozMobileMessageManager")}}
{{domxref("MozMmsMessage")}}
{{domxref("MozMmsEvent")}}
{{domxref("MozMobileMessageThread")}}
Introductory article: WebSMS

Deprecated:
{{domxref("window.navigator.mozSms","navigator.mozSms")}}
{{domxref("MozSmsManager")}}

Tag: {{Tag("WebSMS")}}
{{bug(674725)}}
---
{{bug(903403)}}
Done Spec: Messaging API (Editor's draft)
WikiMo: WebSMS
WebTelephony {{domxref("window.navigator.mozTelephony","navigator.mozTelephony")}}
{{domxref("Telephony")}}
{{domxref("TelephonyCall")}}
{{domxref("CallEvent")}}
Introductory article: WebTelephony, introduction to WebTelephony and Using the Telephony API

Tag: {{Tag("Telephony")}}
{{bug(674726)}} done The Introduction to WebTelephony and Using the Telephony API articles need to be seriously reworked.

WikiMo: WebTelephony
WiFi Information API {{domxref("window.navigator.mozWifiManager","navigator.mozWifiManager")}}
{{domxref("WifiManager")}}
{{domxref("MozWifiConnectionInfoEvent")}}
{{domxref("MozWifiStatusChangeEvent")}}
Introductory article: Wifi Information API

Tag: {{Tag("WiFi")}}?
{{bug(717123)}}
{{bug(864932)}}
done MXR: dom/wifi

APIs Descontinuadas

Nome da API Pontos de Entrada Erros Estado do documento Notas
Archive API   {{bug(772434)}} none Discuss the API with Mounir Lamouri: this API is not active by default in any build and there is discussion to figure if it must be kept or not.

MXR: ArchiveReader, ArchiveRequest, Tests
WikiMo: ArchiveAPI

Resumo do estado do documento

{{DocStatusOverview("API")}}

Consulte também

Etiquetas do documento e contribuidores

Contribuidores para esta página: wbamberg, mansil, albertocastro, fscholz
Última atualização por: wbamberg,