Skip to content

Update core dependencies #2024

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Closed
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
70 changes: 62 additions & 8 deletions baselines/dom.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -545,6 +545,7 @@ interface DeviceOrientationEventInit extends EventInit {
interface DisplayMediaStreamOptions {
audio?: boolean | MediaTrackConstraints;
video?: boolean | MediaTrackConstraints;
windowAudio?: WindowAudioPreferenceEnum;
}

interface DocumentTimelineOptions {
Expand Down Expand Up @@ -5079,7 +5080,7 @@ declare var CSSMathClamp: {
};

/**
* The **`CSSMathInvert`** interface of the CSS Typed Object Model API represents a CSS calc used as `calc(1 / <value>).` It inherits properties and methods from its parent CSSNumericValue.
* The **`CSSMathInvert`** interface of the CSS Typed Object Model API represents a CSS calc used as `calc(1 / <value>)`.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathInvert)
*/
Expand Down Expand Up @@ -6621,6 +6622,7 @@ interface CSSStyleDeclaration {
vectorEffect: string;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/vertical-align) */
verticalAlign: string;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/view-transition-class) */
viewTransitionClass: string;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/view-transition-name) */
viewTransitionName: string;
Expand Down Expand Up @@ -8279,6 +8281,38 @@ declare var CookieStore: {
new(): CookieStore;
};

/**
* The **`CookieStoreManager`** interface of the Cookie Store API allows service workers to subscribe to cookie change events.
* Available only in secure contexts.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CookieStoreManager)
*/
interface CookieStoreManager {
/**
* The **`getSubscriptions()`** method of the CookieStoreManager interface returns a list of all the cookie change subscriptions for this ServiceWorkerRegistration.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CookieStoreManager/getSubscriptions)
*/
getSubscriptions(): Promise<CookieStoreGetOptions[]>;
/**
* The **`subscribe()`** method of the CookieStoreManager interface subscribes a ServiceWorkerRegistration to cookie change events.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CookieStoreManager/subscribe)
*/
subscribe(subscriptions: CookieStoreGetOptions[]): Promise<void>;
/**
* The **`unsubscribe()`** method of the CookieStoreManager interface stops the ServiceWorkerRegistration from receiving previously subscribed events.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CookieStoreManager/unsubscribe)
*/
unsubscribe(subscriptions: CookieStoreGetOptions[]): Promise<void>;
}

declare var CookieStoreManager: {
prototype: CookieStoreManager;
new(): CookieStoreManager;
};

/**
* The **`CountQueuingStrategy`** interface of the Streams API provides a built-in chunk counting queuing strategy that can be used when constructing streams.
*
Expand Down Expand Up @@ -10691,7 +10725,7 @@ interface Element extends Node, ARIAMixin, Animatable, ChildNode, NonDocumentTyp
*/
id: string;
/**
* The Element property **`innerHTML`** gets or sets the HTML or XML markup contained within the element.
* The **`innerHTML`** property of the Element interface gets or sets the HTML or XML markup contained within the element.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/innerHTML)
*/
Expand Down Expand Up @@ -12634,6 +12668,7 @@ interface GlobalEventHandlersEventMap {
"pointermove": PointerEvent;
"pointerout": PointerEvent;
"pointerover": PointerEvent;
"pointerrawupdate": Event;
"pointerup": PointerEvent;
"progress": ProgressEvent;
"ratechange": Event;
Expand Down Expand Up @@ -12805,6 +12840,12 @@ interface GlobalEventHandlers {
onpointerout: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/pointerover_event) */
onpointerover: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
/**
* Available only in secure contexts.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/pointerrawupdate_event)
*/
onpointerrawupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a little bit early.

Firefox 140 (Release date: 2025-06-24)

Is the logic brocken?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As long as it's riding the train it's fine, because we know it's going to happen soon.

/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/pointerup_event) */
onpointerup: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/progress_event) */
Expand Down Expand Up @@ -17393,14 +17434,14 @@ interface HTMLTextAreaElement extends HTMLElement {
*/
setCustomValidity(error: string): void;
/**
* The **`setRangeText()`** method of the HTMLTextAreaElement interface replaces a range of text in an textarea element with new text passed as the argument.
* The **`setRangeText()`** method of the HTMLTextAreaElement interface replaces a range of text in a textarea element with new text passed as the argument.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/setRangeText)
*/
setRangeText(replacement: string): void;
setRangeText(replacement: string, start: number, end: number, selectionMode?: SelectionMode): void;
/**
* The **`setSelectionRange()`** method of the HTMLTextAreaElement interface sets the start and end positions of the current text selection, and optionally the direction, in an textarea element.
* The **`setSelectionRange()`** method of the HTMLTextAreaElement interface sets the start and end positions of the current text selection, and optionally the direction, in a textarea element.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/setSelectionRange)
*/
Expand Down Expand Up @@ -24096,7 +24137,7 @@ declare var ProcessingInstruction: {
};

/**
* The **`ProgressEvent`** interface represents events measuring progress of an underlying process, like an HTTP request (for an `XMLHttpRequest`, or the loading of the underlying resource of an img, audio, video, style or link).
* The **`ProgressEvent`** interface represents events that measure the progress of an underlying process, like an HTTP request (e.g., an `XMLHttpRequest`, or the loading of the underlying resource of an img, audio, video, style or link).
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ProgressEvent)
*/
Expand All @@ -24108,14 +24149,14 @@ interface ProgressEvent<T extends EventTarget = EventTarget> extends Event {
*/
readonly lengthComputable: boolean;
/**
* The **`ProgressEvent.loaded`** read-only property is a 64-bit unsigned integer indicating the size, in bytes, of the data already transmitted or processed.
* The **`ProgressEvent.loaded`** read-only property is a number indicating the size of the data already transmitted or processed.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ProgressEvent/loaded)
*/
readonly loaded: number;
readonly target: T | null;
/**
* The **`ProgressEvent.total`** read-only property is a 64-bit unsigned integer indicating the total size, in bytes, of the data being transmitted or processed.
* The **`ProgressEvent.total`** read-only property is a number indicating the total size of the data being transmitted or processed.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ProgressEvent/total)
*/
Expand Down Expand Up @@ -30569,6 +30610,12 @@ interface ServiceWorkerRegistration extends EventTarget {
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/active)
*/
readonly active: ServiceWorker | null;
/**
* The **`cookies`** read-only property of the ServiceWorkerRegistration interface returns a reference to the CookieStoreManager interface, which enables a web app to subscribe to and unsubscribe from cookie change events in a service worker.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/cookies)
*/
readonly cookies: CookieStoreManager;
/**
* The **`installing`** read-only property of the initially set to `null`.
*
Expand Down Expand Up @@ -30671,7 +30718,7 @@ interface ShadowRoot extends DocumentFragment, DocumentOrShadowRoot {
*/
readonly host: Element;
/**
* The **`innerHTML`** property of the ShadowRoot interface sets or returns a reference to the DOM tree inside the `ShadowRoot`.
* The **`innerHTML`** property of the ShadowRoot interface sets gets or sets the HTML markup to the DOM tree inside the `ShadowRoot`.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ShadowRoot/innerHTML)
*/
Expand Down Expand Up @@ -38893,6 +38940,12 @@ declare var onpointermove: ((this: Window, ev: PointerEvent) => any) | null;
declare var onpointerout: ((this: Window, ev: PointerEvent) => any) | null;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/pointerover_event) */
declare var onpointerover: ((this: Window, ev: PointerEvent) => any) | null;
/**
* Available only in secure contexts.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/pointerrawupdate_event)
*/
declare var onpointerrawupdate: ((this: Window, ev: Event) => any) | null;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/pointerup_event) */
declare var onpointerup: ((this: Window, ev: PointerEvent) => any) | null;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/progress_event) */
Expand Down Expand Up @@ -39338,6 +39391,7 @@ type WakeLockType = "screen";
type WebGLPowerPreference = "default" | "high-performance" | "low-power";
type WebTransportCongestionControl = "default" | "low-latency" | "throughput";
type WebTransportErrorSource = "session" | "stream";
type WindowAudioPreferenceEnum = "exclude" | "system" | "window";
type WorkerType = "classic" | "module";
type WriteCommandType = "seek" | "truncate" | "write";
type XMLHttpRequestResponseType = "" | "arraybuffer" | "blob" | "document" | "json" | "text";
15 changes: 15 additions & 0 deletions baselines/dom.iterable.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,21 @@ interface CanvasPathDrawingStyles {
setLineDash(segments: Iterable<number>): void;
}

interface CookieStoreManager {
/**
* The **`subscribe()`** method of the CookieStoreManager interface subscribes a ServiceWorkerRegistration to cookie change events.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CookieStoreManager/subscribe)
*/
subscribe(subscriptions: Iterable<CookieStoreGetOptions>): Promise<void>;
/**
* The **`unsubscribe()`** method of the CookieStoreManager interface stops the ServiceWorkerRegistration from receiving previously subscribed events.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CookieStoreManager/unsubscribe)
*/
unsubscribe(subscriptions: Iterable<CookieStoreGetOptions>): Promise<void>;
}

interface CustomStateSet extends Set<string> {
}

Expand Down
51 changes: 47 additions & 4 deletions baselines/serviceworker.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1111,7 +1111,7 @@ declare var CSSMathClamp: {
};

/**
* The **`CSSMathInvert`** interface of the CSS Typed Object Model API represents a CSS calc used as `calc(1 / <value>).` It inherits properties and methods from its parent CSSNumericValue.
* The **`CSSMathInvert`** interface of the CSS Typed Object Model API represents a CSS calc used as `calc(1 / <value>)`.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathInvert)
*/
Expand Down Expand Up @@ -2182,6 +2182,38 @@ declare var CookieStore: {
new(): CookieStore;
};

/**
* The **`CookieStoreManager`** interface of the Cookie Store API allows service workers to subscribe to cookie change events.
* Available only in secure contexts.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CookieStoreManager)
*/
interface CookieStoreManager {
/**
* The **`getSubscriptions()`** method of the CookieStoreManager interface returns a list of all the cookie change subscriptions for this ServiceWorkerRegistration.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CookieStoreManager/getSubscriptions)
*/
getSubscriptions(): Promise<CookieStoreGetOptions[]>;
/**
* The **`subscribe()`** method of the CookieStoreManager interface subscribes a ServiceWorkerRegistration to cookie change events.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CookieStoreManager/subscribe)
*/
subscribe(subscriptions: CookieStoreGetOptions[]): Promise<void>;
/**
* The **`unsubscribe()`** method of the CookieStoreManager interface stops the ServiceWorkerRegistration from receiving previously subscribed events.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CookieStoreManager/unsubscribe)
*/
unsubscribe(subscriptions: CookieStoreGetOptions[]): Promise<void>;
}

declare var CookieStoreManager: {
prototype: CookieStoreManager;
new(): CookieStoreManager;
};

/**
* The **`CountQueuingStrategy`** interface of the Streams API provides a built-in chunk counting queuing strategy that can be used when constructing streams.
*
Expand Down Expand Up @@ -6025,7 +6057,7 @@ declare var Permissions: {
};

/**
* The **`ProgressEvent`** interface represents events measuring progress of an underlying process, like an HTTP request (for an `XMLHttpRequest`, or the loading of the underlying resource of an img, audio, video, style or link).
* The **`ProgressEvent`** interface represents events that measure the progress of an underlying process, like an HTTP request (e.g., an `XMLHttpRequest`, or the loading of the underlying resource of an img, audio, video, style or link).
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ProgressEvent)
*/
Expand All @@ -6037,14 +6069,14 @@ interface ProgressEvent<T extends EventTarget = EventTarget> extends Event {
*/
readonly lengthComputable: boolean;
/**
* The **`ProgressEvent.loaded`** read-only property is a 64-bit unsigned integer indicating the size, in bytes, of the data already transmitted or processed.
* The **`ProgressEvent.loaded`** read-only property is a number indicating the size of the data already transmitted or processed.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ProgressEvent/loaded)
*/
readonly loaded: number;
readonly target: T | null;
/**
* The **`ProgressEvent.total`** read-only property is a 64-bit unsigned integer indicating the total size, in bytes, of the data being transmitted or processed.
* The **`ProgressEvent.total`** read-only property is a number indicating the total size of the data being transmitted or processed.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ProgressEvent/total)
*/
Expand Down Expand Up @@ -6945,6 +6977,7 @@ declare var ServiceWorkerContainer: {

interface ServiceWorkerGlobalScopeEventMap extends WorkerGlobalScopeEventMap {
"activate": ExtendableEvent;
"cookiechange": ExtendableCookieChangeEvent;
"fetch": FetchEvent;
"install": ExtendableEvent;
"message": ExtendableMessageEvent;
Expand Down Expand Up @@ -6976,6 +7009,8 @@ interface ServiceWorkerGlobalScope extends WorkerGlobalScope {
readonly cookieStore: CookieStore;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerGlobalScope/activate_event) */
onactivate: ((this: ServiceWorkerGlobalScope, ev: ExtendableEvent) => any) | null;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerGlobalScope/cookiechange_event) */
oncookiechange: ((this: ServiceWorkerGlobalScope, ev: ExtendableCookieChangeEvent) => any) | null;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerGlobalScope/fetch_event) */
onfetch: ((this: ServiceWorkerGlobalScope, ev: FetchEvent) => any) | null;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerGlobalScope/install_event) */
Expand Down Expand Up @@ -7038,6 +7073,12 @@ interface ServiceWorkerRegistration extends EventTarget {
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/active)
*/
readonly active: ServiceWorker | null;
/**
* The **`cookies`** read-only property of the ServiceWorkerRegistration interface returns a reference to the CookieStoreManager interface, which enables a web app to subscribe to and unsubscribe from cookie change events in a service worker.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/cookies)
*/
readonly cookies: CookieStoreManager;
/**
* The **`installing`** read-only property of the initially set to `null`.
*
Expand Down Expand Up @@ -11162,6 +11203,8 @@ declare var clients: Clients;
declare var cookieStore: CookieStore;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerGlobalScope/activate_event) */
declare var onactivate: ((this: ServiceWorkerGlobalScope, ev: ExtendableEvent) => any) | null;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerGlobalScope/cookiechange_event) */
declare var oncookiechange: ((this: ServiceWorkerGlobalScope, ev: ExtendableCookieChangeEvent) => any) | null;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerGlobalScope/fetch_event) */
declare var onfetch: ((this: ServiceWorkerGlobalScope, ev: FetchEvent) => any) | null;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerGlobalScope/install_event) */
Expand Down
15 changes: 15 additions & 0 deletions baselines/serviceworker.iterable.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,21 @@ interface CanvasPathDrawingStyles {
setLineDash(segments: Iterable<number>): void;
}

interface CookieStoreManager {
/**
* The **`subscribe()`** method of the CookieStoreManager interface subscribes a ServiceWorkerRegistration to cookie change events.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CookieStoreManager/subscribe)
*/
subscribe(subscriptions: Iterable<CookieStoreGetOptions>): Promise<void>;
/**
* The **`unsubscribe()`** method of the CookieStoreManager interface stops the ServiceWorkerRegistration from receiving previously subscribed events.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CookieStoreManager/unsubscribe)
*/
unsubscribe(subscriptions: Iterable<CookieStoreGetOptions>): Promise<void>;
}

interface DOMStringList {
[Symbol.iterator](): ArrayIterator<string>;
}
Expand Down
Loading