Results 861 - 880 of 885

CameraManager.getListOfCameras()

This method is used to get an Array of identifiers of all the cameras available on the device.
API B2G camera Camera Firefox OS Graphics JavaScript Method Reference Référence WebAPI

PromiseRejectionEvent.promise

The PromiseRejectionEvent.promise read-only property indicates the JavaScript Promise which has been rejected. You can examine the event's PromiseRejectionEvent.reason property to learn why the promise was rejected.
API events Events HTML DOM JavaScript Promise PromiseRejectionEvent Promises Property Reference

PromiseRejectionEvent.reason

The PromiseRejectionEvent.reason read-only property is any JavaScript value or Object which provides the reason passed into Promise.reject(). This in theory provides information about why the promise was rejected.
API Events events HTML DOM JavaScript PromiseRejectionEvent Promises Property reason Reference

Using the Push API

The W3C Push API offers some exciting new functionality for developers to use in web applications: this article provides an introduction to getting Push notifications setup and running, with a simple demo.
API Experimental Guide JavaScript Push Push API Service Workers web push

Base64 encoding and decoding

Base64 is a group of similar binary-to-text encoding schemes that represent binary data in an ASCII string format by translating it into a radix-64 representation. The term Base64 originates from a specific MIME content transfer encoding.
Advanced atob() Base64 btoa() JavaScript Typed Arrays Unicode Problem URI url URL

WindowEventHandlers.onrejectionhandled

The Window.onrejectionhandled property is an event handler for processing rejectionhandled events, which are raised when Promises are rejected.
API Event Handlers events Events HTML DOM JavaScript onrejectionhandled Promises Property Reference WindowEventHandlers

WindowTimers.setInterval()

Repeatedly calls a function or executes a code snippet, with a fixed time delay between each call. Returns an intervalID.
API DOM Gecko Intervals JavaScript timers MakeBrowserAgnostic Method NeedsMarkupWork setInterval Timers WindowTimers

WindowTimers.setTimeout()

Sets a timer which executes a function or specified piece of code once after the timer expires.
API HTML DOM Intervals JavaScript timers MakeBrowserAgnostic Method NeedsCompatTable NeedsMarkupWork NeedsUpdate Reference setTimeout Timers WindowTimers

Base64 encoding and decoding

Base64 is a group of similar binary-to-text encoding schemes that represent binary data in an ASCII string format by translating it into a radix-64 representation. The term Base64 originates from a specific MIME content transfer encoding.
Advanced atob() Base64 btoa() JavaScript Typed Arrays Unicode Problem URI url URL