Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
a372aad
Match whole words when bolding member names in MDN comments (#2576)
NgoQuocViet2001 Nov 3, 2026
b720442
Make `options` required in `MutationObserver.observe()` (#2578)
MartinFerret Nov 3, 2026
51e2d51
Add a generic createElementNS overload for the XHTML namespace (#2582)
MartinFerret Nov 6, 2026
a3f7c80
Make Scheduler.postTask generic over the callback result (#2583)
MartinFerret Nov 8, 2026
f67ffe8
Restore ariaNotify (#2581)
bel1c10ud Nov 8, 2026
2511236
Bump mdn BCD to 8.0.5 (#2557)
Bashamega Nov 8, 2026
fef031e
Bump the eslint group across 1 directory with 5 updates (#2579)
dependabot[bot] Nov 8, 2026
00b3106
Bump qs from 6.15.2 to 6.17.1 (#2584)
dependabot[bot] Nov 8, 2026
b2e61dd
Manually update to idl@3.83.1 (#2585)
saschanaz Nov 8, 2026
ddef56e
Add typed overloads for Performance.getEntriesByType/getEntriesByName…
Ankith-B Nov 8, 2026
81e9d48
Manually update to idl@3.84.0 (#2586)
saschanaz Nov 8, 2026
d371f15
Manually update to idl@3.85.0 (#2587)
saschanaz Nov 8, 2026
fb9789b
Manually update to idl@3.85.1 (#2588)
saschanaz Nov 8, 2026
d2783f7
Manually update to idl@3.86.0 (#2589)
saschanaz Nov 8, 2026
f5b51ae
Manually update to bcd@8.0.6 (#2590)
saschanaz Nov 8, 2026
ec61ca7
Apply npm audit fix (#2591)
saschanaz Nov 8, 2026
87c00da
Manually update to bcd@8.0.7 (#2593)
saschanaz Nov 9, 2026
d8d5938
Manually update to bcd@8.0.9 (#2594)
saschanaz Nov 9, 2026
3d4101a
Manually update to bcd@8.0.13 (#2595)
saschanaz Nov 9, 2026
5387e95
Manually update to bcd@8.0.14 (#2597)
saschanaz Nov 10, 2026
ebf629b
Manually update to bcd@8.1.3 (#2598)
saschanaz Nov 10, 2026
0e599fa
Manually update to bcd@8.1.5 (#2599)
saschanaz Nov 10, 2026
9fa2d90
Manually update to bcd@8.1.6 (#2600)
saschanaz Nov 10, 2026
31d57f8
Manually update to bcd@8.1.7 (#2601)
saschanaz Nov 11, 2026
988acab
Manually update to bcd@8.1.8 (#2602)
saschanaz Nov 12, 2026
aea354f
Update core dependencies (#2603)
typescript-automation[bot] Nov 12, 2026
8859ea0
Manually update to idl@3.87.0 (#2605)
saschanaz Nov 15, 2026
f95b644
Type WebAssembly.Memory buffers as ArrayBufferLike for shared memorie…
MartinFerret Nov 30, 2026
f7effdf
Add byte stream bounds to WebTransport stream types (#2596)
MartinFerret Nov 30, 2026
bc1a6a8
Merge upstream main into baseline-filter
claude Nov 30, 2026
364d28f
Baseline cut: follow value types only once they are reached
claude Nov 30, 2026
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
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,18 @@ for changes to the build pipeline itself.

## Unreleased

- **Fix: a cut no longer keeps non-Baseline types that only an unused
dictionary refers to.** The reference closure treated every dictionary,
typedef and callback as a live reference, even ones the cut never emits.
So an interface named only by such a value type was kept as a type-only
shell, and so were the value types reachable from it. Example: the 2022 cut
carried `RTCIceCandidatePair` (named by the unused
`RTCIceCandidatePairEventInit`). The closure now follows a value type only
once something emitted reaches it, the same rule the emitter uses. This
drops roughly 85 to 120 unused declarations per cut, such as the WebGPU
object types, `AudioData`, `ClipboardItem`, `URLPattern` and the WebXR space
types. `Transferable` loses `AudioData` and `MediaStreamTrackHandle` in the
cuts where they aren't Baseline. Full (non-cut) builds are unaffected.
- **Fix: a cut no longer force-emits value types that nothing references.**
Dictionaries, enums, and typedefs named in the manual input files are kept
in every scope of a cut so that references hidden inside raw signature
Expand Down
17 changes: 12 additions & 5 deletions baselines/audioworklet.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -992,6 +992,12 @@ declare var ReadableStream: {
new(underlyingSource: UnderlyingByteSource, strategy?: { highWaterMark?: number }): ReadableStream<Uint8Array<ArrayBuffer>>;
new<R = any>(underlyingSource: UnderlyingDefaultSource<R>, strategy?: QueuingStrategy<R>): ReadableStream<R>;
new<R = any>(underlyingSource?: UnderlyingSource<R>, strategy?: QueuingStrategy<R>): ReadableStream<R>;
/**
* The **`ReadableStream.from()`** static method returns a ReadableStream from a provided iterable or async iterable object.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStream/from_static)
*/
from(asyncIterable: AsyncIterable<any> | Iterable<any>): ReadableStream;
};

/**
Expand Down Expand Up @@ -1684,26 +1690,27 @@ declare namespace WebAssembly {
*
* [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Memory)
*/
interface Memory {
interface Memory<TArrayBuffer extends ArrayBufferLike = ArrayBufferLike> {
/**
* The read-only **`buffer`** prototype property of the WebAssembly.Memory object returns the buffer contained in the memory. Depending on whether or not the memory was constructed with shared: true, the buffer is either an ArrayBuffer or a SharedArrayBuffer.
*
* [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Memory/buffer)
*/
readonly buffer: ArrayBuffer;
readonly buffer: TArrayBuffer;
/**
* The **`grow()`** prototype method of the WebAssembly.Memory object increases the size of the memory instance by a specified number of WebAssembly pages.
*
* [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Memory/grow)
*/
grow(delta: AddressValue): AddressValue;
toFixedLengthBuffer(): ArrayBuffer;
toResizableBuffer(): ArrayBuffer;
toFixedLengthBuffer(): TArrayBuffer;
toResizableBuffer(): TArrayBuffer;
}

var Memory: {
prototype: Memory;
new(descriptor: MemoryDescriptor): Memory;
new(descriptor: MemoryDescriptor & { shared?: false }): Memory<ArrayBuffer>;
new(descriptor: MemoryDescriptor): Memory<ArrayBufferLike>;
};

/**
Expand Down
136 changes: 92 additions & 44 deletions baselines/dom.generated.d.ts

Large diffs are not rendered by default.

64 changes: 49 additions & 15 deletions baselines/serviceworker.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -534,8 +534,10 @@ interface GPURenderPipelineDescriptor extends GPUPipelineDescriptorBase {
}

interface GPURequestAdapterOptions {
featureLevel?: string;
forceFallbackAdapter?: boolean;
powerPreference?: GPUPowerPreference;
xrCompatible?: boolean;
}

interface GPUSamplerBindingLayout {
Expand All @@ -555,8 +557,14 @@ interface GPUSamplerDescriptor extends GPUObjectDescriptorBase {
mipmapFilter?: GPUMipmapFilterMode;
}

interface GPUShaderModuleCompilationHint {
entryPoint: string;
layout?: GPUPipelineLayout | GPUAutoLayoutMode;
}

interface GPUShaderModuleDescriptor extends GPUObjectDescriptorBase {
code: string;
compilationHints?: GPUShaderModuleCompilationHint[];
}

interface GPUStencilFaceState {
Expand Down Expand Up @@ -613,6 +621,7 @@ interface GPUTextureViewDescriptor extends GPUObjectDescriptorBase {
dimension?: GPUTextureViewDimension;
format?: GPUTextureFormat;
mipLevelCount?: GPUIntegerCoordinate;
swizzle?: string;
usage?: GPUTextureUsageFlags;
}

Expand Down Expand Up @@ -3362,7 +3371,7 @@ interface DOMPointReadOnly {
*/
readonly x: number;
/**
* The DOMPointReadOnl**`y`** interface's y property holds the vertical coordinate, y, for a read-only point in space.
* The DOMPointReadOnly interface's **`y`** property holds the vertical coordinate, y, for a read-only point in space.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMPointReadOnly/y)
*/
Expand Down Expand Up @@ -4531,6 +4540,12 @@ interface FontFace {
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFace/status)
*/
readonly status: FontFaceLoadStatus;
/**
* The **`stretch`** property of the FontFace interface retrieves or sets how the font stretches.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFace/stretch)
*/
stretch: string;
/**
* The **`style`** property of the FontFace interface retrieves or sets the font's style.
*
Expand Down Expand Up @@ -7576,12 +7591,18 @@ interface Performance extends EventTarget {
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Performance/getEntriesByName)
*/
getEntriesByName(name: string, type: "mark"): PerformanceMark[];
getEntriesByName(name: string, type: "measure"): PerformanceMeasure[];
getEntriesByName(name: string, type: "resource"): PerformanceResourceTiming[];
getEntriesByName(name: string, type?: string): PerformanceEntryList;
/**
* The **`getEntriesByType()`** method returns an array of PerformanceEntry objects currently present in the performance timeline for a given type.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Performance/getEntriesByType)
*/
getEntriesByType(type: "mark"): PerformanceMark[];
getEntriesByType(type: "measure"): PerformanceMeasure[];
getEntriesByType(type: "resource"): PerformanceResourceTiming[];
getEntriesByType(type: string): PerformanceEntryList;
/**
* The **`mark()`** method creates a named PerformanceMark object representing a high resolution timestamp marker in the browser's performance timeline.
Expand Down Expand Up @@ -7759,12 +7780,18 @@ interface PerformanceObserverEntryList {
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceObserverEntryList/getEntriesByName)
*/
getEntriesByName(name: string, type: "mark"): PerformanceMark[];
getEntriesByName(name: string, type: "measure"): PerformanceMeasure[];
getEntriesByName(name: string, type: "resource"): PerformanceResourceTiming[];
getEntriesByName(name: string, type?: string): PerformanceEntryList;
/**
* The **`getEntriesByType()`** method of the PerformanceObserverEntryList returns a list of explicitly observed performance entry objects for a given performance entry type. The list's members are determined by the set of entry types specified in the call to the observe() method. The list is available in the observer's callback function (as the first parameter in the callback).
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceObserverEntryList/getEntriesByType)
*/
getEntriesByType(type: "mark"): PerformanceMark[];
getEntriesByType(type: "measure"): PerformanceMeasure[];
getEntriesByType(type: "resource"): PerformanceResourceTiming[];
getEntriesByType(type: string): PerformanceEntryList;
}

Expand Down Expand Up @@ -8402,6 +8429,12 @@ declare var ReadableStream: {
new(underlyingSource: UnderlyingByteSource, strategy?: { highWaterMark?: number }): ReadableStream<Uint8Array<ArrayBuffer>>;
new<R = any>(underlyingSource: UnderlyingDefaultSource<R>, strategy?: QueuingStrategy<R>): ReadableStream<R>;
new<R = any>(underlyingSource?: UnderlyingSource<R>, strategy?: QueuingStrategy<R>): ReadableStream<R>;
/**
* The **`ReadableStream.from()`** static method returns a ReadableStream from a provided iterable or async iterable object.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStream/from_static)
*/
from(asyncIterable: AsyncIterable<any> | Iterable<any>): ReadableStream;
};

/**
Expand Down Expand Up @@ -8753,7 +8786,7 @@ interface Scheduler {
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Scheduler/postTask)
*/
postTask(callback: SchedulerPostTaskCallback, options?: SchedulerPostTaskOptions): Promise<any>;
postTask<T = any>(callback: SchedulerPostTaskCallback<T>, options?: SchedulerPostTaskOptions): Promise<T>;
/**
* The **`yield()`** method of the Scheduler interface is used for yielding to the main thread during a task and continuing execution later, with the continuation scheduled as a prioritized task (see the Prioritized Task Scheduling API for more information). This allows long-running work to be broken up so the browser stays responsive.
*
Expand Down Expand Up @@ -12687,7 +12720,7 @@ interface WebTransportDatagramDuplexStream {
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream/outgoingMaxAge)
*/
outgoingMaxAge: number;
outgoingMaxAge: number | null;
/**
* 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.
*
Expand Down Expand Up @@ -12725,7 +12758,7 @@ declare var WebTransportDatagramDuplexStream: {
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramsWritable)
*/
interface WebTransportDatagramsWritable extends WritableStream {
interface WebTransportDatagramsWritable extends WritableStream<BufferSource> {
/**
* The **`sendGroup`** property of the WebTransportDatagramsWritable interface represents the WebTransportSendGroup that this WebTransportDatagramsWritable is grouped under for the purposes of sendOrder prioritization.
*
Expand Down Expand Up @@ -12777,7 +12810,7 @@ declare var WebTransportError: {
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportReceiveStream)
*/
interface WebTransportReceiveStream extends ReadableStream {
interface WebTransportReceiveStream extends ReadableStream<Uint8Array<ArrayBuffer>> {
/**
* The **`getStats()`** method of the WebTransportReceiveStream interface asynchronously returns an object containing statistics for the current stream.
*
Expand Down Expand Up @@ -12817,7 +12850,7 @@ declare var WebTransportSendGroup: {
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportSendStream)
*/
interface WebTransportSendStream extends WritableStream {
interface WebTransportSendStream extends WritableStream<BufferSource> {
/**
* The **`sendGroup`** property of the WebTransportSendStream interface represents the WebTransportSendGroup that this stream is grouped under for the purposes of sendOrder prioritization.
*
Expand Down Expand Up @@ -13343,26 +13376,27 @@ declare namespace WebAssembly {
*
* [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Memory)
*/
interface Memory {
interface Memory<TArrayBuffer extends ArrayBufferLike = ArrayBufferLike> {
/**
* The read-only **`buffer`** prototype property of the WebAssembly.Memory object returns the buffer contained in the memory. Depending on whether or not the memory was constructed with shared: true, the buffer is either an ArrayBuffer or a SharedArrayBuffer.
*
* [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Memory/buffer)
*/
readonly buffer: ArrayBuffer;
readonly buffer: TArrayBuffer;
/**
* The **`grow()`** prototype method of the WebAssembly.Memory object increases the size of the memory instance by a specified number of WebAssembly pages.
*
* [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Memory/grow)
*/
grow(delta: AddressValue): AddressValue;
toFixedLengthBuffer(): ArrayBuffer;
toResizableBuffer(): ArrayBuffer;
toFixedLengthBuffer(): TArrayBuffer;
toResizableBuffer(): TArrayBuffer;
}

var Memory: {
prototype: Memory;
new(descriptor: MemoryDescriptor): Memory;
new(descriptor: MemoryDescriptor & { shared?: false }): Memory<ArrayBuffer>;
new(descriptor: MemoryDescriptor): Memory<ArrayBufferLike>;
};

/**
Expand Down Expand Up @@ -13685,8 +13719,8 @@ interface ReportingObserverCallback {
(reports: Report[], observer: ReportingObserver): void;
}

interface SchedulerPostTaskCallback {
(): any;
interface SchedulerPostTaskCallback<T = any> {
(): T | PromiseLike<T>;
}

interface TransformerFlushCallback<O> {
Expand Down Expand Up @@ -13988,7 +14022,7 @@ type FontFaceSetLoadStatus = "loaded" | "loading";
type FrameType = "auxiliary" | "nested" | "none" | "top-level";
type GPUAddressMode = "clamp-to-edge" | "mirror-repeat" | "repeat";
type GPUAutoLayoutMode = "auto";
type GPUBlendFactor = "constant" | "dst" | "dst-alpha" | "one" | "one-minus-constant" | "one-minus-dst" | "one-minus-dst-alpha" | "one-minus-src" | "one-minus-src-alpha" | "src" | "src-alpha" | "src-alpha-saturated" | "zero";
type GPUBlendFactor = "constant" | "dst" | "dst-alpha" | "one" | "one-minus-constant" | "one-minus-dst" | "one-minus-dst-alpha" | "one-minus-src" | "one-minus-src-alpha" | "one-minus-src1" | "one-minus-src1-alpha" | "src" | "src-alpha" | "src-alpha-saturated" | "src1" | "src1-alpha" | "zero";
type GPUBlendOperation = "add" | "max" | "min" | "reverse-subtract" | "subtract";
type GPUBufferBindingType = "read-only-storage" | "storage" | "uniform";
type GPUBufferMapState = "mapped" | "pending" | "unmapped";
Expand All @@ -13998,7 +14032,7 @@ type GPUCompilationMessageType = "error" | "info" | "warning";
type GPUCullMode = "back" | "front" | "none";
type GPUDeviceLostReason = "destroyed" | "unknown";
type GPUErrorFilter = "internal" | "out-of-memory" | "validation";
type GPUFeatureName = "atomic-vec2u-min-max" | "bgra8unorm-storage" | "clip-distances" | "core-features-and-limits" | "depth-clip-control" | "depth32float-stencil8" | "dual-source-blending" | "float32-blendable" | "float32-filterable" | "indirect-first-instance" | "primitive-index" | "rg11b10ufloat-renderable" | "shader-f16" | "subgroups" | "texture-compression-astc" | "texture-compression-astc-sliced-3d" | "texture-compression-bc" | "texture-compression-bc-sliced-3d" | "texture-compression-etc2" | "texture-compression-unaligned" | "texture-formats-tier1" | "timestamp-query";
type GPUFeatureName = "bgra8unorm-storage" | "clip-distances" | "core-features-and-limits" | "depth-clip-control" | "depth32float-stencil8" | "dual-source-blending" | "float32-blendable" | "float32-filterable" | "indirect-first-instance" | "primitive-index" | "rg11b10ufloat-renderable" | "shader-f16" | "subgroups" | "texture-component-swizzle" | "texture-compression-astc" | "texture-compression-astc-sliced-3d" | "texture-compression-bc" | "texture-compression-bc-sliced-3d" | "texture-compression-etc2" | "texture-formats-tier1" | "texture-formats-tier2" | "timestamp-query";
type GPUFilterMode = "linear" | "nearest";
type GPUFrontFace = "ccw" | "cw";
type GPUIndexFormat = "uint16" | "uint32";
Expand Down
Loading