Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
100 changes: 77 additions & 23 deletions baselines/dom.generated.d.ts

Large diffs are not rendered by default.

80 changes: 69 additions & 11 deletions baselines/serviceworker.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,10 @@ interface CacheQueryOptions {
ignoreVary?: boolean;
}

interface CanvasToneMapping {
mode?: CanvasToneMappingMode;
}

interface ClientQueryOptions {
includeUncontrolled?: boolean;
type?: ClientTypes;
Expand Down Expand Up @@ -331,15 +335,11 @@ interface GPUCanvasConfiguration {
colorSpace?: PredefinedColorSpace;
device: GPUDevice;
format: GPUTextureFormat;
toneMapping?: GPUCanvasToneMapping;
toneMapping?: CanvasToneMapping;
usage?: GPUTextureUsageFlags;
viewFormats?: GPUTextureFormat[];
}

interface GPUCanvasToneMapping {
mode?: GPUCanvasToneMappingMode;
}

interface GPUColorDict {
a: number;
b: number;
Expand Down Expand Up @@ -3664,6 +3664,13 @@ interface EXT_color_buffer_half_float {
readonly UNSIGNED_NORMALIZED_EXT: 0x8C17;
}

interface EXT_conservative_depth {
}

interface EXT_depth_clamp {
readonly DEPTH_CLAMP_EXT: 0x864F;
}

/**
* The WebGL API's **`EXT_float_blend`** extension allows blending and draw buffers with 32-bit floating-point components.
*
Expand Down Expand Up @@ -3695,6 +3702,9 @@ interface EXT_polygon_offset_clamp {
readonly POLYGON_OFFSET_CLAMP_EXT: 0x8E1B;
}

interface EXT_render_snorm {
}

/**
* The **`EXT_sRGB`** extension is part of the WebGL API and adds sRGB support to textures and framebuffer objects.
*
Expand Down Expand Up @@ -7000,6 +7010,9 @@ declare var MessagePort: {
new(): MessagePort;
};

interface NV_shader_noperspective_interpolation {
}

/**
* The **`NavigationPreloadManager`** interface of the Service Worker API provides methods for managing the preloading of resources in parallel with service worker bootup.
* Available only in secure contexts.
Expand Down Expand Up @@ -7306,6 +7319,15 @@ interface OES_element_index_uint {
interface OES_fbo_render_mipmap {
}

interface OES_sample_variables {
}

interface OES_shader_multisample_interpolation {
readonly MIN_FRAGMENT_INTERPOLATION_OFFSET_OES: 0x8E5B;
readonly MAX_FRAGMENT_INTERPOLATION_OFFSET_OES: 0x8E5C;
readonly FRAGMENT_INTERPOLATION_OFFSET_BITS_OES: 0x8E5D;
}

/**
* The **`OES_standard_derivatives`** extension is part of the WebGL API and adds the GLSL derivative functions dFdx, dFdy, and fwidth.
*
Expand Down Expand Up @@ -10088,6 +10110,22 @@ interface WEBGL_multi_draw {
multiDrawElementsWEBGL(mode: GLenum, countsList: Int32Array<ArrayBufferLike> | GLsizei[], countsOffset: number, type: GLenum, offsetsList: Int32Array<ArrayBufferLike> | GLsizei[], offsetsOffset: number, drawcount: GLsizei): void;
}

interface WEBGL_polygon_mode {
polygonModeWEBGL(face: GLenum, mode: GLenum): void;
readonly POLYGON_MODE_WEBGL: 0x0B40;
readonly POLYGON_OFFSET_LINE_WEBGL: 0x2A02;
readonly LINE_WEBGL: 0x1B01;
readonly FILL_WEBGL: 0x1B02;
}

interface WEBGL_render_shared_exponent {
}

interface WEBGL_stencil_texturing {
readonly DEPTH_STENCIL_TEXTURE_MODE_WEBGL: 0x90EA;
readonly STENCIL_INDEX_WEBGL: 0x1901;
}

/**
* The **`WGSLLanguageFeatures`** interface of the WebGPU API is a setlike object that reports the WGSL language extensions supported by the WebGPU implementation.
* Available only in secure contexts.
Expand Down Expand Up @@ -12443,9 +12481,17 @@ declare var WebSocket: {
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransport)
*/
interface WebTransport {
/** The **`anticipatedConcurrentIncomingBidirectionalStreams`** property of the WebTransport interface represents the number of incoming bidirectional streams that the application expects the server to have open at the same time. */
/**
* The **`anticipatedConcurrentIncomingBidirectionalStreams`** property of the WebTransport interface represents the number of incoming bidirectional streams that the application expects the server to have open at the same time.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransport/anticipatedConcurrentIncomingBidirectionalStreams)
*/
anticipatedConcurrentIncomingBidirectionalStreams: number | null;
/** The **`anticipatedConcurrentIncomingUnidirectionalStreams`** property of the WebTransport interface represents the number of incoming unidirectional streams that the application expects the server to have open at the same time. */
/**
* The **`anticipatedConcurrentIncomingUnidirectionalStreams`** property of the WebTransport interface represents the number of incoming unidirectional streams that the application expects the server to have open at the same time.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransport/anticipatedConcurrentIncomingUnidirectionalStreams)
*/
anticipatedConcurrentIncomingUnidirectionalStreams: number | null;
/**
* The **`closed`** read-only property of the WebTransport interface returns a promise that resolves when the transport is closed.
Expand Down Expand Up @@ -12501,7 +12547,11 @@ interface WebTransport {
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransport/reliability)
*/
readonly reliability: WebTransportReliabilityMode;
/** The **`responseHeaders`** read-only property of the WebTransport interface returns the HTTP headers from the server's response to the request that set up the session. */
/**
* The **`responseHeaders`** read-only property of the WebTransport interface returns the HTTP headers from the server's response to the request that set up the session.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransport/responseHeaders)
*/
readonly responseHeaders: Headers | null;
/**
* The **`close()`** method of the WebTransport interface closes an ongoing WebTransport session.
Expand Down Expand Up @@ -12597,7 +12647,11 @@ interface WebTransportDatagramDuplexStream {
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream/incomingMaxAge)
*/
incomingMaxAge: number | null;
/** The **`incomingMaxBufferedDatagrams`** property of the WebTransportDatagramDuplexStream interface represents the maximum number of incoming datagrams that can be queued while waiting to be read from the readable stream. */
/**
* The **`incomingMaxBufferedDatagrams`** property of the WebTransportDatagramDuplexStream interface represents the maximum number of incoming datagrams that can be queued while waiting to be read from the readable stream.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream/incomingMaxBufferedDatagrams)
*/
incomingMaxBufferedDatagrams: number;
/**
* The **`maxDatagramSize`** read-only property of the WebTransportDatagramDuplexStream interface returns the maximum allowable size of outgoing datagrams, in bytes, that can be written to writable.
Expand All @@ -12617,7 +12671,11 @@ interface WebTransportDatagramDuplexStream {
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream/outgoingMaxAge)
*/
outgoingMaxAge: number;
/** The **`outgoingMaxBufferedDatagrams`** property of the WebTransportDatagramDuplexStream interface represents the maximum number of outgoing datagrams that can be queued for sending on each WebTransportDatagramsWritable before backpressure is applied. */
/**
* The **`outgoingMaxBufferedDatagrams`** property of the WebTransportDatagramDuplexStream interface represents the maximum number of outgoing datagrams that can be queued for sending on each WebTransportDatagramsWritable before backpressure is applied.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream/outgoingMaxBufferedDatagrams)
*/
outgoingMaxBufferedDatagrams: number;
/**
* The **`readable`** read-only property of the WebTransportDatagramDuplexStream interface returns a ReadableStream instance that can be used to unreliably read incoming datagrams from the stream.
Expand Down Expand Up @@ -13898,6 +13956,7 @@ type CanvasLineJoin = "bevel" | "miter" | "round";
type CanvasTextAlign = "center" | "end" | "left" | "right" | "start";
type CanvasTextBaseline = "alphabetic" | "bottom" | "hanging" | "ideographic" | "middle" | "top";
type CanvasTextRendering = "auto" | "geometricPrecision" | "optimizeLegibility" | "optimizeSpeed";
type CanvasToneMappingMode = "extended" | "standard";
type ClientTypes = "all" | "sharedworker" | "window" | "worker";
type ColorGamut = "p3" | "rec2020" | "srgb";
type ColorSpaceConversion = "default" | "none";
Expand All @@ -13917,7 +13976,6 @@ type GPUBlendOperation = "add" | "max" | "min" | "reverse-subtract" | "subtract"
type GPUBufferBindingType = "read-only-storage" | "storage" | "uniform";
type GPUBufferMapState = "mapped" | "pending" | "unmapped";
type GPUCanvasAlphaMode = "opaque" | "premultiplied";
type GPUCanvasToneMappingMode = "extended" | "standard";
type GPUCompareFunction = "always" | "equal" | "greater" | "greater-equal" | "less" | "less-equal" | "never" | "not-equal";
type GPUCompilationMessageType = "error" | "info" | "warning";
type GPUCullMode = "back" | "front" | "none";
Expand Down
80 changes: 69 additions & 11 deletions baselines/sharedworker.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,10 @@ interface CacheQueryOptions {
ignoreVary?: boolean;
}

interface CanvasToneMapping {
mode?: CanvasToneMappingMode;
}

interface CloseEventInit extends EventInit {
code?: number;
reason?: string;
Expand Down Expand Up @@ -275,15 +279,11 @@ interface GPUCanvasConfiguration {
colorSpace?: PredefinedColorSpace;
device: GPUDevice;
format: GPUTextureFormat;
toneMapping?: GPUCanvasToneMapping;
toneMapping?: CanvasToneMapping;
usage?: GPUTextureUsageFlags;
viewFormats?: GPUTextureFormat[];
}

interface GPUCanvasToneMapping {
mode?: GPUCanvasToneMappingMode;
}

interface GPUColorDict {
a: number;
b: number;
Expand Down Expand Up @@ -3426,6 +3426,13 @@ interface EXT_color_buffer_half_float {
readonly UNSIGNED_NORMALIZED_EXT: 0x8C17;
}

interface EXT_conservative_depth {
}

interface EXT_depth_clamp {
readonly DEPTH_CLAMP_EXT: 0x864F;
}

/**
* The WebGL API's **`EXT_float_blend`** extension allows blending and draw buffers with 32-bit floating-point components.
*
Expand Down Expand Up @@ -3457,6 +3464,9 @@ interface EXT_polygon_offset_clamp {
readonly POLYGON_OFFSET_CLAMP_EXT: 0x8E1B;
}

interface EXT_render_snorm {
}

/**
* The **`EXT_sRGB`** extension is part of the WebGL API and adds sRGB support to textures and framebuffer objects.
*
Expand Down Expand Up @@ -6645,6 +6655,9 @@ declare var MessagePort: {
new(): MessagePort;
};

interface NV_shader_noperspective_interpolation {
}

/**
* The **`NavigationPreloadManager`** interface of the Service Worker API provides methods for managing the preloading of resources in parallel with service worker bootup.
* Available only in secure contexts.
Expand Down Expand Up @@ -6926,6 +6939,15 @@ interface OES_element_index_uint {
interface OES_fbo_render_mipmap {
}

interface OES_sample_variables {
}

interface OES_shader_multisample_interpolation {
readonly MIN_FRAGMENT_INTERPOLATION_OFFSET_OES: 0x8E5B;
readonly MAX_FRAGMENT_INTERPOLATION_OFFSET_OES: 0x8E5C;
readonly FRAGMENT_INTERPOLATION_OFFSET_BITS_OES: 0x8E5D;
}

/**
* The **`OES_standard_derivatives`** extension is part of the WebGL API and adds the GLSL derivative functions dFdx, dFdy, and fwidth.
*
Expand Down Expand Up @@ -9593,6 +9615,22 @@ interface WEBGL_multi_draw {
multiDrawElementsWEBGL(mode: GLenum, countsList: Int32Array<ArrayBufferLike> | GLsizei[], countsOffset: number, type: GLenum, offsetsList: Int32Array<ArrayBufferLike> | GLsizei[], offsetsOffset: number, drawcount: GLsizei): void;
}

interface WEBGL_polygon_mode {
polygonModeWEBGL(face: GLenum, mode: GLenum): void;
readonly POLYGON_MODE_WEBGL: 0x0B40;
readonly POLYGON_OFFSET_LINE_WEBGL: 0x2A02;
readonly LINE_WEBGL: 0x1B01;
readonly FILL_WEBGL: 0x1B02;
}

interface WEBGL_render_shared_exponent {
}

interface WEBGL_stencil_texturing {
readonly DEPTH_STENCIL_TEXTURE_MODE_WEBGL: 0x90EA;
readonly STENCIL_INDEX_WEBGL: 0x1901;
}

/**
* The **`WGSLLanguageFeatures`** interface of the WebGPU API is a setlike object that reports the WGSL language extensions supported by the WebGPU implementation.
* Available only in secure contexts.
Expand Down Expand Up @@ -11948,9 +11986,17 @@ declare var WebSocket: {
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransport)
*/
interface WebTransport {
/** The **`anticipatedConcurrentIncomingBidirectionalStreams`** property of the WebTransport interface represents the number of incoming bidirectional streams that the application expects the server to have open at the same time. */
/**
* The **`anticipatedConcurrentIncomingBidirectionalStreams`** property of the WebTransport interface represents the number of incoming bidirectional streams that the application expects the server to have open at the same time.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransport/anticipatedConcurrentIncomingBidirectionalStreams)
*/
anticipatedConcurrentIncomingBidirectionalStreams: number | null;
/** The **`anticipatedConcurrentIncomingUnidirectionalStreams`** property of the WebTransport interface represents the number of incoming unidirectional streams that the application expects the server to have open at the same time. */
/**
* The **`anticipatedConcurrentIncomingUnidirectionalStreams`** property of the WebTransport interface represents the number of incoming unidirectional streams that the application expects the server to have open at the same time.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransport/anticipatedConcurrentIncomingUnidirectionalStreams)
*/
anticipatedConcurrentIncomingUnidirectionalStreams: number | null;
/**
* The **`closed`** read-only property of the WebTransport interface returns a promise that resolves when the transport is closed.
Expand Down Expand Up @@ -12006,7 +12052,11 @@ interface WebTransport {
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransport/reliability)
*/
readonly reliability: WebTransportReliabilityMode;
/** The **`responseHeaders`** read-only property of the WebTransport interface returns the HTTP headers from the server's response to the request that set up the session. */
/**
* The **`responseHeaders`** read-only property of the WebTransport interface returns the HTTP headers from the server's response to the request that set up the session.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransport/responseHeaders)
*/
readonly responseHeaders: Headers | null;
/**
* The **`close()`** method of the WebTransport interface closes an ongoing WebTransport session.
Expand Down Expand Up @@ -12102,7 +12152,11 @@ interface WebTransportDatagramDuplexStream {
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream/incomingMaxAge)
*/
incomingMaxAge: number | null;
/** The **`incomingMaxBufferedDatagrams`** property of the WebTransportDatagramDuplexStream interface represents the maximum number of incoming datagrams that can be queued while waiting to be read from the readable stream. */
/**
* The **`incomingMaxBufferedDatagrams`** property of the WebTransportDatagramDuplexStream interface represents the maximum number of incoming datagrams that can be queued while waiting to be read from the readable stream.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream/incomingMaxBufferedDatagrams)
*/
incomingMaxBufferedDatagrams: number;
/**
* The **`maxDatagramSize`** read-only property of the WebTransportDatagramDuplexStream interface returns the maximum allowable size of outgoing datagrams, in bytes, that can be written to writable.
Expand All @@ -12122,7 +12176,11 @@ interface WebTransportDatagramDuplexStream {
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream/outgoingMaxAge)
*/
outgoingMaxAge: number;
/** The **`outgoingMaxBufferedDatagrams`** property of the WebTransportDatagramDuplexStream interface represents the maximum number of outgoing datagrams that can be queued for sending on each WebTransportDatagramsWritable before backpressure is applied. */
/**
* The **`outgoingMaxBufferedDatagrams`** property of the WebTransportDatagramDuplexStream interface represents the maximum number of outgoing datagrams that can be queued for sending on each WebTransportDatagramsWritable before backpressure is applied.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream/outgoingMaxBufferedDatagrams)
*/
outgoingMaxBufferedDatagrams: number;
/**
* The **`readable`** read-only property of the WebTransportDatagramDuplexStream interface returns a ReadableStream instance that can be used to unreliably read incoming datagrams from the stream.
Expand Down Expand Up @@ -13546,6 +13604,7 @@ type CanvasLineJoin = "bevel" | "miter" | "round";
type CanvasTextAlign = "center" | "end" | "left" | "right" | "start";
type CanvasTextBaseline = "alphabetic" | "bottom" | "hanging" | "ideographic" | "middle" | "top";
type CanvasTextRendering = "auto" | "geometricPrecision" | "optimizeLegibility" | "optimizeSpeed";
type CanvasToneMappingMode = "extended" | "standard";
type ClientTypes = "all" | "sharedworker" | "window" | "worker";
type ColorGamut = "p3" | "rec2020" | "srgb";
type ColorSpaceConversion = "default" | "none";
Expand All @@ -13562,7 +13621,6 @@ type GPUBlendOperation = "add" | "max" | "min" | "reverse-subtract" | "subtract"
type GPUBufferBindingType = "read-only-storage" | "storage" | "uniform";
type GPUBufferMapState = "mapped" | "pending" | "unmapped";
type GPUCanvasAlphaMode = "opaque" | "premultiplied";
type GPUCanvasToneMappingMode = "extended" | "standard";
type GPUCompareFunction = "always" | "equal" | "greater" | "greater-equal" | "less" | "less-equal" | "never" | "not-equal";
type GPUCompilationMessageType = "error" | "info" | "warning";
type GPUCullMode = "back" | "front" | "none";
Expand Down
Loading