Skip to content

Commit 6f8d929

Browse files
committed
-
1 parent c4062ba commit 6f8d929

15 files changed

+1470
-342
lines changed

baselines/audioworklet.generated.d.ts

Lines changed: 20 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -242,9 +242,17 @@ interface AbortSignal extends EventTarget {
242242
declare var AbortSignal: {
243243
prototype: AbortSignal;
244244
new(): AbortSignal;
245-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/abort_static) */
245+
/**
246+
* The **`AbortSignal.abort()`** static method returns an AbortSignal that is already set as aborted (and which does not trigger an AbortSignal/abort_event event).
247+
*
248+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/abort_static)
249+
*/
246250
abort(reason?: any): AbortSignal;
247-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/any_static) */
251+
/**
252+
* The **`AbortSignal.any()`** static method takes an iterable of abort signals and returns an AbortSignal.
253+
*
254+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/any_static)
255+
*/
248256
any(signals: AbortSignal[]): AbortSignal;
249257
};
250258

@@ -1314,9 +1322,17 @@ interface URL {
13141322
declare var URL: {
13151323
prototype: URL;
13161324
new(url: string | URL, base?: string | URL): URL;
1317-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/canParse_static) */
1325+
/**
1326+
* The **`URL.canParse()`** static method of the URL interface returns a boolean indicating whether or not an absolute URL, or a relative URL combined with a base URL, are parsable and valid.
1327+
*
1328+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/canParse_static)
1329+
*/
13181330
canParse(url: string | URL, base?: string | URL): boolean;
1319-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/parse_static) */
1331+
/**
1332+
* The **`URL.parse()`** static method of the URL interface returns a newly created URL object representing the URL defined by the parameters.
1333+
*
1334+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/parse_static)
1335+
*/
13201336
parse(url: string | URL, base?: string | URL): URL | null;
13211337
};
13221338

baselines/dom.generated.d.ts

Lines changed: 200 additions & 44 deletions
Large diffs are not rendered by default.

baselines/serviceworker.generated.d.ts

Lines changed: 75 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -882,11 +882,23 @@ interface AbortSignal extends EventTarget {
882882
declare var AbortSignal: {
883883
prototype: AbortSignal;
884884
new(): AbortSignal;
885-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/abort_static) */
885+
/**
886+
* The **`AbortSignal.abort()`** static method returns an AbortSignal that is already set as aborted (and which does not trigger an AbortSignal/abort_event event).
887+
*
888+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/abort_static)
889+
*/
886890
abort(reason?: any): AbortSignal;
887-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/any_static) */
891+
/**
892+
* The **`AbortSignal.any()`** static method takes an iterable of abort signals and returns an AbortSignal.
893+
*
894+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/any_static)
895+
*/
888896
any(signals: AbortSignal[]): AbortSignal;
889-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/timeout_static) */
897+
/**
898+
* The **`AbortSignal.timeout()`** static method returns an AbortSignal that will automatically abort after a specified time.
899+
*
900+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/timeout_static)
901+
*/
890902
timeout(milliseconds: number): AbortSignal;
891903
};
892904

@@ -2688,7 +2700,11 @@ interface DOMPoint extends DOMPointReadOnly {
26882700
declare var DOMPoint: {
26892701
prototype: DOMPoint;
26902702
new(x?: number, y?: number, z?: number, w?: number): DOMPoint;
2691-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMPoint/fromPoint_static) */
2703+
/**
2704+
* The **`fromPoint()`** static method of the DOMPoint interface creates and returns a new mutable `DOMPoint` object given a source point.
2705+
*
2706+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMPoint/fromPoint_static)
2707+
*/
26922708
fromPoint(other?: DOMPointInit): DOMPoint;
26932709
};
26942710

@@ -2739,7 +2755,11 @@ interface DOMPointReadOnly {
27392755
declare var DOMPointReadOnly: {
27402756
prototype: DOMPointReadOnly;
27412757
new(x?: number, y?: number, z?: number, w?: number): DOMPointReadOnly;
2742-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMPointReadOnly/fromPoint_static) */
2758+
/**
2759+
* The static **DOMPointReadOnly** method `fromPoint()` creates and returns a new `DOMPointReadOnly` object given a source point.
2760+
*
2761+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMPointReadOnly/fromPoint_static)
2762+
*/
27432763
fromPoint(other?: DOMPointInit): DOMPointReadOnly;
27442764
};
27452765

@@ -2829,7 +2849,11 @@ interface DOMRect extends DOMRectReadOnly {
28292849
declare var DOMRect: {
28302850
prototype: DOMRect;
28312851
new(x?: number, y?: number, width?: number, height?: number): DOMRect;
2832-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMRect/fromRect_static) */
2852+
/**
2853+
* The **`fromRect()`** static method of the object with a given location and dimensions.
2854+
*
2855+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMRect/fromRect_static)
2856+
*/
28332857
fromRect(other?: DOMRectInit): DOMRect;
28342858
};
28352859

@@ -2898,7 +2922,11 @@ interface DOMRectReadOnly {
28982922
declare var DOMRectReadOnly: {
28992923
prototype: DOMRectReadOnly;
29002924
new(x?: number, y?: number, width?: number, height?: number): DOMRectReadOnly;
2901-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMRectReadOnly/fromRect_static) */
2925+
/**
2926+
* The **`fromRect()`** static method of the object with a given location and dimensions.
2927+
*
2928+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMRectReadOnly/fromRect_static)
2929+
*/
29022930
fromRect(other?: DOMRectInit): DOMRectReadOnly;
29032931
};
29042932

@@ -4380,25 +4408,25 @@ declare var IDBKeyRange: {
43804408
prototype: IDBKeyRange;
43814409
new(): IDBKeyRange;
43824410
/**
4383-
* Returns a new IDBKeyRange spanning from lower to upper. If lowerOpen is true, lower is not included in the range. If upperOpen is true, upper is not included in the range.
4411+
* The **`bound()`** static method of the IDBKeyRange interface creates a new key range with the specified upper and lower bounds.
43844412
*
43854413
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBKeyRange/bound_static)
43864414
*/
43874415
bound(lower: any, upper: any, lowerOpen?: boolean, upperOpen?: boolean): IDBKeyRange;
43884416
/**
4389-
* Returns a new IDBKeyRange starting at key with no upper bound. If open is true, key is not included in the range.
4417+
* The **`lowerBound()`** static method of the By default, it includes the lower endpoint value and is closed.
43904418
*
43914419
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBKeyRange/lowerBound_static)
43924420
*/
43934421
lowerBound(lower: any, open?: boolean): IDBKeyRange;
43944422
/**
4395-
* Returns a new IDBKeyRange spanning only key.
4423+
* The **`only()`** static method of the IDBKeyRange interface creates a new key range containing a single value.
43964424
*
43974425
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBKeyRange/only_static)
43984426
*/
43994427
only(value: any): IDBKeyRange;
44004428
/**
4401-
* Returns a new IDBKeyRange with no lower bound and ending at key. If open is true, key is not included in the range.
4429+
* The **`upperBound()`** static method of the it includes the upper endpoint value and is closed.
44024430
*
44034431
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBKeyRange/upperBound_static)
44044432
*/
@@ -5229,7 +5257,11 @@ interface Notification extends EventTarget {
52295257
declare var Notification: {
52305258
prototype: Notification;
52315259
new(title: string, options?: NotificationOptions): Notification;
5232-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/permission_static) */
5260+
/**
5261+
* The **`permission`** read-only static property of the Notification interface indicates the current permission granted by the user for the current origin to display web notifications.
5262+
*
5263+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/permission_static)
5264+
*/
52335265
readonly permission: NotificationPermission;
52345266
};
52355267

@@ -5716,7 +5748,11 @@ interface PerformanceObserver {
57165748
declare var PerformanceObserver: {
57175749
prototype: PerformanceObserver;
57185750
new(callback: PerformanceObserverCallback): PerformanceObserver;
5719-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceObserver/supportedEntryTypes_static) */
5751+
/**
5752+
* The static **`supportedEntryTypes`** read-only property of the PerformanceObserver interface returns an array of the PerformanceEntry.entryType values supported by the user agent.
5753+
*
5754+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceObserver/supportedEntryTypes_static)
5755+
*/
57205756
readonly supportedEntryTypes: ReadonlyArray<string>;
57215757
};
57225758

@@ -6082,7 +6118,11 @@ interface PushManager {
60826118
declare var PushManager: {
60836119
prototype: PushManager;
60846120
new(): PushManager;
6085-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PushManager/supportedContentEncodings_static) */
6121+
/**
6122+
* The **`supportedContentEncodings`** read-only static property of the PushManager interface returns an array of supported content codings that can be used to encrypt the payload of a push message.
6123+
*
6124+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PushManager/supportedContentEncodings_static)
6125+
*/
60866126
readonly supportedContentEncodings: ReadonlyArray<string>;
60876127
};
60886128

@@ -6676,15 +6716,23 @@ interface Response extends Body {
66766716
declare var Response: {
66776717
prototype: Response;
66786718
new(body?: BodyInit | null, init?: ResponseInit): Response;
6679-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response/error_static) */
6719+
/**
6720+
* The **`error()`** static method of the Response interface returns a new `Response` object associated with a network error.
6721+
*
6722+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response/error_static)
6723+
*/
66806724
error(): Response;
66816725
/**
6682-
* The **`json()`** method of the Response interface takes a Response stream and reads it to completion.
6726+
* The **`json()`** static method of the Response interface returns a `Response` that contains the provided JSON data as body, and a Content-Type header which is set to `application/json`.
66836727
*
66846728
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response/json_static)
66856729
*/
66866730
json(data: any, init?: ResponseInit): Response;
6687-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response/redirect_static) */
6731+
/**
6732+
* The **`redirect()`** static method of the Response interface returns a `Response` resulting in a redirect to the specified URL.
6733+
*
6734+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response/redirect_static)
6735+
*/
66886736
redirect(url: string | URL, status?: number): Response;
66896737
};
66906738

@@ -7553,9 +7601,17 @@ interface URL {
75537601
declare var URL: {
75547602
prototype: URL;
75557603
new(url: string | URL, base?: string | URL): URL;
7556-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/canParse_static) */
7604+
/**
7605+
* The **`URL.canParse()`** static method of the URL interface returns a boolean indicating whether or not an absolute URL, or a relative URL combined with a base URL, are parsable and valid.
7606+
*
7607+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/canParse_static)
7608+
*/
75577609
canParse(url: string | URL, base?: string | URL): boolean;
7558-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/parse_static) */
7610+
/**
7611+
* The **`URL.parse()`** static method of the URL interface returns a newly created URL object representing the URL defined by the parameters.
7612+
*
7613+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/parse_static)
7614+
*/
75597615
parse(url: string | URL, base?: string | URL): URL | null;
75607616
};
75617617

0 commit comments

Comments
 (0)