d/webworker/typescript library

Classes

$ModuleWebAssembly
AbortController
A controller object that allows you to abort one or more DOM requests as and when desired.
AbortSignal
A signal object that allows you to communicate with a DOM request (such as a Fetch) and abort it if required via an AbortController object.
AbstractWorker
AddEventListenerOptions
AesCbcParams
AesCtrParams
AesDerivedKeyParams
AesGcmParams
AesKeyAlgorithm
AesKeyGenParams
Algorithm
ANGLEInstancedArrays
The ANGLE_instanced_arrays extension is part of the WebGL API and allows to draw the same object, or groups of similar objects multiple times, if they share the same vertex data, primitive count and type.
AnimationFrameProvider
AudioConfiguration
AvcEncoderConfig
Blob
A file-like object of immutable, raw data. Blobs represent data that isn't necessarily in a JavaScript-native format. The File interface is based on Blob, inheriting blob functionality and expanding it to support files on the user's system.
BlobPropertyBag
Body
BroadcastChannel
MDN Reference
ByteLengthQueuingStrategy
This Streams API interface provides a built-in byte length queuing strategy that can be used when constructing streams.
Cache
Provides a storage mechanism for Request / Response object pairs that are cached, for example as part of the ServiceWorker life cycle. Note that the Cache interface is exposed to windowed scopes as well as workers. You don't have to use it in conjunction with service workers, even though it is defined in the service worker spec. Available only in secure contexts.
CacheQueryOptions
CacheStorage
The storage for Cache objects. Available only in secure contexts.
CanvasCompositing
CanvasDrawImage
CanvasDrawPath
CanvasFillStrokeStyles
CanvasFilters
CanvasGradient
An opaque object describing a gradient. It is returned by the methods CanvasRenderingContext2D.createLinearGradient() or CanvasRenderingContext2D.createRadialGradient().
CanvasImageData
CanvasImageSmoothing
CanvasPath
CanvasPathDrawingStyles
CanvasPattern
An opaque object describing a pattern, based on an image, a canvas, or a video, created by the CanvasRenderingContext2D.createPattern() method.
CanvasRect
CanvasShadowStyles
CanvasState
CanvasText
CanvasTextDrawingStyles
CanvasTransform
Client
The Client interface represents an executable context such as a Worker, or a SharedWorker. Window clients are represented by the more-specific WindowClient. You can get Client/WindowClient objects from methods such as Clients.matchAll() and Clients.get().
ClientQueryOptions
Clients
Provides access to Client objects. Access it via self.clients within a service worker.
CloseEvent
A CloseEvent is sent to clients using WebSockets when the connection is closed. This is delivered to the listener indicated by the WebSocket object's onclose attribute.
CloseEventInit
CompileError
CompressionStream
MDN Reference
Console
MDN Reference
CountQueuingStrategy
This Streams API interface provides a built-in byte length queuing strategy that can be used when constructing streams.
Crypto
Basic cryptography features available in the current context. It allows access to a cryptographically strong random number generator and to cryptographic primitives.
CryptoKey
The CryptoKey dictionary of the Web Crypto API represents a cryptographic key. Available only in secure contexts.
CryptoKeyPair
CSSImageValue
MDN Reference
CSSKeywordValue
MDN Reference
CSSMathClamp
CSSMathInvert
MDN Reference
CSSMathMax
MDN Reference
CSSMathMin
MDN Reference
CSSMathNegate
MDN Reference
CSSMathProduct
MDN Reference
CSSMathSum
MDN Reference
CSSMathValue
MDN Reference
CSSMatrixComponent
MDN Reference
CSSMatrixComponentOptions
CSSNumericArray
MDN Reference
CSSNumericType
CSSNumericValue
MDN Reference
CSSPerspective
MDN Reference
CSSRotate
MDN Reference
CSSScale
MDN Reference
CSSSkew
MDN Reference
CSSSkewX
MDN Reference
CSSSkewY
MDN Reference
CSSStyleValue
MDN Reference
CSSTransformComponent
MDN Reference
CSSTransformValue
MDN Reference
CSSTranslate
MDN Reference
CSSUnitValue
MDN Reference
CSSUnparsedValue
MDN Reference
CSSVariableReferenceValue
MDN Reference
CustomEvent<T>
MDN Reference
CustomEventInit<T>
DecompressionStream
MDN Reference
DedicatedWorkerGlobalScope
(the Worker global scope) is accessible through the self keyword. Some additional global functions, namespaces objects, and constructors, not typically associated with the worker global scope, but available on it, are listed in the JavaScript Reference. See also: Functions available to workers.
DOMException
An abnormal event (called an exception) which occurs as a result of calling a method or accessing a property of a web API.
DOMMatrix
MDN Reference
DOMMatrix2DInit
DOMMatrixInit
DOMMatrixReadOnly
MDN Reference
DOMPoint
MDN Reference
DOMPointInit
DOMPointReadOnly
MDN Reference
DOMQuad
MDN Reference
DOMQuadInit
DOMRect
MDN Reference
DOMRectInit
DOMRectReadOnly
MDN Reference
DOMStringList
A type returned by some APIs which contains a list of DOMString (strings).
EcdhKeyDeriveParams
EcdsaParams
EcKeyGenParams
EcKeyImportParams
EncodedVideoChunk
MDN Reference
EncodedVideoChunkInit
EncodedVideoChunkMetadata
EncodedVideoChunkOutputCallback
ErrorEvent
Events providing information related to errors in scripts or in files.
ErrorEventInit
Event
An event which takes place in the DOM.
EventInit
EventListener
EventListenerObject
EventListenerOptions
EventSource
MDN Reference
EventSourceInit
EventTarget
EventTarget is a DOM interface implemented by objects that can receive events and may have listeners for them.
EXTBlendMinmax
MDN Reference
EXTColorBufferFloat
MDN Reference
EXTColorBufferHalfFloat
MDN Reference
ExtendableEvent
Extends the lifetime of the install and activate events dispatched on the global scope as part of the service worker lifecycle. This ensures that any functional events (like FetchEvent) are not dispatched until it upgrades database schemas and deletes the outdated cache entries.
ExtendableEventInit
ExtendableMessageEvent
This ServiceWorker API interface represents the event object of a message event fired on a service worker (when a channel message is received on the ServiceWorkerGlobalScope from another context) — extends the lifetime of such events.
ExtendableMessageEventInit
EXTFloatBlend
MDN Reference
EXTFragDepth
The EXT_frag_depth extension is part of the WebGL API and enables to set a depth value of a fragment from within the fragment shader.
EXTShaderTextureLod
MDN Reference
EXTSRGB
MDN Reference
EXTTextureCompressionBptc
MDN Reference
EXTTextureCompressionRgtc
MDN Reference
EXTTextureFilterAnisotropic
The EXT_texture_filter_anisotropic extension is part of the WebGL API and exposes two constants for anisotropic filtering (AF).
EXTTextureNorm16
MDN Reference
FetchEvent
This is the event type for fetch events dispatched on the service worker global scope. It contains information about the fetch, including the request and how the receiver will treat the response. It provides the event.respondWith() method, which allows us to provide a response to this fetch.
FetchEventInit
File
Provides information about files and allows JavaScript in a web page to access their content.
FileList
An object of this type is returned by the files property of the HTML element; this lets you access the list of files selected with the element. It's also used for a list of files dropped into web content when using the drag and drop API; see the DataTransfer object for details on this usage.
FilePropertyBag
FileReader
Lets web applications asynchronously read the contents of files (or raw data buffers) stored on the user's computer, using File or Blob objects to specify the file or data to read.
FileReaderSync
Allows to read File or Blob objects in a synchronous way.
FileSystemCreateWritableOptions
FileSystemDirectoryHandle
Available only in secure contexts.
FileSystemFileHandle
Available only in secure contexts.
FileSystemGetDirectoryOptions
FileSystemGetFileOptions
FileSystemHandle
Available only in secure contexts.
FileSystemReadWriteOptions
FileSystemRemoveOptions
FileSystemSyncAccessHandle
Available only in secure contexts.
FileSystemWritableFileStream
Available only in secure contexts.
FontFace
MDN Reference
FontFaceDescriptors
FontFaceSet
MDN Reference
FontFaceSetLoadEvent
MDN Reference
FontFaceSetLoadEventInit
FontFaceSource
FormData
Provides a way to easily construct a set of key/value pairs representing form fields and their values, which can then be easily sent using the XMLHttpRequest.send() method. It uses the same format a form would use if the encoding type were set to "multipart/form-data".
FrameRequestCallback
GenericTransformStream
GetNotificationOptions
Global<T extends ValueType>
MDN Reference
GlobalDescriptor<T extends ValueType>
Headers
This Fetch API interface allows you to perform various actions on HTTP request and response headers. These actions include retrieving, setting, adding to, and removing. A Headers object has an associated header list, which is initially empty and consists of zero or more name and value pairs.  You can add to this using methods like append() (see Examples.) In all methods of this interface, header names are matched by case-insensitive byte sequence.
HkdfParams
HmacImportParams
HmacKeyGenParams
IDBCursor
This IndexedDB API interface represents a cursor for traversing or iterating over multiple records in a database.
IDBCursorWithValue
This IndexedDB API interface represents a cursor for traversing or iterating over multiple records in a database. It is the same as the IDBCursor, except that it includes the value property.
IDBDatabase
This IndexedDB API interface provides a connection to a database; you can use an IDBDatabase object to open a transaction on your database then create, manipulate, and delete objects (data) in that database. The interface provides the only way to get and manage versions of the database.
IDBDatabaseInfo
IDBFactory
In the following code snippet, we make a request to open a database, and include handlers for the success and error cases. For a full working example, see our To-do Notifications app (view example live.)
IDBIndex
IDBIndex interface of the IndexedDB API provides asynchronous access to an index in a database. An index is a kind of object store for looking up records in another object store, called the referenced object store. You use this interface to retrieve data.
IDBIndexParameters
IDBKeyRange
A key range can be a single value or a range with upper and lower bounds or endpoints. If the key range has both upper and lower bounds, then it is bounded; if it has no bounds, it is unbounded. A bounded key range can either be open (the endpoints are excluded) or closed (the endpoints are included). To retrieve all keys within a certain range, you can use the following code constructs:
IDBObjectStore
This example shows a variety of different uses of object stores, from updating the data structure with IDBObjectStore.createIndex inside an onupgradeneeded function, to adding a new item to our object store with IDBObjectStore.add. For a full working example, see our To-do Notifications app (view example live.)
IDBObjectStoreParameters
IDBOpenDBRequest
Also inherits methods from its parents IDBRequest and EventTarget.
IDBRequest<T>
The request object does not initially contain any information about the result of the operation, but once information becomes available, an event is fired on the request, and the information becomes available through the properties of the IDBRequest instance.
IDBTransaction
MDN Reference
IDBTransactionOptions
IDBVersionChangeEvent
This IndexedDB API interface indicates that the version of the database has changed, as the result of an IDBOpenDBRequest.onupgradeneeded event handler function.
IDBVersionChangeEventInit
IInline122
IInline124
ImageBitmap
MDN Reference
ImageBitmapOptions
ImageBitmapRenderingContext
MDN Reference
ImageBitmapRenderingContextSettings
ImageData
The underlying pixel data of an area of a
ImageDataSettings
ImageEncodeOptions
ImportMeta
Instance
MDN Reference
JsonWebKey
KeyAlgorithm
KHRParallelShaderCompile
MDN Reference
LinkError
Lock
Available only in secure contexts.
LockGrantedCallback
LockInfo
LockManager
Available only in secure contexts.
LockManagerSnapshot
LockOptions
MediaCapabilities
MDN Reference
MediaCapabilitiesDecodingInfo
MediaCapabilitiesEncodingInfo
MediaCapabilitiesInfo
MediaConfiguration
MediaDecodingConfiguration
MediaEncodingConfiguration
Memory
MDN Reference
MemoryDescriptor
MessageChannel
This Channel Messaging API interface allows us to create a new message channel and send data through it via its two MessagePort properties.
MessageEvent<T>
A message received by a target object.
MessageEventInit<T>
MessagePort
This Channel Messaging API interface represents one of the two ports of a MessageChannel, allowing messages to be sent from one port and listening out for them arriving at the other.
Module
MDN Reference
ModuleExportDescriptor
ModuleImportDescriptor
MultiCacheQueryOptions
Available only in secure contexts.
Available only in secure contexts.
Available only in secure contexts.
Available only in secure contexts.
Notification
This Notifications API interface is used to configure and display desktop notifications to the user.
NotificationAction
NotificationEvent
The parameter passed into the onnotificationclick handler, the NotificationEvent interface represents a notification click event that is dispatched on the ServiceWorkerGlobalScope of a ServiceWorker.
NotificationEventInit
NotificationOptions
OESDrawBuffersIndexed
MDN Reference
OESElementIndexUint
The OES_element_index_uint extension is part of the WebGL API and adds support for gl.UNSIGNED_INT types to WebGLRenderingContext.drawElements().
OESFboRenderMipmap
MDN Reference
OESStandardDerivatives
The OES_standard_derivatives extension is part of the WebGL API and adds the GLSL derivative functions dFdx, dFdy, and fwidth.
OESTextureFloat
The OES_texture_float extension is part of the WebGL API and exposes floating-point pixel types for textures.
OESTextureFloatLinear
The OES_texture_float_linear extension is part of the WebGL API and allows linear filtering with floating-point pixel types for textures.
OESTextureHalfFloat
The OES_texture_half_float extension is part of the WebGL API and adds texture formats with 16- (aka half float) and 32-bit floating-point components.
OESTextureHalfFloatLinear
The OES_texture_half_float_linear extension is part of the WebGL API and allows linear filtering with half floating-point pixel types for textures.
OESVertexArrayObject
MDN Reference
OffscreenCanvas
MDN Reference
OffscreenCanvasRenderingContext2D
MDN Reference
OnErrorEventHandlerNonNull
OVRMultiview2
MDN Reference
Path2D
This Canvas 2D API interface is used to declare a path that can then be used on a CanvasRenderingContext2D object. The path methods of the CanvasRenderingContext2D interface are also present on this interface, which gives you the convenience of being able to retain and replay your path whenever desired.
Pbkdf2Params
Performance
Provides access to performance-related information for the current page. It's part of the High Resolution Time API, but is enhanced by the Performance Timeline API, the Navigation Timing API, the User Timing API, and the Resource Timing API.
PerformanceEntry
Encapsulates a single performance metric that is part of the performance timeline. A performance entry can be directly created by making a performance mark or measure (for example by calling the mark() method) at an explicit point in an application. Performance entries are also created in indirect ways such as loading a resource (such as an image).
PerformanceMark
PerformanceMark is an abstract interface for PerformanceEntry objects with an entryType of "mark". Entries of this type are created by calling performance.mark() to add a named DOMHighResTimeStamp (the mark) to the browser's performance timeline.
PerformanceMarkOptions
PerformanceMeasure
PerformanceMeasure is an abstract interface for PerformanceEntry objects with an entryType of "measure". Entries of this type are created by calling performance.measure() to add a named DOMHighResTimeStamp (the measure) between two marks to the browser's performance timeline.
PerformanceMeasureOptions
PerformanceObserver
MDN Reference
PerformanceObserverCallback
PerformanceObserverEntryList
MDN Reference
PerformanceObserverInit
PerformanceResourceTiming
Enables retrieval and analysis of detailed network timing data regarding the loading of an application's resources. An application can use the timing metrics to determine, for example, the length of time it takes to fetch a specific resource, such as an XMLHttpRequest,
PerformanceServerTiming
MDN Reference
PermissionDescriptor
Permissions
MDN Reference
PermissionStatus
MDN Reference
PlaneLayout
ProgressEvent<T extends EventTarget>
Events measuring progress of an underlying process, like an HTTP request (for an XMLHttpRequest, or the loading of the underlying resource of an ,
ProgressEventInit
PromiseRejectionEvent
MDN Reference
PromiseRejectionEventInit
PushEvent
This Push API interface represents a push message that has been received. This event is sent to the global scope of a ServiceWorker. It contains the information sent from an application server to a PushSubscription. Available only in secure contexts.
PushEventInit
PushManager
This Push API interface provides a way to receive notifications from third-party servers as well as request URLs for push notifications. Available only in secure contexts.
PushMessageData
This Push API interface provides methods which let you retrieve the push data sent by a server in various formats. Available only in secure contexts.
PushSubscription
This Push API interface provides a subcription's URL endpoint and allows unsubscription from a push service. Available only in secure contexts.
PushSubscriptionJSON
PushSubscriptionOptions
Available only in secure contexts.
PushSubscriptionOptionsInit
QueuingStrategy<T>
QueuingStrategyInit
QueuingStrategySize<T>
ReadableByteStreamController
MDN Reference
ReadableStream<R>
This Streams API interface represents a readable stream of byte data. The Fetch API offers a concrete instance of a ReadableStream through the body property of a Response object.
ReadableStreamBYOBReader
MDN Reference
ReadableStreamBYOBRequest
MDN Reference
ReadableStreamDefaultController<R>
MDN Reference
ReadableStreamDefaultReader<R>
MDN Reference
ReadableStreamGenericReader
ReadableStreamGetReaderOptions
ReadableStreamReadDoneResult<T>
ReadableStreamReadResultCommon<T>
ReadableStreamReadValueResult<T>
ReadableWritablePair<R, W>
RegistrationOptions
Report
MDN Reference
ReportBody
MDN Reference
ReportingObserver
MDN Reference
ReportingObserverCallback
ReportingObserverOptions
Request
This Fetch API interface represents a resource request.
RequestInit
Response
This Fetch API interface represents the response to a request.
ResponseInit
RsaHashedImportParams
RsaHashedKeyGenParams
RsaKeyGenParams
RsaOaepParams
RsaOtherPrimesInfo
RsaPssParams
RTCEncodedAudioFrame
RTCEncodedAudioFrameMetadata
RTCEncodedVideoFrame
RTCEncodedVideoFrameMetadata
RuntimeError
SecurityPolicyViolationEvent
Inherits from Event, and represents the event object of an event sent on a document or worker when its content security policy is violated.
SecurityPolicyViolationEventInit
ServiceWorker
This ServiceWorker API interface provides a reference to a service worker. Multiple browsing contexts (e.g. pages, workers, etc.) can be associated with the same service worker, each through a unique ServiceWorker object. Available only in secure contexts.
ServiceWorkerContainer
The ServiceWorkerContainer interface of the ServiceWorker API provides an object representing the service worker as an overall unit in the network ecosystem, including facilities to register, unregister and update service workers, and access the state of service workers and their registrations. Available only in secure contexts.
ServiceWorkerGlobalScope
This ServiceWorker API interface represents the global execution context of a service worker.
ServiceWorkerRegistration
This ServiceWorker API interface represents the service worker registration. You register a service worker to control one or more pages that share the same origin. Available only in secure contexts.
SharedWorkerGlobalScope
MDN Reference
StorageEstimate
StorageManager
Available only in secure contexts.
StreamPipeOptions
StructuredSerializeOptions
StylePropertyMapReadOnly
MDN Reference
SubtleCrypto
This Web Crypto API interface provides a number of low-level cryptographic functions. It is accessed via the Crypto.subtle properties available in a window context (via Window.crypto). Available only in secure contexts.
Table
MDN Reference
TableDescriptor
TextDecodeOptions
TextDecoder
A decoder for a specific method, that is a specific character encoding, like utf-8, iso-8859-2, koi8, cp1261, gbk, etc. A decoder takes a stream of bytes as input and emits a stream of code points. For a more scalable, non-native library, see StringView – a C-like representation of strings based on typed arrays.
TextDecoderCommon
TextDecoderOptions
TextDecoderStream
MDN Reference
TextEncoder
TextEncoder takes a stream of code points as input and emits a stream of bytes. For a more scalable, non-native library, see StringView – a C-like representation of strings based on typed arrays.
TextEncoderCommon
TextEncoderEncodeIntoResult
TextEncoderStream
MDN Reference
TextMetrics
The dimensions of a piece of text in the canvas, as created by the CanvasRenderingContext2D.measureText() method.
Transformer<I, O>
TransformerFlushCallback<O>
TransformerStartCallback<O>
TransformerTransformCallback<I, O>
TransformStream<I, O>
MDN Reference
TransformStreamDefaultController<O>
MDN Reference
UnderlyingByteSource
UnderlyingDefaultSource<R>
UnderlyingSink<W>
UnderlyingSinkAbortCallback
UnderlyingSinkCloseCallback
UnderlyingSinkStartCallback
UnderlyingSinkWriteCallback<W>
UnderlyingSource<R>
UnderlyingSourceCancelCallback
UnderlyingSourcePullCallback<R>
UnderlyingSourceStartCallback<R>
Url
The URL interface represents an object providing static methods used for creating object URLs.
URLSearchParams
MDN Reference
ValueTypeMap
VideoColorSpace
MDN Reference
VideoColorSpaceInit
VideoConfiguration
VideoDecoder
Available only in secure contexts.
VideoDecoderConfig
VideoDecoderInit
VideoDecoderSupport
VideoEncoder
Available only in secure contexts.
VideoEncoderConfig
VideoEncoderEncodeOptions
VideoEncoderInit
VideoEncoderSupport
VideoFrame
MDN Reference
VideoFrameBufferInit
VideoFrameCopyToOptions
VideoFrameInit
VideoFrameOutputCallback
VoidFunction
WebAssemblyInstantiatedSource
WebCodecsErrorCallback
WebGL2RenderingContext
MDN Reference
WebGL2RenderingContextBase
WebGL2RenderingContextOverloads
WebGLActiveInfo
Part of the WebGL API and represents the information returned by calling the WebGLRenderingContext.getActiveAttrib() and WebGLRenderingContext.getActiveUniform() methods.
WebGLBuffer
Part of the WebGL API and represents an opaque buffer object storing data such as vertices or colors.
WEBGLColorBufferFloat
MDN Reference
WEBGLCompressedTextureAstc
MDN Reference
WEBGLCompressedTextureEtc
MDN Reference
WEBGLCompressedTextureEtc1
MDN Reference
WEBGLCompressedTexturePvrtc
MDN Reference
WEBGLCompressedTextureS3tc
The WEBGL_compressed_texture_s3tc extension is part of the WebGL API and exposes four S3TC compressed texture formats.
WEBGLCompressedTextureS3tcSrgb
MDN Reference
WebGLContextAttributes
WebGLContextEvent
The WebContextEvent interface is part of the WebGL API and is an interface for an event that is generated in response to a status change to the WebGL rendering context.
WebGLContextEventInit
WEBGLDebugRendererInfo
The WEBGL_debug_renderer_info extension is part of the WebGL API and exposes two constants with information about the graphics driver for debugging purposes.
WEBGLDebugShaders
MDN Reference
WEBGLDepthTexture
The WEBGL_depth_texture extension is part of the WebGL API and defines 2D depth and depth-stencil textures.
WEBGLDrawBuffers
MDN Reference
WebGLFramebuffer
Part of the WebGL API and represents a collection of buffers that serve as a rendering destination.
WEBGLLoseContext
MDN Reference
WEBGLMultiDraw
MDN Reference
WebGLProgram
The WebGLProgram is part of the WebGL API and is a combination of two compiled WebGLShaders consisting of a vertex shader and a fragment shader (both written in GLSL).
WebGLQuery
MDN Reference
WebGLRenderbuffer
Part of the WebGL API and represents a buffer that can contain an image, or can be source or target of an rendering operation.
WebGLRenderingContext
Provides an interface to the OpenGL ES 2.0 graphics rendering context for the drawing surface of an HTML
WebGLRenderingContextBase
WebGLRenderingContextOverloads
WebGLSampler
MDN Reference
WebGLShader
The WebGLShader is part of the WebGL API and can either be a vertex or a fragment shader. A WebGLProgram requires both types of shaders.
WebGLShaderPrecisionFormat
Part of the WebGL API and represents the information returned by calling the WebGLRenderingContext.getShaderPrecisionFormat() method.
WebGLSync
MDN Reference
WebGLTexture
Part of the WebGL API and represents an opaque texture object providing storage and state for texturing operations.
WebGLTransformFeedback
MDN Reference
WebGLUniformLocation
Part of the WebGL API and represents the location of a uniform variable in a shader program.
WebGLVertexArrayObject
MDN Reference
WebGLVertexArrayObjectOES
MDN Reference
WebSocket
Provides the API for creating and managing a WebSocket connection to a server, as well as for sending and receiving data on the connection.
WebTransport
Available only in secure contexts.
WebTransportBidirectionalStream
Available only in secure contexts.
WebTransportCloseInfo
WebTransportDatagramDuplexStream
Available only in secure contexts.
WebTransportError
Available only in secure contexts.
WebTransportErrorOptions
WebTransportHash
WebTransportOptions
WebTransportSendStreamOptions
WindowClient
This ServiceWorker API interface represents the scope of a service worker client that is a document in a browser context, controlled by an active worker. The service worker client independently selects and uses a service worker for its own loading and sub-resources.
WindowOrWorkerGlobalScope
Worker
This Web Workers API interface represents a background task that can be easily created and can send messages back to its creator. Creating a worker is as simple as calling the Worker() constructor and specifying a script to be run in the worker thread.
WorkerGlobalScope
This Web Workers API interface is an interface representing the scope of any worker. Workers have no browsing context; this scope contains the information usually conveyed by Window objects — in this case event handlers, the console or the associated WorkerNavigator object. Each WorkerGlobalScope has its own event loop.
WorkerLocation
The absolute location of the script executed by the Worker. Such an object is initialized for each worker and is available via the WorkerGlobalScope.location property obtained by calling self.location.
WorkerNavigator
A subset of the Navigator interface allowed to be accessed from a Worker. Such an object is initialized for each worker and is available via the WorkerGlobalScope.navigator property obtained by calling window.self.navigator.
WorkerOptions
WritableStream<W>
This Streams API interface provides a standard abstraction for writing streaming data to a destination, known as a sink. This object comes with built-in backpressure and queuing.
WritableStreamDefaultController
This Streams API interface represents a controller allowing control of a WritableStream's state. When constructing a WritableStream, the underlying sink is given a corresponding WritableStreamDefaultController instance to manipulate.
WritableStreamDefaultWriter<W>
This Streams API interface is the object returned by WritableStream.getWriter() and once created locks the < writer to the WritableStream ensuring that no other streams can write to the underlying sink.
WriteParams
XMLHttpRequest
Use XMLHttpRequest (XHR) objects to interact with servers. You can retrieve data from a URL without having to do a full page refresh. This enables a Web page to update just part of a page without disrupting what the user is doing.
XMLHttpRequestEventTarget
MDN Reference
XMLHttpRequestUpload
MDN Reference

Enums

AbortSignalEventMap<T$>
AbstractWorkerEventMap<T$ extends Event>
AlphaOptionOptions
AvcBitstreamFormatOptions
BinaryTypeOptions
BroadcastChannelEventMap<T$ extends Event>
CanvasDirectionOptions
CanvasFillRuleOptions
CanvasFontKerningOptions
CanvasFontStretchOptions
CanvasFontVariantCapsOptions
CanvasLineCapOptions
CanvasLineJoinOptions
CanvasTextAlignOptions
CanvasTextBaselineOptions
CanvasTextRenderingOptions
ClientTypesOptions
CodecStateOptions
ColorGamutOptions
ColorSpaceConversionOptions
CompressionFormatOptions
CSSMathOperatorOptions
CSSNumericBaseTypeOptions
DedicatedWorkerGlobalScopeEventMap<T$>
DocumentVisibilityStateOptions
EncodedVideoChunkTypeOptions
EndingTypeOptions
EventSourceEventMap<T$>
FileReaderEventMap<T$ extends Event>
FileSystemHandleKindOptions
FontDisplayOptions
FontFaceLoadStatusOptions
FontFaceSetEventMap<T$>
FontFaceSetLoadStatusOptions
FrameTypeOptions
GenerateKey
GlobalCompositeOperationOptions
HardwareAccelerationOptions
HdrMetadataTypeOptions
IDBCursorDirectionOptions
IDBDatabaseEventMap<T$>
IDBOpenDBRequestEventMap<T$>
IDBRequestEventMap<T$>
IDBRequestReadyStateOptions
IDBTransactionDurabilityOptions
IDBTransactionEventMap<T$>
IDBTransactionModeOptions
ImageOrientationOptions
ImageSmoothingQualityOptions
ImportExportKindOptions
KeyFormatOptions
KeyTypeOptions
KeyUsageOptions
LatencyModeOptions
LockModeOptions
MediaDecodingTypeOptions
MediaEncodingTypeOptions
MessagePortEventMap<T$ extends Event>
NotificationDirectionOptions
NotificationEventMap<T$>
NotificationPermissionOptions
OffscreenCanvasEventMap<T$>
OffscreenRenderingContextIdOptions
PerformanceEventMap<T$>
PermissionNameOptions
PermissionStateOptions
PermissionStatusEventMap<T$>
PredefinedColorSpaceOptions
PremultiplyAlphaOptions
PushEncryptionKeyNameOptions
ReferrerPolicyOptions
RequestCacheOptions
RequestCredentialsOptions
RequestDestinationOptions
RequestModeOptions
RequestRedirectOptions
ResizeQualityOptions
ResponseTypeOptions
RTCEncodedVideoFrameTypeOptions
SecurityPolicyViolationEventDispositionOptions
ServiceWorkerContainerEventMap<T$>
ServiceWorkerEventMap<T$>
ServiceWorkerGlobalScopeEventMap<T$>
ServiceWorkerRegistrationEventMap<T$>
ServiceWorkerStateOptions
ServiceWorkerUpdateViaCacheOptions
SharedWorkerGlobalScopeEventMap<T$>
TableKindOptions
TransferFunctionOptions
ValueTypeMapKeys
VideoColorPrimariesOptions
VideoDecoderEventMap<T$>
VideoEncoderBitrateModeOptions
VideoEncoderEventMap<T$>
VideoMatrixCoefficientsOptions
VideoPixelFormatOptions
VideoTransferCharacteristicsOptions
WebGLPowerPreferenceOptions
WebSocketEventMap<T$>
WebTransportCongestionControlOptions
WebTransportErrorSourceOptions
WorkerEventMap<T$ extends Event>
WorkerGlobalScopeEventMap<T$>
WorkerTypeOptions
WriteCommandTypeOptions
XMLHttpRequestEventMap<T$>
XMLHttpRequestEventTargetEventMap<T$ extends Event>
XMLHttpRequestResponseTypeOptions

Extensions

$ModuleWebAssembly$Typings on $ModuleWebAssembly
AbortController$Typings on AbortController
AbortSignal$Typings on AbortSignal
AbstractWorker$Typings on AbstractWorker
AddEventListenerOptions$Typings on AddEventListenerOptions
AesCbcParams$Typings on AesCbcParams
AesCtrParams$Typings on AesCtrParams
AesDerivedKeyParams$Typings on AesDerivedKeyParams
AesGcmParams$Typings on AesGcmParams
AesKeyAlgorithm$Typings on AesKeyAlgorithm
AesKeyGenParams$Typings on AesKeyGenParams
Algorithm$Typings on Algorithm
ANGLEInstancedArrays$Typings on ANGLEInstancedArrays
AnimationFrameProvider$Typings on AnimationFrameProvider
AudioConfiguration$Typings on AudioConfiguration
AvcEncoderConfig$Typings on AvcEncoderConfig
Blob$Typings on Blob
BlobPropertyBag$Typings on BlobPropertyBag
Body$Typings on Body
BroadcastChannel$Typings on BroadcastChannel
ByteLengthQueuingStrategy$Typings on ByteLengthQueuingStrategy
Cache$Typings on Cache
CacheQueryOptions$Typings on CacheQueryOptions
CacheStorage$Typings on CacheStorage
CanvasCompositing$Typings on CanvasCompositing
CanvasDrawImage$Typings on CanvasDrawImage
CanvasDrawPath$Typings on CanvasDrawPath
CanvasFillStrokeStyles$Typings on CanvasFillStrokeStyles
CanvasFilters$Typings on CanvasFilters
CanvasGradient$Typings on CanvasGradient
CanvasImageData$Typings on CanvasImageData
CanvasImageSmoothing$Typings on CanvasImageSmoothing
CanvasPath$Typings on CanvasPath
CanvasPathDrawingStyles$Typings on CanvasPathDrawingStyles
CanvasPattern$Typings on CanvasPattern
CanvasRect$Typings on CanvasRect
CanvasShadowStyles$Typings on CanvasShadowStyles
CanvasState$Typings on CanvasState
CanvasText$Typings on CanvasText
CanvasTextDrawingStyles$Typings on CanvasTextDrawingStyles
CanvasTransform$Typings on CanvasTransform
Client$Typings on Client
ClientQueryOptions$Typings on ClientQueryOptions
Clients$Typings on Clients
CloseEvent$Typings on CloseEvent
CloseEventInit$Typings on CloseEventInit
Console$Typings on Console
CountQueuingStrategy$Typings on CountQueuingStrategy
Crypto$Typings on Crypto
CryptoKey$Typings on CryptoKey
CryptoKeyPair$Typings on CryptoKeyPair
CSSKeywordValue$Typings on CSSKeywordValue
CSSMathClamp$Typings on CSSMathClamp
CSSMathInvert$Typings on CSSMathInvert
CSSMathMax$Typings on CSSMathMax
CSSMathMin$Typings on CSSMathMin
CSSMathNegate$Typings on CSSMathNegate
CSSMathProduct$Typings on CSSMathProduct
CSSMathSum$Typings on CSSMathSum
CSSMathValue$Typings on CSSMathValue
CSSMatrixComponent$Typings on CSSMatrixComponent
CSSMatrixComponentOptions$Typings on CSSMatrixComponentOptions
CSSNumericArray$Typings on CSSNumericArray
CSSNumericType$Typings on CSSNumericType
CSSNumericValue$Typings on CSSNumericValue
CSSPerspective$Typings on CSSPerspective
CSSRotate$Typings on CSSRotate
CSSScale$Typings on CSSScale
CSSSkew$Typings on CSSSkew
CSSSkewX$Typings on CSSSkewX
CSSSkewY$Typings on CSSSkewY
CSSStyleValue$Typings on CSSStyleValue
CSSTransformComponent$Typings on CSSTransformComponent
CSSTransformValue$Typings on CSSTransformValue
CSSTranslate$Typings on CSSTranslate
CSSUnitValue$Typings on CSSUnitValue
CSSUnparsedValue$Typings on CSSUnparsedValue
CSSVariableReferenceValue$Typings on CSSVariableReferenceValue
CustomEvent$Typings on CustomEvent<T>
CustomEventInit$Typings on CustomEventInit<T>
DedicatedWorkerGlobalScope$Typings on DedicatedWorkerGlobalScope
DOMException$Typings on DOMException
DOMMatrix$Typings on DOMMatrix
DOMMatrix2DInit$Typings on DOMMatrix2DInit
DOMMatrixInit$Typings on DOMMatrixInit
DOMMatrixReadOnly$Typings on DOMMatrixReadOnly
DOMPoint$Typings on DOMPoint
DOMPointInit$Typings on DOMPointInit
DOMPointReadOnly$Typings on DOMPointReadOnly
DOMQuad$Typings on DOMQuad
DOMQuadInit$Typings on DOMQuadInit
DOMRect$Typings on DOMRect
DOMRectInit$Typings on DOMRectInit
DOMRectReadOnly$Typings on DOMRectReadOnly
DOMStringList$Typings on DOMStringList
EcdhKeyDeriveParams$Typings on EcdhKeyDeriveParams
EcdsaParams$Typings on EcdsaParams
EcKeyGenParams$Typings on EcKeyGenParams
EcKeyImportParams$Typings on EcKeyImportParams
EncodedVideoChunk$Typings on EncodedVideoChunk
EncodedVideoChunkInit$Typings on EncodedVideoChunkInit
EncodedVideoChunkMetadata$Typings on EncodedVideoChunkMetadata
EncodedVideoChunkOutputCallback$Typings on EncodedVideoChunkOutputCallback
ErrorEvent$Typings on ErrorEvent
ErrorEventInit$Typings on ErrorEventInit
Event$Typings on Event
EventInit$Typings on EventInit
EventListener$Typings on EventListener
EventListenerObject$Typings on EventListenerObject
EventListenerOptions$Typings on EventListenerOptions
EventSource$Typings on EventSource
EventSourceInit$Typings on EventSourceInit
EventTarget$Typings on EventTarget
EXTBlendMinmax$Typings on EXTBlendMinmax
EXTColorBufferHalfFloat$Typings on EXTColorBufferHalfFloat
ExtendableEvent$Typings on ExtendableEvent
ExtendableMessageEvent$Typings on ExtendableMessageEvent
ExtendableMessageEventInit$Typings on ExtendableMessageEventInit
EXTSRGB$Typings on EXTSRGB
EXTTextureCompressionBptc$Typings on EXTTextureCompressionBptc
EXTTextureCompressionRgtc$Typings on EXTTextureCompressionRgtc
EXTTextureFilterAnisotropic$Typings on EXTTextureFilterAnisotropic
EXTTextureNorm16$Typings on EXTTextureNorm16
FetchEvent$Typings on FetchEvent
FetchEventInit$Typings on FetchEventInit
File$Typings on File
FileList$Typings on FileList
FilePropertyBag$Typings on FilePropertyBag
FileReader$Typings on FileReader
FileReaderSync$Typings on FileReaderSync
FileSystemCreateWritableOptions$Typings on FileSystemCreateWritableOptions
FileSystemDirectoryHandle$Typings on FileSystemDirectoryHandle
FileSystemFileHandle$Typings on FileSystemFileHandle
FileSystemGetDirectoryOptions$Typings on FileSystemGetDirectoryOptions
FileSystemGetFileOptions$Typings on FileSystemGetFileOptions
FileSystemHandle$Typings on FileSystemHandle
FileSystemReadWriteOptions$Typings on FileSystemReadWriteOptions
FileSystemRemoveOptions$Typings on FileSystemRemoveOptions
FileSystemSyncAccessHandle$Typings on FileSystemSyncAccessHandle
FileSystemWritableFileStream$Typings on FileSystemWritableFileStream
FontFace$Typings on FontFace
FontFaceDescriptors$Typings on FontFaceDescriptors
FontFaceSet$Typings on FontFaceSet
FontFaceSetLoadEvent$Typings on FontFaceSetLoadEvent
FontFaceSetLoadEventInit$Typings on FontFaceSetLoadEventInit
FontFaceSource$Typings on FontFaceSource
FormData$Typings on FormData
FrameRequestCallback$Typings on FrameRequestCallback
GenericTransformStream$Typings on GenericTransformStream
GetNotificationOptions$Typings on GetNotificationOptions
Global$Typings on Global<T>
GlobalDescriptor$Typings on GlobalDescriptor<T>
Headers$Typings on Headers
HkdfParams$Typings on HkdfParams
HmacImportParams$Typings on HmacImportParams
HmacKeyGenParams$Typings on HmacKeyGenParams
IDBCursor$Typings on IDBCursor
IDBCursorWithValue$Typings on IDBCursorWithValue
IDBDatabase$Typings on IDBDatabase
IDBDatabaseInfo$Typings on IDBDatabaseInfo
IDBFactory$Typings on IDBFactory
IDBIndex$Typings on IDBIndex
IDBIndexParameters$Typings on IDBIndexParameters
IDBKeyRange$Typings on IDBKeyRange
IDBObjectStore$Typings on IDBObjectStore
IDBObjectStoreParameters$Typings on IDBObjectStoreParameters
IDBOpenDBRequest$Typings on IDBOpenDBRequest
IDBRequest$Typings on IDBRequest<T>
IDBTransaction$Typings on IDBTransaction
IDBTransactionOptions$Typings on IDBTransactionOptions
IDBVersionChangeEvent$Typings on IDBVersionChangeEvent
IDBVersionChangeEventInit$Typings on IDBVersionChangeEventInit
IInline122$Typings on IInline122
IInline124$Typings on IInline124
ImageBitmap$Typings on ImageBitmap
ImageBitmapOptions$Typings on ImageBitmapOptions
ImageBitmapRenderingContext$Typings on ImageBitmapRenderingContext
ImageBitmapRenderingContextSettings$Typings on ImageBitmapRenderingContextSettings
ImageData$Typings on ImageData
ImageDataSettings$Typings on ImageDataSettings
ImageEncodeOptions$Typings on ImageEncodeOptions
ImportMeta$Typings on ImportMeta
Instance$Typings on Instance
JsonWebKey$Typings on JsonWebKey
KeyAlgorithm$Typings on KeyAlgorithm
KHRParallelShaderCompile$Typings on KHRParallelShaderCompile
Lock$Typings on Lock
LockGrantedCallback$Typings on LockGrantedCallback
LockInfo$Typings on LockInfo
LockManager$Typings on LockManager
LockManagerSnapshot$Typings on LockManagerSnapshot
LockOptions$Typings on LockOptions
MediaCapabilities$Typings on MediaCapabilities
MediaCapabilitiesDecodingInfo$Typings on MediaCapabilitiesDecodingInfo
MediaCapabilitiesEncodingInfo$Typings on MediaCapabilitiesEncodingInfo
MediaCapabilitiesInfo$Typings on MediaCapabilitiesInfo
MediaConfiguration$Typings on MediaConfiguration
MediaDecodingConfiguration$Typings on MediaDecodingConfiguration
MediaEncodingConfiguration$Typings on MediaEncodingConfiguration
Memory$Typings on Memory
MemoryDescriptor$Typings on MemoryDescriptor
MessageChannel$Typings on MessageChannel
MessageEvent$Typings on MessageEvent<T>
MessageEventInit$Typings on MessageEventInit<T>
MessagePort$Typings on MessagePort
ModuleExportDescriptor$Typings on ModuleExportDescriptor
ModuleImportDescriptor$Typings on ModuleImportDescriptor
MultiCacheQueryOptions$Typings on MultiCacheQueryOptions
Notification$Typings on Notification
NotificationAction$Typings on NotificationAction
NotificationEvent$Typings on NotificationEvent
NotificationEventInit$Typings on NotificationEventInit
NotificationOptions$Typings on NotificationOptions
OESDrawBuffersIndexed$Typings on OESDrawBuffersIndexed
OESStandardDerivatives$Typings on OESStandardDerivatives
OESTextureHalfFloat$Typings on OESTextureHalfFloat
OESVertexArrayObject$Typings on OESVertexArrayObject
OffscreenCanvas$Typings on OffscreenCanvas
OffscreenCanvasRenderingContext2D$Typings on OffscreenCanvasRenderingContext2D
OnErrorEventHandlerNonNull$Typings on OnErrorEventHandlerNonNull
OVRMultiview2$Typings on OVRMultiview2
Path2D$Typings on Path2D
Pbkdf2Params$Typings on Pbkdf2Params
Performance$Typings on Performance
PerformanceEntry$Typings on PerformanceEntry
PerformanceMark$Typings on PerformanceMark
PerformanceMarkOptions$Typings on PerformanceMarkOptions
PerformanceMeasure$Typings on PerformanceMeasure
PerformanceMeasureOptions$Typings on PerformanceMeasureOptions
PerformanceObserver$Typings on PerformanceObserver
PerformanceObserverCallback$Typings on PerformanceObserverCallback
PerformanceObserverEntryList$Typings on PerformanceObserverEntryList
PerformanceObserverInit$Typings on PerformanceObserverInit
PerformanceResourceTiming$Typings on PerformanceResourceTiming
PerformanceServerTiming$Typings on PerformanceServerTiming
PermissionDescriptor$Typings on PermissionDescriptor
Permissions$Typings on Permissions
PermissionStatus$Typings on PermissionStatus
PlaneLayout$Typings on PlaneLayout
ProgressEvent$Typings on ProgressEvent<T>
ProgressEventInit$Typings on ProgressEventInit
PromiseRejectionEvent$Typings on PromiseRejectionEvent
PromiseRejectionEventInit$Typings on PromiseRejectionEventInit
PushEvent$Typings on PushEvent
PushEventInit$Typings on PushEventInit
PushManager$Typings on PushManager
PushMessageData$Typings on PushMessageData
PushSubscription$Typings on PushSubscription
PushSubscriptionJSON$Typings on PushSubscriptionJSON
PushSubscriptionOptions$Typings on PushSubscriptionOptions
PushSubscriptionOptionsInit$Typings on PushSubscriptionOptionsInit
QueuingStrategy$Typings on QueuingStrategy<T>
QueuingStrategyInit$Typings on QueuingStrategyInit
QueuingStrategySize$Typings on QueuingStrategySize<T>
ReadableByteStreamController$Typings on ReadableByteStreamController
ReadableStream$Typings on ReadableStream<R>
ReadableStreamBYOBReader$Typings on ReadableStreamBYOBReader
ReadableStreamBYOBRequest$Typings on ReadableStreamBYOBRequest
ReadableStreamDefaultController$Typings on ReadableStreamDefaultController<R>
ReadableStreamDefaultReader$Typings on ReadableStreamDefaultReader<R>
ReadableStreamGenericReader$Typings on ReadableStreamGenericReader
ReadableStreamGetReaderOptions$Typings on ReadableStreamGetReaderOptions
ReadableStreamReadDoneResult$Typings on ReadableStreamReadDoneResult<T>
ReadableStreamReadResultCommon$Typings on ReadableStreamReadResultCommon<T>
ReadableStreamReadValueResult$Typings on ReadableStreamReadValueResult<T>
ReadableWritablePair$Typings on ReadableWritablePair<R, W>
RegistrationOptions$Typings on RegistrationOptions
Report$Typings on Report
ReportBody$Typings on ReportBody
ReportingObserver$Typings on ReportingObserver
ReportingObserverCallback$Typings on ReportingObserverCallback
ReportingObserverOptions$Typings on ReportingObserverOptions
Request$Typings on Request
RequestInit$Typings on RequestInit
Response$Typings on Response
ResponseInit$Typings on ResponseInit
RsaHashedImportParams$Typings on RsaHashedImportParams
RsaHashedKeyGenParams$Typings on RsaHashedKeyGenParams
RsaKeyGenParams$Typings on RsaKeyGenParams
RsaOaepParams$Typings on RsaOaepParams
RsaOtherPrimesInfo$Typings on RsaOtherPrimesInfo
RsaPssParams$Typings on RsaPssParams
RTCEncodedAudioFrame$Typings on RTCEncodedAudioFrame
RTCEncodedAudioFrameMetadata$Typings on RTCEncodedAudioFrameMetadata
RTCEncodedVideoFrame$Typings on RTCEncodedVideoFrame
RTCEncodedVideoFrameMetadata$Typings on RTCEncodedVideoFrameMetadata
SecurityPolicyViolationEvent$Typings on SecurityPolicyViolationEvent
SecurityPolicyViolationEventInit$Typings on SecurityPolicyViolationEventInit
ServiceWorker$Typings on ServiceWorker
ServiceWorkerContainer$Typings on ServiceWorkerContainer
ServiceWorkerGlobalScope$Typings on ServiceWorkerGlobalScope
ServiceWorkerRegistration$Typings on ServiceWorkerRegistration
SharedWorkerGlobalScope$Typings on SharedWorkerGlobalScope
StorageEstimate$Typings on StorageEstimate
StorageManager$Typings on StorageManager
StreamPipeOptions$Typings on StreamPipeOptions
StructuredSerializeOptions$Typings on StructuredSerializeOptions
StylePropertyMapReadOnly$Typings on StylePropertyMapReadOnly
SubtleCrypto$Typings on SubtleCrypto
Table$Typings on Table
TableDescriptor$Typings on TableDescriptor
TextDecodeOptions$Typings on TextDecodeOptions
TextDecoder$Typings on TextDecoder
TextDecoderCommon$Typings on TextDecoderCommon
TextDecoderOptions$Typings on TextDecoderOptions
TextDecoderStream$Typings on TextDecoderStream
TextEncoder$Typings on TextEncoder
TextEncoderCommon$Typings on TextEncoderCommon
TextEncoderEncodeIntoResult$Typings on TextEncoderEncodeIntoResult
TextEncoderStream$Typings on TextEncoderStream
TextMetrics$Typings on TextMetrics
Transformer$Typings on Transformer<I, O>
TransformerFlushCallback$Typings on TransformerFlushCallback<O>
TransformerStartCallback$Typings on TransformerStartCallback<O>
TransformerTransformCallback$Typings on TransformerTransformCallback<I, O>
TransformStream$Typings on TransformStream<I, O>
TransformStreamDefaultController$Typings on TransformStreamDefaultController<O>
UnderlyingByteSource$Typings on UnderlyingByteSource
UnderlyingDefaultSource$Typings on UnderlyingDefaultSource<R>
UnderlyingSink$Typings on UnderlyingSink<W>
UnderlyingSinkAbortCallback$Typings on UnderlyingSinkAbortCallback
UnderlyingSinkCloseCallback$Typings on UnderlyingSinkCloseCallback
UnderlyingSinkStartCallback$Typings on UnderlyingSinkStartCallback
UnderlyingSinkWriteCallback$Typings on UnderlyingSinkWriteCallback<W>
UnderlyingSource$Typings on UnderlyingSource<R>
UnderlyingSourceCancelCallback$Typings on UnderlyingSourceCancelCallback
UnderlyingSourcePullCallback$Typings on UnderlyingSourcePullCallback<R>
UnderlyingSourceStartCallback$Typings on UnderlyingSourceStartCallback<R>
Url$Typings on Url
URLSearchParams$Typings on URLSearchParams
ValueTypeMap$Typings on ValueTypeMap
VideoColorSpace$Typings on VideoColorSpace
VideoColorSpaceInit$Typings on VideoColorSpaceInit
VideoConfiguration$Typings on VideoConfiguration
VideoDecoder$Typings on VideoDecoder
VideoDecoderConfig$Typings on VideoDecoderConfig
VideoDecoderInit$Typings on VideoDecoderInit
VideoDecoderSupport$Typings on VideoDecoderSupport
VideoEncoder$Typings on VideoEncoder
VideoEncoderConfig$Typings on VideoEncoderConfig
VideoEncoderEncodeOptions$Typings on VideoEncoderEncodeOptions
VideoEncoderInit$Typings on VideoEncoderInit
VideoEncoderSupport$Typings on VideoEncoderSupport
VideoFrame$Typings on VideoFrame
VideoFrameBufferInit$Typings on VideoFrameBufferInit
VideoFrameCopyToOptions$Typings on VideoFrameCopyToOptions
VideoFrameInit$Typings on VideoFrameInit
VideoFrameOutputCallback$Typings on VideoFrameOutputCallback
VoidFunction$Typings on VoidFunction
WebAssemblyInstantiatedSource$Typings on WebAssemblyInstantiatedSource
WebCodecsErrorCallback$Typings on WebCodecsErrorCallback
WebGL2RenderingContextBase$Typings on WebGL2RenderingContextBase
WebGL2RenderingContextOverloads$Typings on WebGL2RenderingContextOverloads
WebGLActiveInfo$Typings on WebGLActiveInfo
WEBGLColorBufferFloat$Typings on WEBGLColorBufferFloat
WEBGLCompressedTextureAstc$Typings on WEBGLCompressedTextureAstc
WEBGLCompressedTextureEtc$Typings on WEBGLCompressedTextureEtc
WEBGLCompressedTextureEtc1$Typings on WEBGLCompressedTextureEtc1
WEBGLCompressedTexturePvrtc$Typings on WEBGLCompressedTexturePvrtc
WEBGLCompressedTextureS3tc$Typings on WEBGLCompressedTextureS3tc
WEBGLCompressedTextureS3tcSrgb$Typings on WEBGLCompressedTextureS3tcSrgb
WebGLContextAttributes$Typings on WebGLContextAttributes
WebGLContextEvent$Typings on WebGLContextEvent
WebGLContextEventInit$Typings on WebGLContextEventInit
WEBGLDebugRendererInfo$Typings on WEBGLDebugRendererInfo
WEBGLDebugShaders$Typings on WEBGLDebugShaders
WEBGLDepthTexture$Typings on WEBGLDepthTexture
WEBGLDrawBuffers$Typings on WEBGLDrawBuffers
WEBGLLoseContext$Typings on WEBGLLoseContext
WEBGLMultiDraw$Typings on WEBGLMultiDraw
WebGLRenderingContextBase$Typings on WebGLRenderingContextBase
WebGLRenderingContextOverloads$Typings on WebGLRenderingContextOverloads
WebGLShaderPrecisionFormat$Typings on WebGLShaderPrecisionFormat
WebSocket$Typings on WebSocket
WebTransport$Typings on WebTransport
WebTransportBidirectionalStream$Typings on WebTransportBidirectionalStream
WebTransportCloseInfo$Typings on WebTransportCloseInfo
WebTransportDatagramDuplexStream$Typings on WebTransportDatagramDuplexStream
WebTransportError$Typings on WebTransportError
WebTransportErrorOptions$Typings on WebTransportErrorOptions
WebTransportHash$Typings on WebTransportHash
WebTransportOptions$Typings on WebTransportOptions
WebTransportSendStreamOptions$Typings on WebTransportSendStreamOptions
WindowClient$Typings on WindowClient
WindowOrWorkerGlobalScope$Typings on WindowOrWorkerGlobalScope
Worker$Typings on Worker
WorkerGlobalScope$Typings on WorkerGlobalScope
WorkerLocation$Typings on WorkerLocation
WorkerNavigator$Typings on WorkerNavigator
WorkerOptions$Typings on WorkerOptions
WritableStream$Typings on WritableStream<W>
WritableStreamDefaultController$Typings on WritableStreamDefaultController
WritableStreamDefaultWriter$Typings on WritableStreamDefaultWriter<W>
WriteParams$Typings on WriteParams
XMLHttpRequest$Typings on XMLHttpRequest
XMLHttpRequestEventTarget$Typings on XMLHttpRequestEventTarget
XMLHttpRequestUpload$Typings on XMLHttpRequestUpload

Properties

abortController → dynamic
A controller object that allows you to abort one or more DOM requests as and when desired.
no setter
abortSignal → dynamic
A signal object that allows you to communicate with a DOM request (such as a Fetch) and abort it if required via an AbortController object.
no setter
addEventListener → ({void Function<K$>(DedicatedWorkerGlobalScopeEventMap<K$> type, dynamic listener(K$), [Object? options]) $1, void Function(String type, Object listener, [Object? options]) $2})
Overload accessor: $1, $2
no setter
blob → dynamic
A file-like object of immutable, raw data. Blobs represent data that isn't necessarily in a JavaScript-native format. The File interface is based on Blob, inheriting blob functionality and expanding it to support files on the user's system.
no setter
broadcastChannel → dynamic
MDN Reference
no setter
byteLengthQueuingStrategy → dynamic
This Streams API interface provides a built-in byte length queuing strategy that can be used when constructing streams.
no setter
cache → dynamic
Provides a storage mechanism for Request / Response object pairs that are cached, for example as part of the ServiceWorker life cycle. Note that the Cache interface is exposed to windowed scopes as well as workers. You don't have to use it in conjunction with service workers, even though it is defined in the service worker spec. Available only in secure contexts.
no setter
caches CacheStorage
Available only in secure contexts.
no setter
cacheStorage → dynamic
The storage for Cache objects. Available only in secure contexts.
no setter
canvasGradient → dynamic
An opaque object describing a gradient. It is returned by the methods CanvasRenderingContext2D.createLinearGradient() or CanvasRenderingContext2D.createRadialGradient().
no setter
canvasPattern → dynamic
An opaque object describing a pattern, based on an image, a canvas, or a video, created by the CanvasRenderingContext2D.createPattern() method.
no setter
client → dynamic
The Client interface represents an executable context such as a Worker, or a SharedWorker. Window clients are represented by the more-specific WindowClient. You can get Client/WindowClient objects from methods such as Clients.matchAll() and Clients.get().
no setter
clients → dynamic
Provides access to Client objects. Access it via self.clients within a service worker.
no setter
closeEvent → dynamic
A CloseEvent is sent to clients using WebSockets when the connection is closed. This is delivered to the listener indicated by the WebSocket object's onclose attribute.
no setter
compressionStream → dynamic
MDN Reference
no setter
console Console
no setter
countQueuingStrategy → dynamic
This Streams API interface provides a built-in byte length queuing strategy that can be used when constructing streams.
no setter
createImageBitmap → ({Future<ImageBitmap> Function(Object image, [ImageBitmapOptions? options]) $1, Future<ImageBitmap> Function(Object image, num sx, num sy, num sw, num sh, [ImageBitmapOptions? options]) $2})
Overload accessor: $1, $2
no setter
crossOriginIsolated bool
MDN Reference
no setter
crypto Crypto
MDN Reference
no setter
cryptoKey → dynamic
The CryptoKey dictionary of the Web Crypto API represents a cryptographic key. Available only in secure contexts.
no setter
cssImageValue → dynamic
MDN Reference
no setter
cssKeywordValue → dynamic
MDN Reference
no setter
cssMathClamp → dynamic
no setter
cssMathInvert → dynamic
MDN Reference
no setter
cssMathMax → dynamic
MDN Reference
no setter
cssMathMin → dynamic
MDN Reference
no setter
cssMathNegate → dynamic
MDN Reference
no setter
cssMathProduct → dynamic
MDN Reference
no setter
cssMathSum → dynamic
MDN Reference
no setter
cssMathValue → dynamic
MDN Reference
no setter
cssMatrixComponent → dynamic
MDN Reference
no setter
cssNumericArray → dynamic
MDN Reference
no setter
cssNumericValue → dynamic
MDN Reference
no setter
cssPerspective → dynamic
MDN Reference
no setter
cssRotate → dynamic
MDN Reference
no setter
cssScale → dynamic
MDN Reference
no setter
cssSkew → dynamic
MDN Reference
no setter
cssSkewX → dynamic
MDN Reference
no setter
cssSkewY → dynamic
MDN Reference
no setter
cssStyleValue → dynamic
MDN Reference
no setter
cssTransformComponent → dynamic
MDN Reference
no setter
cssTransformValue → dynamic
MDN Reference
no setter
cssTranslate → dynamic
MDN Reference
no setter
cssUnitValue → dynamic
MDN Reference
no setter
cssUnparsedValue → dynamic
MDN Reference
no setter
cssVariableReferenceValue → dynamic
MDN Reference
no setter
customEvent → dynamic
MDN Reference
no setter
decompressionStream → dynamic
MDN Reference
no setter
dedicatedWorkerGlobalScope → dynamic
(the Worker global scope) is accessible through the self keyword. Some additional global functions, namespaces objects, and constructors, not typically associated with the worker global scope, but available on it, are listed in the JavaScript Reference. See also: Functions available to workers.
no setter
dispatchEvent → ({bool Function(Event event) $1, bool Function(Event event) $2})
Overload accessor: $1, $2
no setter
domException → dynamic
An abnormal event (called an exception) which occurs as a result of calling a method or accessing a property of a web API.
no setter
domMatrix → dynamic
MDN Reference
no setter
domMatrixReadOnly → dynamic
MDN Reference
no setter
domPoint → dynamic
MDN Reference
no setter
domPointReadOnly → dynamic
MDN Reference
no setter
domQuad → dynamic
MDN Reference
no setter
domRect → dynamic
MDN Reference
no setter
domRectReadOnly → dynamic
MDN Reference
no setter
domStringList → dynamic
A type returned by some APIs which contains a list of DOMString (strings).
no setter
encodedVideoChunk → dynamic
MDN Reference
no setter
errorEvent → dynamic
Events providing information related to errors in scripts or in files.
no setter
event → dynamic
An event which takes place in the DOM.
no setter
eventSource → dynamic
MDN Reference
no setter
eventTarget → dynamic
EventTarget is a DOM interface implemented by objects that can receive events and may have listeners for them.
no setter
extendableEvent → dynamic
Extends the lifetime of the install and activate events dispatched on the global scope as part of the service worker lifecycle. This ensures that any functional events (like FetchEvent) are not dispatched until it upgrades database schemas and deletes the outdated cache entries.
no setter
extendableMessageEvent → dynamic
This ServiceWorker API interface represents the event object of a message event fired on a service worker (when a channel message is received on the ServiceWorkerGlobalScope from another context) — extends the lifetime of such events.
no setter
fetchEvent → dynamic
This is the event type for fetch events dispatched on the service worker global scope. It contains information about the fetch, including the request and how the receiver will treat the response. It provides the event.respondWith() method, which allows us to provide a response to this fetch.
no setter
file → dynamic
Provides information about files and allows JavaScript in a web page to access their content.
no setter
fileList → dynamic
An object of this type is returned by the files property of the HTML element; this lets you access the list of files selected with the element. It's also used for a list of files dropped into web content when using the drag and drop API; see the DataTransfer object for details on this usage.
no setter
fileReader → dynamic
Lets web applications asynchronously read the contents of files (or raw data buffers) stored on the user's computer, using File or Blob objects to specify the file or data to read.
no setter
fileReaderSync → dynamic
Allows to read File or Blob objects in a synchronous way.
no setter
fileSystemDirectoryHandle → dynamic
Available only in secure contexts.
no setter
fileSystemFileHandle → dynamic
Available only in secure contexts.
no setter
fileSystemHandle → dynamic
Available only in secure contexts.
no setter
fileSystemSyncAccessHandle → dynamic
Available only in secure contexts.
no setter
fileSystemWritableFileStream → dynamic
Available only in secure contexts.
no setter
fontFace → dynamic
MDN Reference
no setter
fontFaceSet → dynamic
MDN Reference
no setter
fontFaceSetLoadEvent → dynamic
MDN Reference
no setter
fonts FontFaceSet
MDN Reference
no setter
formData → dynamic
Provides a way to easily construct a set of key/value pairs representing form fields and their values, which can then be easily sent using the XMLHttpRequest.send() method. It uses the same format a form would use if the encoding type were set to "multipart/form-data".
no setter
headers → dynamic
This Fetch API interface allows you to perform various actions on HTTP request and response headers. These actions include retrieving, setting, adding to, and removing. A Headers object has an associated header list, which is initially empty and consists of zero or more name and value pairs.  You can add to this using methods like append() (see Examples.) In all methods of this interface, header names are matched by case-insensitive byte sequence.
no setter
idbCursor → dynamic
This IndexedDB API interface represents a cursor for traversing or iterating over multiple records in a database.
no setter
idbCursorWithValue → dynamic
This IndexedDB API interface represents a cursor for traversing or iterating over multiple records in a database. It is the same as the IDBCursor, except that it includes the value property.
no setter
idbDatabase → dynamic
This IndexedDB API interface provides a connection to a database; you can use an IDBDatabase object to open a transaction on your database then create, manipulate, and delete objects (data) in that database. The interface provides the only way to get and manage versions of the database.
no setter
idbFactory → dynamic
In the following code snippet, we make a request to open a database, and include handlers for the success and error cases. For a full working example, see our To-do Notifications app (view example live.)
no setter
idbIndex → dynamic
IDBIndex interface of the IndexedDB API provides asynchronous access to an index in a database. An index is a kind of object store for looking up records in another object store, called the referenced object store. You use this interface to retrieve data.
no setter
idbKeyRange → dynamic
A key range can be a single value or a range with upper and lower bounds or endpoints. If the key range has both upper and lower bounds, then it is bounded; if it has no bounds, it is unbounded. A bounded key range can either be open (the endpoints are excluded) or closed (the endpoints are included). To retrieve all keys within a certain range, you can use the following code constructs:
no setter
idbObjectStore → dynamic
This example shows a variety of different uses of object stores, from updating the data structure with IDBObjectStore.createIndex inside an onupgradeneeded function, to adding a new item to our object store with IDBObjectStore.add. For a full working example, see our To-do Notifications app (view example live.)
no setter
idbOpenDBRequest → dynamic
Also inherits methods from its parents IDBRequest and EventTarget.
no setter
idbRequest → dynamic
The request object does not initially contain any information about the result of the operation, but once information becomes available, an event is fired on the request, and the information becomes available through the properties of the IDBRequest instance.
no setter
idbTransaction → dynamic
MDN Reference
no setter
idbVersionChangeEvent → dynamic
This IndexedDB API interface indicates that the version of the database has changed, as the result of an IDBOpenDBRequest.onupgradeneeded event handler function.
no setter
imageBitmap → dynamic
MDN Reference
no setter
imageBitmapRenderingContext → dynamic
MDN Reference
no setter
imageData → dynamic
The underlying pixel data of an area of a
no setter
indexedDB IDBFactory
MDN Reference
no setter
isSecureContext bool
MDN Reference
no setter
location WorkerLocation
Returns workerGlobal's WorkerLocation object.
no setter
lock → dynamic
Available only in secure contexts.
no setter
lockManager → dynamic
Available only in secure contexts.
no setter
mediaCapabilities → dynamic
MDN Reference
no setter
messageChannel → dynamic
This Channel Messaging API interface allows us to create a new message channel and send data through it via its two MessagePort properties.
no setter
messageEvent → dynamic
A message received by a target object.
no setter
messagePort → dynamic
This Channel Messaging API interface represents one of the two ports of a MessageChannel, allowing messages to be sent from one port and listening out for them arriving at the other.
no setter
name String
Returns dedicatedWorkerGlobal's name, i.e. the value given to the Worker constructor. Primarily useful for debugging.
no setter
Available only in secure contexts.
no setter
Returns workerGlobal's WorkerNavigator object.
no setter
notification → dynamic
This Notifications API interface is used to configure and display desktop notifications to the user.
no setter
notificationEvent → dynamic
The parameter passed into the onnotificationclick handler, the NotificationEvent interface represents a notification click event that is dispatched on the ServiceWorkerGlobalScope of a ServiceWorker.
no setter
offscreenCanvas → dynamic
MDN Reference
no setter
offscreenCanvasRenderingContext2D → dynamic
MDN Reference
no setter
onerror → dynamic Function(ErrorEvent)?
MDN Reference
no setter
onlanguagechange → dynamic Function(Event)?
MDN Reference
no setter
onmessage → dynamic Function(MessageEvent)?
MDN Reference
no setter
onmessageerror → dynamic Function(MessageEvent)?
MDN Reference
no setter
onoffline → dynamic Function(Event)?
MDN Reference
no setter
ononline → dynamic Function(Event)?
MDN Reference
no setter
onrejectionhandled → dynamic Function(PromiseRejectionEvent)?
no setter
onunhandledrejection → dynamic Function(PromiseRejectionEvent)?
no setter
origin String
MDN Reference
no setter
path2D → dynamic
This Canvas 2D API interface is used to declare a path that can then be used on a CanvasRenderingContext2D object. The path methods of the CanvasRenderingContext2D interface are also present on this interface, which gives you the convenience of being able to retain and replay your path whenever desired.
no setter
performance Performance
MDN Reference
no setter
performanceEntry → dynamic
Encapsulates a single performance metric that is part of the performance timeline. A performance entry can be directly created by making a performance mark or measure (for example by calling the mark() method) at an explicit point in an application. Performance entries are also created in indirect ways such as loading a resource (such as an image).
no setter
performanceMark → dynamic
PerformanceMark is an abstract interface for PerformanceEntry objects with an entryType of "mark". Entries of this type are created by calling performance.mark() to add a named DOMHighResTimeStamp (the mark) to the browser's performance timeline.
no setter
performanceMeasure → dynamic
PerformanceMeasure is an abstract interface for PerformanceEntry objects with an entryType of "measure". Entries of this type are created by calling performance.measure() to add a named DOMHighResTimeStamp (the measure) between two marks to the browser's performance timeline.
no setter
performanceObserver → dynamic
MDN Reference
no setter
performanceObserverEntryList → dynamic
MDN Reference
no setter
performanceResourceTiming → dynamic
Enables retrieval and analysis of detailed network timing data regarding the loading of an application's resources. An application can use the timing metrics to determine, for example, the length of time it takes to fetch a specific resource, such as an XMLHttpRequest,
no setter
performanceServerTiming → dynamic
MDN Reference
no setter
permissions → dynamic
MDN Reference
no setter
permissionStatus → dynamic
MDN Reference
no setter
postMessage → ({void Function(List<Object> transfer, [dynamic message]) $1, void Function([dynamic message, StructuredSerializeOptions? options]) $2})
Overload accessor: $1, $2
no setter
progressEvent → dynamic
Events measuring progress of an underlying process, like an HTTP request (for an XMLHttpRequest, or the loading of the underlying resource of an ,
no setter
promiseRejectionEvent → dynamic
MDN Reference
no setter
pushEvent → dynamic
This Push API interface represents a push message that has been received. This event is sent to the global scope of a ServiceWorker. It contains the information sent from an application server to a PushSubscription. Available only in secure contexts.
no setter
pushManager → dynamic
This Push API interface provides a way to receive notifications from third-party servers as well as request URLs for push notifications. Available only in secure contexts.
no setter
pushMessageData → dynamic
This Push API interface provides methods which let you retrieve the push data sent by a server in various formats. Available only in secure contexts.
no setter
pushSubscription → dynamic
This Push API interface provides a subcription's URL endpoint and allows unsubscription from a push service. Available only in secure contexts.
no setter
pushSubscriptionOptions → dynamic
Available only in secure contexts.
no setter
readableByteStreamController → dynamic
MDN Reference
no setter
readableStream → dynamic
This Streams API interface represents a readable stream of byte data. The Fetch API offers a concrete instance of a ReadableStream through the body property of a Response object.
no setter
readableStreamBYOBReader → dynamic
MDN Reference
no setter
readableStreamBYOBRequest → dynamic
MDN Reference
no setter
readableStreamDefaultController → dynamic
MDN Reference
no setter
readableStreamDefaultReader → dynamic
MDN Reference
no setter
removeEventListener → ({void Function<K$>(DedicatedWorkerGlobalScopeEventMap<K$> type, dynamic listener(K$), [Object? options]) $1, void Function(String type, Object listener, [Object? options]) $2})
Overload accessor: $1, $2
no setter
report → dynamic
MDN Reference
no setter
reportBody → dynamic
MDN Reference
no setter
reportingObserver → dynamic
MDN Reference
no setter
request → dynamic
This Fetch API interface represents a resource request.
no setter
response → dynamic
This Fetch API interface represents the response to a request.
no setter
rtcEncodedAudioFrame → dynamic
no setter
rtcEncodedVideoFrame → dynamic
no setter
securityPolicyViolationEvent → dynamic
Inherits from Event, and represents the event object of an event sent on a document or worker when its content security policy is violated.
no setter
self → _Intersection8
Returns workerGlobal.
no setter
serviceWorker → dynamic
This ServiceWorker API interface provides a reference to a service worker. Multiple browsing contexts (e.g. pages, workers, etc.) can be associated with the same service worker, each through a unique ServiceWorker object. Available only in secure contexts.
no setter
serviceWorkerContainer → dynamic
The ServiceWorkerContainer interface of the ServiceWorker API provides an object representing the service worker as an overall unit in the network ecosystem, including facilities to register, unregister and update service workers, and access the state of service workers and their registrations. Available only in secure contexts.
no setter
serviceWorkerGlobalScope → dynamic
This ServiceWorker API interface represents the global execution context of a service worker.
no setter
serviceWorkerRegistration → dynamic
This ServiceWorker API interface represents the service worker registration. You register a service worker to control one or more pages that share the same origin. Available only in secure contexts.
no setter
sharedWorkerGlobalScope → dynamic
MDN Reference
no setter
storageManager → dynamic
Available only in secure contexts.
no setter
stylePropertyMapReadOnly → dynamic
MDN Reference
no setter
subtleCrypto → dynamic
This Web Crypto API interface provides a number of low-level cryptographic functions. It is accessed via the Crypto.subtle properties available in a window context (via Window.crypto). Available only in secure contexts.
no setter
textDecoder → dynamic
A decoder for a specific method, that is a specific character encoding, like utf-8, iso-8859-2, koi8, cp1261, gbk, etc. A decoder takes a stream of bytes as input and emits a stream of code points. For a more scalable, non-native library, see StringView – a C-like representation of strings based on typed arrays.
no setter
textDecoderStream → dynamic
MDN Reference
no setter
textEncoder → dynamic
TextEncoder takes a stream of code points as input and emits a stream of bytes. For a more scalable, non-native library, see StringView – a C-like representation of strings based on typed arrays.
no setter
textEncoderStream → dynamic
MDN Reference
no setter
textMetrics → dynamic
The dimensions of a piece of text in the canvas, as created by the CanvasRenderingContext2D.measureText() method.
no setter
transformStream → dynamic
MDN Reference
no setter
transformStreamDefaultController → dynamic
MDN Reference
no setter
url → dynamic
The URL interface represents an object providing static methods used for creating object URLs.
no setter
urlSearchParams → dynamic
MDN Reference
no setter
videoColorSpace → dynamic
MDN Reference
no setter
videoDecoder → dynamic
Available only in secure contexts.
no setter
videoEncoder → dynamic
Available only in secure contexts.
no setter
videoFrame → dynamic
MDN Reference
no setter
webAssembly $ModuleWebAssembly
no setter
webGL2RenderingContext → dynamic
MDN Reference
no setter
webGLActiveInfo → dynamic
Part of the WebGL API and represents the information returned by calling the WebGLRenderingContext.getActiveAttrib() and WebGLRenderingContext.getActiveUniform() methods.
no setter
webGLBuffer → dynamic
Part of the WebGL API and represents an opaque buffer object storing data such as vertices or colors.
no setter
webGLContextEvent → dynamic
The WebContextEvent interface is part of the WebGL API and is an interface for an event that is generated in response to a status change to the WebGL rendering context.
no setter
webGLFramebuffer → dynamic
Part of the WebGL API and represents a collection of buffers that serve as a rendering destination.
no setter
webGLProgram → dynamic
The WebGLProgram is part of the WebGL API and is a combination of two compiled WebGLShaders consisting of a vertex shader and a fragment shader (both written in GLSL).
no setter
webGLQuery → dynamic
MDN Reference
no setter
webGLRenderbuffer → dynamic
Part of the WebGL API and represents a buffer that can contain an image, or can be source or target of an rendering operation.
no setter
webGLRenderingContext → dynamic
Provides an interface to the OpenGL ES 2.0 graphics rendering context for the drawing surface of an HTML
no setter
webGLSampler → dynamic
MDN Reference
no setter
webGLShader → dynamic
The WebGLShader is part of the WebGL API and can either be a vertex or a fragment shader. A WebGLProgram requires both types of shaders.
no setter
webGLShaderPrecisionFormat → dynamic
Part of the WebGL API and represents the information returned by calling the WebGLRenderingContext.getShaderPrecisionFormat() method.
no setter
webGLSync → dynamic
MDN Reference
no setter
webGLTexture → dynamic
Part of the WebGL API and represents an opaque texture object providing storage and state for texturing operations.
no setter
webGLTransformFeedback → dynamic
MDN Reference
no setter
webGLUniformLocation → dynamic
Part of the WebGL API and represents the location of a uniform variable in a shader program.
no setter
webGLVertexArrayObject → dynamic
MDN Reference
no setter
webSocket → dynamic
Provides the API for creating and managing a WebSocket connection to a server, as well as for sending and receiving data on the connection.
no setter
webTransport → dynamic
Available only in secure contexts.
no setter
webTransportBidirectionalStream → dynamic
Available only in secure contexts.
no setter
webTransportDatagramDuplexStream → dynamic
Available only in secure contexts.
no setter
webTransportError → dynamic
Available only in secure contexts.
no setter
windowClient → dynamic
This ServiceWorker API interface represents the scope of a service worker client that is a document in a browser context, controlled by an active worker. The service worker client independently selects and uses a service worker for its own loading and sub-resources.
no setter
worker → dynamic
This Web Workers API interface represents a background task that can be easily created and can send messages back to its creator. Creating a worker is as simple as calling the Worker() constructor and specifying a script to be run in the worker thread.
no setter
workerGlobalScope → dynamic
This Web Workers API interface is an interface representing the scope of any worker. Workers have no browsing context; this scope contains the information usually conveyed by Window objects — in this case event handlers, the console or the associated WorkerNavigator object. Each WorkerGlobalScope has its own event loop.
no setter
workerLocation → dynamic
The absolute location of the script executed by the Worker. Such an object is initialized for each worker and is available via the WorkerGlobalScope.location property obtained by calling self.location.
no setter
workerNavigator → dynamic
A subset of the Navigator interface allowed to be accessed from a Worker. Such an object is initialized for each worker and is available via the WorkerGlobalScope.navigator property obtained by calling window.self.navigator.
no setter
writableStream → dynamic
This Streams API interface provides a standard abstraction for writing streaming data to a destination, known as a sink. This object comes with built-in backpressure and queuing.
no setter
writableStreamDefaultController → dynamic
This Streams API interface represents a controller allowing control of a WritableStream's state. When constructing a WritableStream, the underlying sink is given a corresponding WritableStreamDefaultController instance to manipulate.
no setter
writableStreamDefaultWriter → dynamic
This Streams API interface is the object returned by WritableStream.getWriter() and once created locks the < writer to the WritableStream ensuring that no other streams can write to the underlying sink.
no setter
xmlHttpRequest → dynamic
Use XMLHttpRequest (XHR) objects to interact with servers. You can retrieve data from a URL without having to do a full page refresh. This enables a Web page to update just part of a page without disrupting what the user is doing.
no setter
xmlHttpRequestEventTarget → dynamic
MDN Reference
no setter
xmlHttpRequestUpload → dynamic
MDN Reference
no setter

Functions

atob(String data) String
MDN Reference
btoa(String data) String
MDN Reference
cancelAnimationFrame(num handle) → void
clearInterval([num? id]) → void
MDN Reference
clearTimeout([num? id]) → void
MDN Reference
close() → void
Aborts dedicatedWorkerGlobal.
fetch(Object input, [RequestInit? init]) Future<Response>
MDN Reference
importScripts([Iterable? urls]) → void
Fetches each URL in urls, executes them one-by-one in the order they are passed, and then returns (or throws if something went amiss).
queueMicrotask(VoidFunction callback) → void
MDN Reference
reportError([dynamic e]) → void
MDN Reference
requestAnimationFrame(FrameRequestCallback callback) num
setInterval(Object handler, [num? timeout, Iterable? arguments]) num
MDN Reference
setTimeout(Object handler, [num? timeout, Iterable? arguments]) num
MDN Reference
structuredClone<T>(T value, [StructuredSerializeOptions? options]) → T
MDN Reference

Typedefs

AlgorithmIdentifier = Object
AllowSharedBufferSource = Object
AlphaOption = AlphaOptionOptions
AvcBitstreamFormat = AvcBitstreamFormatOptions
BigInteger = Uint8List
BinaryData = Object
BinaryType = BinaryTypeOptions
BlobPart = Object
BodyInit = Object
BufferSource = Object
CanvasDirection = CanvasDirectionOptions
CanvasFillRule = CanvasFillRuleOptions
CanvasFontKerning = CanvasFontKerningOptions
CanvasFontStretch = CanvasFontStretchOptions
CanvasFontVariantCaps = CanvasFontVariantCapsOptions
CanvasImageSource = Object
CanvasLineCap = CanvasLineCapOptions
CanvasLineJoin = CanvasLineJoinOptions
CanvasTextAlign = CanvasTextAlignOptions
CanvasTextBaseline = CanvasTextBaselineOptions
CanvasTextRendering = CanvasTextRenderingOptions
ClientTypes = ClientTypesOptions
CodecState = CodecStateOptions
ColorGamut = ColorGamutOptions
ColorSpaceConversion = ColorSpaceConversionOptions
CompressionFormat = CompressionFormatOptions
CSSKeywordish = Object
CSSMathOperator = CSSMathOperatorOptions
CSSNumberish = Object
CSSNumericBaseType = CSSNumericBaseTypeOptions
CSSPerspectiveValue = Object
CSSUnparsedSegment = Object
DocumentVisibilityState = DocumentVisibilityStateOptions
DOMHighResTimeStamp = num
EncodedVideoChunkType = EncodedVideoChunkTypeOptions
EndingType = EndingTypeOptions
EpochTimeStamp = num
EventListenerOrEventListenerObject = Object
Exports = dynamic
ExportValue = Object
FileSystemHandleKind = FileSystemHandleKindOptions
FileSystemWriteChunkType = Object
Float32List = Object
FontDisplay = FontDisplayOptions
FontFaceLoadStatus = FontFaceLoadStatusOptions
FontFaceSetLoadStatus = FontFaceSetLoadStatusOptions
FormDataEntryValue = Object
FrameType = FrameTypeOptions
GLbitfield = num
GLboolean = bool
GLclampf = num
GLenum = num
GLfloat = num
GLint = num
GLint64 = num
GLintptr = num
GlobalCompositeOperation = GlobalCompositeOperationOptions
GLsizei = num
GLsizeiptr = num
GLuint = num
GLuint64 = num
HardwareAcceleration = HardwareAccelerationOptions
HashAlgorithmIdentifier = Object
HdrMetadataType = HdrMetadataTypeOptions
HeadersInit = Object
IDBCursorDirection = IDBCursorDirectionOptions
IDBRequestReadyState = IDBRequestReadyStateOptions
IDBTransactionDurability = IDBTransactionDurabilityOptions
IDBTransactionMode = IDBTransactionModeOptions
IDBValidKey = Object
ImageBitmapSource = Object
ImageOrientation = ImageOrientationOptions
ImageSmoothingQuality = ImageSmoothingQualityOptions
ImportExportKind = ImportExportKindOptions
Imports = dynamic
ImportValue = Object
Int32List = Object
KeyFormat = KeyFormatOptions
KeyType = KeyTypeOptions
KeyUsage = KeyUsageOptions
LatencyMode = LatencyModeOptions
LockMode = LockModeOptions
MediaDecodingType = MediaDecodingTypeOptions
MediaEncodingType = MediaEncodingTypeOptions
MessageEventSource = EventTarget
ModuleImports = dynamic
NamedCurve = String
NotificationDirection = NotificationDirectionOptions
NotificationPermission = NotificationPermissionOptions
OffscreenRenderingContext = Object
OffscreenRenderingContextId = OffscreenRenderingContextIdOptions
OnErrorEventHandler = OnErrorEventHandlerNonNull?
PerformanceEntryList = List<PerformanceEntry>
PermissionName = PermissionNameOptions
PermissionState = PermissionStateOptions
PredefinedColorSpace = PredefinedColorSpaceOptions
PremultiplyAlpha = PremultiplyAlphaOptions
PushEncryptionKeyName = PushEncryptionKeyNameOptions
PushMessageDataInit = Object
ReadableStreamController<T> = Object
ReadableStreamReader<T> = ReadableStreamGenericReader
ReadableStreamReaderMode = String
ReadableStreamReadResult<T> = ReadableStreamReadResultCommon
ReadableStreamType = String
ReferrerPolicy = ReferrerPolicyOptions
ReportList = List<Report>
RequestCache = RequestCacheOptions
RequestCredentials = RequestCredentialsOptions
RequestDestination = RequestDestinationOptions
RequestInfo = Object
RequestMode = RequestModeOptions
RequestRedirect = RequestRedirectOptions
ResizeQuality = ResizeQualityOptions
ResponseType = ResponseTypeOptions
RTCEncodedVideoFrameType = RTCEncodedVideoFrameTypeOptions
SecurityPolicyViolationEventDisposition = SecurityPolicyViolationEventDispositionOptions
ServiceWorkerState = ServiceWorkerStateOptions
ServiceWorkerUpdateViaCache = ServiceWorkerUpdateViaCacheOptions
TableKind = TableKindOptions
TexImageSource = Object
TimerHandler = Object
Transferable = Object
TransferFunction = TransferFunctionOptions
Uint32List = Object
ValueType = ValueTypeMapKeys
VibratePattern = Object
VideoColorPrimaries = VideoColorPrimariesOptions
VideoEncoderBitrateMode = VideoEncoderBitrateModeOptions
VideoMatrixCoefficients = VideoMatrixCoefficientsOptions
VideoPixelFormat = VideoPixelFormatOptions
VideoTransferCharacteristics = VideoTransferCharacteristicsOptions
WebGLPowerPreference = WebGLPowerPreferenceOptions
WebTransportCongestionControl = WebTransportCongestionControlOptions
WebTransportErrorSource = WebTransportErrorSourceOptions
WorkerType = WorkerTypeOptions
WriteCommandType = WriteCommandTypeOptions
XMLHttpRequestBodyInit = Object
XMLHttpRequestResponseType = XMLHttpRequestResponseTypeOptions