This API is available on Firefox OS for internal applications only.

The onready property of the Telephony interface specifies an event listener to receive ready events. These events occur when the telephony object is initialized.

This was implemented in Firefox OS 2.1, but obsoleted by the promise-based Telephony.ready property in Firefox OS 2.2.


myTelephony.onready = function() { ... };

These events are of type CallEvent.


// Telephony object
var tel = navigator.mozTelephony;

tel.onready = function() {
  // Do something now telephony is initialized


Specification Status Comment
Web Telephony Draft Draft

Browser compatibility

For obvious reasons, support is primarily expected on mobile browsers.

Supported in Firefox OS 2.1.

This property was obsoleted by the Telephony.ready property in Firefox OS 2.2.

See also