Skip to content

Commit 3d62c14

Browse files
authored
1 parent 5bd485e commit 3d62c14

24 files changed

+615
-71
lines changed

baselines/dom.generated.d.ts

Lines changed: 60 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5079,7 +5079,7 @@ declare var CSSMathClamp: {
50795079
};
50805080

50815081
/**
5082-
* 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.
5082+
* The **`CSSMathInvert`** interface of the CSS Typed Object Model API represents a CSS calc used as `calc(1 / <value>)`.
50835083
*
50845084
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathInvert)
50855085
*/
@@ -6621,6 +6621,7 @@ interface CSSStyleDeclaration {
66216621
vectorEffect: string;
66226622
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/vertical-align) */
66236623
verticalAlign: string;
6624+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/view-transition-class) */
66246625
viewTransitionClass: string;
66256626
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/view-transition-name) */
66266627
viewTransitionName: string;
@@ -8279,6 +8280,38 @@ declare var CookieStore: {
82798280
new(): CookieStore;
82808281
};
82818282

8283+
/**
8284+
* The **`CookieStoreManager`** interface of the Cookie Store API allows service workers to subscribe to cookie change events.
8285+
* Available only in secure contexts.
8286+
*
8287+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CookieStoreManager)
8288+
*/
8289+
interface CookieStoreManager {
8290+
/**
8291+
* The **`getSubscriptions()`** method of the CookieStoreManager interface returns a list of all the cookie change subscriptions for this ServiceWorkerRegistration.
8292+
*
8293+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CookieStoreManager/getSubscriptions)
8294+
*/
8295+
getSubscriptions(): Promise<CookieStoreGetOptions[]>;
8296+
/**
8297+
* The **`subscribe()`** method of the CookieStoreManager interface subscribes a ServiceWorkerRegistration to cookie change events.
8298+
*
8299+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CookieStoreManager/subscribe)
8300+
*/
8301+
subscribe(subscriptions: CookieStoreGetOptions[]): Promise<void>;
8302+
/**
8303+
* The **`unsubscribe()`** method of the CookieStoreManager interface stops the ServiceWorkerRegistration from receiving previously subscribed events.
8304+
*
8305+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CookieStoreManager/unsubscribe)
8306+
*/
8307+
unsubscribe(subscriptions: CookieStoreGetOptions[]): Promise<void>;
8308+
}
8309+
8310+
declare var CookieStoreManager: {
8311+
prototype: CookieStoreManager;
8312+
new(): CookieStoreManager;
8313+
};
8314+
82828315
/**
82838316
* The **`CountQueuingStrategy`** interface of the Streams API provides a built-in chunk counting queuing strategy that can be used when constructing streams.
82848317
*
@@ -10691,7 +10724,7 @@ interface Element extends Node, ARIAMixin, Animatable, ChildNode, NonDocumentTyp
1069110724
*/
1069210725
id: string;
1069310726
/**
10694-
* The Element property **`innerHTML`** gets or sets the HTML or XML markup contained within the element.
10727+
* The **`innerHTML`** property of the Element interface gets or sets the HTML or XML markup contained within the element.
1069510728
*
1069610729
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/innerHTML)
1069710730
*/
@@ -12634,6 +12667,7 @@ interface GlobalEventHandlersEventMap {
1263412667
"pointermove": PointerEvent;
1263512668
"pointerout": PointerEvent;
1263612669
"pointerover": PointerEvent;
12670+
"pointerrawupdate": Event;
1263712671
"pointerup": PointerEvent;
1263812672
"progress": ProgressEvent;
1263912673
"ratechange": Event;
@@ -12805,6 +12839,12 @@ interface GlobalEventHandlers {
1280512839
onpointerout: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
1280612840
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/pointerover_event) */
1280712841
onpointerover: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
12842+
/**
12843+
* Available only in secure contexts.
12844+
*
12845+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/pointerrawupdate_event)
12846+
*/
12847+
onpointerrawupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1280812848
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/pointerup_event) */
1280912849
onpointerup: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
1281012850
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/progress_event) */
@@ -17393,14 +17433,14 @@ interface HTMLTextAreaElement extends HTMLElement {
1739317433
*/
1739417434
setCustomValidity(error: string): void;
1739517435
/**
17396-
* The **`setRangeText()`** method of the HTMLTextAreaElement interface replaces a range of text in an textarea element with new text passed as the argument.
17436+
* The **`setRangeText()`** method of the HTMLTextAreaElement interface replaces a range of text in a textarea element with new text passed as the argument.
1739717437
*
1739817438
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/setRangeText)
1739917439
*/
1740017440
setRangeText(replacement: string): void;
1740117441
setRangeText(replacement: string, start: number, end: number, selectionMode?: SelectionMode): void;
1740217442
/**
17403-
* 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.
17443+
* 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.
1740417444
*
1740517445
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/setSelectionRange)
1740617446
*/
@@ -24096,7 +24136,7 @@ declare var ProcessingInstruction: {
2409624136
};
2409724137

2409824138
/**
24099-
* 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).
24139+
* 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).
2410024140
*
2410124141
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ProgressEvent)
2410224142
*/
@@ -24108,14 +24148,14 @@ interface ProgressEvent<T extends EventTarget = EventTarget> extends Event {
2410824148
*/
2410924149
readonly lengthComputable: boolean;
2411024150
/**
24111-
* The **`ProgressEvent.loaded`** read-only property is a 64-bit unsigned integer indicating the size, in bytes, of the data already transmitted or processed.
24151+
* The **`ProgressEvent.loaded`** read-only property is a number indicating the size of the data already transmitted or processed.
2411224152
*
2411324153
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ProgressEvent/loaded)
2411424154
*/
2411524155
readonly loaded: number;
2411624156
readonly target: T | null;
2411724157
/**
24118-
* 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.
24158+
* The **`ProgressEvent.total`** read-only property is a number indicating the total size of the data being transmitted or processed.
2411924159
*
2412024160
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ProgressEvent/total)
2412124161
*/
@@ -30569,6 +30609,12 @@ interface ServiceWorkerRegistration extends EventTarget {
3056930609
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/active)
3057030610
*/
3057130611
readonly active: ServiceWorker | null;
30612+
/**
30613+
* 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.
30614+
*
30615+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/cookies)
30616+
*/
30617+
readonly cookies: CookieStoreManager;
3057230618
/**
3057330619
* The **`installing`** read-only property of the initially set to `null`.
3057430620
*
@@ -30671,7 +30717,7 @@ interface ShadowRoot extends DocumentFragment, DocumentOrShadowRoot {
3067130717
*/
3067230718
readonly host: Element;
3067330719
/**
30674-
* The **`innerHTML`** property of the ShadowRoot interface sets or returns a reference to the DOM tree inside the `ShadowRoot`.
30720+
* The **`innerHTML`** property of the ShadowRoot interface sets gets or sets the HTML markup to the DOM tree inside the `ShadowRoot`.
3067530721
*
3067630722
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ShadowRoot/innerHTML)
3067730723
*/
@@ -38893,6 +38939,12 @@ declare var onpointermove: ((this: Window, ev: PointerEvent) => any) | null;
3889338939
declare var onpointerout: ((this: Window, ev: PointerEvent) => any) | null;
3889438940
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/pointerover_event) */
3889538941
declare var onpointerover: ((this: Window, ev: PointerEvent) => any) | null;
38942+
/**
38943+
* Available only in secure contexts.
38944+
*
38945+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/pointerrawupdate_event)
38946+
*/
38947+
declare var onpointerrawupdate: ((this: Window, ev: Event) => any) | null;
3889638948
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/pointerup_event) */
3889738949
declare var onpointerup: ((this: Window, ev: PointerEvent) => any) | null;
3889838950
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/progress_event) */

baselines/dom.iterable.generated.d.ts

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,21 @@ interface CanvasPathDrawingStyles {
8181
setLineDash(segments: Iterable<number>): void;
8282
}
8383

84+
interface CookieStoreManager {
85+
/**
86+
* The **`subscribe()`** method of the CookieStoreManager interface subscribes a ServiceWorkerRegistration to cookie change events.
87+
*
88+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CookieStoreManager/subscribe)
89+
*/
90+
subscribe(subscriptions: Iterable<CookieStoreGetOptions>): Promise<void>;
91+
/**
92+
* The **`unsubscribe()`** method of the CookieStoreManager interface stops the ServiceWorkerRegistration from receiving previously subscribed events.
93+
*
94+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CookieStoreManager/unsubscribe)
95+
*/
96+
unsubscribe(subscriptions: Iterable<CookieStoreGetOptions>): Promise<void>;
97+
}
98+
8499
interface CustomStateSet extends Set<string> {
85100
}
86101

baselines/serviceworker.generated.d.ts

Lines changed: 47 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1111,7 +1111,7 @@ declare var CSSMathClamp: {
11111111
};
11121112

11131113
/**
1114-
* 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.
1114+
* The **`CSSMathInvert`** interface of the CSS Typed Object Model API represents a CSS calc used as `calc(1 / <value>)`.
11151115
*
11161116
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathInvert)
11171117
*/
@@ -2182,6 +2182,38 @@ declare var CookieStore: {
21822182
new(): CookieStore;
21832183
};
21842184

2185+
/**
2186+
* The **`CookieStoreManager`** interface of the Cookie Store API allows service workers to subscribe to cookie change events.
2187+
* Available only in secure contexts.
2188+
*
2189+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CookieStoreManager)
2190+
*/
2191+
interface CookieStoreManager {
2192+
/**
2193+
* The **`getSubscriptions()`** method of the CookieStoreManager interface returns a list of all the cookie change subscriptions for this ServiceWorkerRegistration.
2194+
*
2195+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CookieStoreManager/getSubscriptions)
2196+
*/
2197+
getSubscriptions(): Promise<CookieStoreGetOptions[]>;
2198+
/**
2199+
* The **`subscribe()`** method of the CookieStoreManager interface subscribes a ServiceWorkerRegistration to cookie change events.
2200+
*
2201+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CookieStoreManager/subscribe)
2202+
*/
2203+
subscribe(subscriptions: CookieStoreGetOptions[]): Promise<void>;
2204+
/**
2205+
* The **`unsubscribe()`** method of the CookieStoreManager interface stops the ServiceWorkerRegistration from receiving previously subscribed events.
2206+
*
2207+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CookieStoreManager/unsubscribe)
2208+
*/
2209+
unsubscribe(subscriptions: CookieStoreGetOptions[]): Promise<void>;
2210+
}
2211+
2212+
declare var CookieStoreManager: {
2213+
prototype: CookieStoreManager;
2214+
new(): CookieStoreManager;
2215+
};
2216+
21852217
/**
21862218
* The **`CountQueuingStrategy`** interface of the Streams API provides a built-in chunk counting queuing strategy that can be used when constructing streams.
21872219
*
@@ -6025,7 +6057,7 @@ declare var Permissions: {
60256057
};
60266058

60276059
/**
6028-
* 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).
6060+
* 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).
60296061
*
60306062
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ProgressEvent)
60316063
*/
@@ -6037,14 +6069,14 @@ interface ProgressEvent<T extends EventTarget = EventTarget> extends Event {
60376069
*/
60386070
readonly lengthComputable: boolean;
60396071
/**
6040-
* The **`ProgressEvent.loaded`** read-only property is a 64-bit unsigned integer indicating the size, in bytes, of the data already transmitted or processed.
6072+
* The **`ProgressEvent.loaded`** read-only property is a number indicating the size of the data already transmitted or processed.
60416073
*
60426074
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ProgressEvent/loaded)
60436075
*/
60446076
readonly loaded: number;
60456077
readonly target: T | null;
60466078
/**
6047-
* 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.
6079+
* The **`ProgressEvent.total`** read-only property is a number indicating the total size of the data being transmitted or processed.
60486080
*
60496081
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ProgressEvent/total)
60506082
*/
@@ -6945,6 +6977,7 @@ declare var ServiceWorkerContainer: {
69456977

69466978
interface ServiceWorkerGlobalScopeEventMap extends WorkerGlobalScopeEventMap {
69476979
"activate": ExtendableEvent;
6980+
"cookiechange": ExtendableCookieChangeEvent;
69486981
"fetch": FetchEvent;
69496982
"install": ExtendableEvent;
69506983
"message": ExtendableMessageEvent;
@@ -6976,6 +7009,8 @@ interface ServiceWorkerGlobalScope extends WorkerGlobalScope {
69767009
readonly cookieStore: CookieStore;
69777010
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerGlobalScope/activate_event) */
69787011
onactivate: ((this: ServiceWorkerGlobalScope, ev: ExtendableEvent) => any) | null;
7012+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerGlobalScope/cookiechange_event) */
7013+
oncookiechange: ((this: ServiceWorkerGlobalScope, ev: ExtendableCookieChangeEvent) => any) | null;
69797014
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerGlobalScope/fetch_event) */
69807015
onfetch: ((this: ServiceWorkerGlobalScope, ev: FetchEvent) => any) | null;
69817016
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerGlobalScope/install_event) */
@@ -7038,6 +7073,12 @@ interface ServiceWorkerRegistration extends EventTarget {
70387073
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/active)
70397074
*/
70407075
readonly active: ServiceWorker | null;
7076+
/**
7077+
* 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.
7078+
*
7079+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/cookies)
7080+
*/
7081+
readonly cookies: CookieStoreManager;
70417082
/**
70427083
* The **`installing`** read-only property of the initially set to `null`.
70437084
*
@@ -11162,6 +11203,8 @@ declare var clients: Clients;
1116211203
declare var cookieStore: CookieStore;
1116311204
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerGlobalScope/activate_event) */
1116411205
declare var onactivate: ((this: ServiceWorkerGlobalScope, ev: ExtendableEvent) => any) | null;
11206+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerGlobalScope/cookiechange_event) */
11207+
declare var oncookiechange: ((this: ServiceWorkerGlobalScope, ev: ExtendableCookieChangeEvent) => any) | null;
1116511208
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerGlobalScope/fetch_event) */
1116611209
declare var onfetch: ((this: ServiceWorkerGlobalScope, ev: FetchEvent) => any) | null;
1116711210
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerGlobalScope/install_event) */

baselines/serviceworker.iterable.generated.d.ts

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,21 @@ interface CanvasPathDrawingStyles {
4242
setLineDash(segments: Iterable<number>): void;
4343
}
4444

45+
interface CookieStoreManager {
46+
/**
47+
* The **`subscribe()`** method of the CookieStoreManager interface subscribes a ServiceWorkerRegistration to cookie change events.
48+
*
49+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CookieStoreManager/subscribe)
50+
*/
51+
subscribe(subscriptions: Iterable<CookieStoreGetOptions>): Promise<void>;
52+
/**
53+
* The **`unsubscribe()`** method of the CookieStoreManager interface stops the ServiceWorkerRegistration from receiving previously subscribed events.
54+
*
55+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CookieStoreManager/unsubscribe)
56+
*/
57+
unsubscribe(subscriptions: Iterable<CookieStoreGetOptions>): Promise<void>;
58+
}
59+
4560
interface DOMStringList {
4661
[Symbol.iterator](): ArrayIterator<string>;
4762
}

baselines/sharedworker.generated.d.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1047,7 +1047,7 @@ declare var CSSMathClamp: {
10471047
};
10481048

10491049
/**
1050-
* 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.
1050+
* The **`CSSMathInvert`** interface of the CSS Typed Object Model API represents a CSS calc used as `calc(1 / <value>)`.
10511051
*
10521052
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathInvert)
10531053
*/
@@ -5715,7 +5715,7 @@ declare var Permissions: {
57155715
};
57165716

57175717
/**
5718-
* 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).
5718+
* 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).
57195719
*
57205720
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ProgressEvent)
57215721
*/
@@ -5727,14 +5727,14 @@ interface ProgressEvent<T extends EventTarget = EventTarget> extends Event {
57275727
*/
57285728
readonly lengthComputable: boolean;
57295729
/**
5730-
* The **`ProgressEvent.loaded`** read-only property is a 64-bit unsigned integer indicating the size, in bytes, of the data already transmitted or processed.
5730+
* The **`ProgressEvent.loaded`** read-only property is a number indicating the size of the data already transmitted or processed.
57315731
*
57325732
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ProgressEvent/loaded)
57335733
*/
57345734
readonly loaded: number;
57355735
readonly target: T | null;
57365736
/**
5737-
* 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.
5737+
* The **`ProgressEvent.total`** read-only property is a number indicating the total size of the data being transmitted or processed.
57385738
*
57395739
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ProgressEvent/total)
57405740
*/

0 commit comments

Comments
 (0)