Web APIs
In addition to its own API interfaces, the extension runtime supports a limited set of APIs from the Web APIs set of living standards.
Encoding API
The Encoding API is available to allow for easy encoding and decoding of data to and from specific text encodings.
The following interfaces are available:
Fetch API
The Fetch API is available to allow for dispatching asynchronous HTTP(s) requests and receiving responses using Promise
objects.
The following interfaces are available:
Streams API
The Streams API is available to support readable and writable data streams that communicate both over the network (used in the Fetch API) as well as between processes (used in the Process API).
The following interfaces are available:
- ByteLengthQueuingStrategy
- CountQueuingStrategy
- ReadableStream
- ReadableStreamDefaultController
- ReadableStreamDefaultReader
WindowOrWorkerGlobalScope
The global object of the extension runtime implements some of the WindowOrWorkerGlobalScope mixin from the HTML living spec.
The following interfaces are available: