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
2 changes: 1 addition & 1 deletion baselines/audioworklet.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1339,7 +1339,7 @@ interface URL {
*/
username: string;
/**
* The **`toJSON()`** method of the URL interface returns a string containing a serialized version of the URL, although in practice it seems to have the same effect as URL.toString().
* The **`toJSON()`** method of the URL interface returns a string representing the URL object. This is the same string that URL.toString() returns.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/toJSON)
*/
Expand Down
72 changes: 36 additions & 36 deletions baselines/dom.generated.d.ts

Large diffs are not rendered by default.

26 changes: 13 additions & 13 deletions baselines/serviceworker.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3252,7 +3252,7 @@ interface DOMMatrixReadOnly {
*/
toFloat64Array(): Float64Array<ArrayBuffer>;
/**
* The **`toJSON()`** method of the DOMMatrixReadOnly interface creates and returns a JSON object. The JSON object includes the 2D matrix elements a through f, the 16 elements of the 4X4 3D matrix, m[1-4][1-4], the boolean is2D property, and the boolean isIdentity property.
* The **`toJSON()`** method of the DOMMatrixReadOnly interface returns a JSON-serializable plain object representing the DOMMatrixReadOnly object.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/toJSON)
*/
Expand Down Expand Up @@ -3374,7 +3374,7 @@ interface DOMPointReadOnly {
*/
matrixTransform(matrix?: DOMMatrixInit): DOMPoint;
/**
* The DOMPointReadOnly method **`toJSON()`** returns an object giving the JSON form of the point object.
* The **`toJSON()`** method of the DOMPointReadOnly interface returns a JSON-serializable plain object representing the DOMPointReadOnly object.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMPointReadOnly/toJSON)
*/
Expand Down Expand Up @@ -3429,7 +3429,7 @@ interface DOMQuad {
*/
getBounds(): DOMRect;
/**
* The DOMQuad method **`toJSON()`** returns a JSON representation of the DOMQuad object.
* The **`toJSON()`** method of the DOMQuad interface returns a JSON-serializable plain object representing the DOMQuad object.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad/toJSON)
*/
Expand Down Expand Up @@ -3551,7 +3551,7 @@ interface DOMRectReadOnly {
*/
readonly y: number;
/**
* The DOMRectReadOnly method **`toJSON()`** returns a JSON representation of the DOMRectReadOnly object.
* The **`toJSON()`** method of the DOMRectReadOnly interface returns a JSON-serializable plain object representing the DOMRectReadOnly object.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMRectReadOnly/toJSON)
*/
Expand Down Expand Up @@ -7543,7 +7543,7 @@ interface Performance extends EventTarget {
*/
setResourceTimingBufferSize(maxSize: number): void;
/**
* The **`toJSON()`** method of the Performance interface is a serializer; it returns a JSON representation of the Performance object.
* The **`toJSON()`** method of the Performance interface returns a JSON-serializable plain object representing the Performance object.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Performance/toJSON)
*/
Expand Down Expand Up @@ -7590,7 +7590,7 @@ interface PerformanceEntry {
*/
readonly startTime: DOMHighResTimeStamp;
/**
* The **`toJSON()`** method is a serializer; it returns a JSON representation of the PerformanceEntry object.
* The **`toJSON()`** method of the PerformanceEntry interface returns a JSON-serializable plain object representing the PerformanceEntry object.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceEntry/toJSON)
*/
Expand Down Expand Up @@ -7733,7 +7733,7 @@ interface PerformanceResourceTiming extends PerformanceEntry {
*/
readonly contentType: string;
/**
* The **`decodedBodySize`** read-only property returns the size (in octets) received from the fetch (HTTP or cache) of the message body after removing any applied content encoding (like gzip or Brotli). If the resource is retrieved from an application cache or local resources, it returns the size of the payload after removing any applied content encoding.
* The **`decodedBodySize`** read-only property returns the size (in octets) received from the fetch (HTTP or cache) of the message body after removing any applied content encoding (like gzip or Brotli).
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceResourceTiming/decodedBodySize)
*/
Expand All @@ -7757,7 +7757,7 @@ interface PerformanceResourceTiming extends PerformanceEntry {
*/
readonly domainLookupStart: DOMHighResTimeStamp;
/**
* The **`encodedBodySize`** read-only property represents the size (in octets) received from the fetch (HTTP or cache) of the payload body before removing any applied content encodings (like gzip or Brotli). If the resource is retrieved from an application cache or a local resource, it must return the size of the payload body before removing any applied content encoding.
* The **`encodedBodySize`** read-only property represents the size (in octets) received from the fetch (HTTP or cache) of the payload body before removing any applied content encodings (like gzip or Brotli).
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceResourceTiming/encodedBodySize)
*/
Expand Down Expand Up @@ -7841,7 +7841,7 @@ interface PerformanceResourceTiming extends PerformanceEntry {
*/
readonly serverTiming: ReadonlyArray<PerformanceServerTiming>;
/**
* The **`transferSize`** read-only property represents the size (in octets) of the fetched resource. The size includes the response header fields plus the response payload body (as defined by RFC7230).
* The **`transferSize`** read-only property represents the size (in octets) of the fetched resource. This is the size of the response body plus a fixed value that stands in for the size of the response headers.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceResourceTiming/transferSize)
*/
Expand All @@ -7855,7 +7855,7 @@ interface PerformanceResourceTiming extends PerformanceEntry {
*/
readonly workerStart: DOMHighResTimeStamp;
/**
* The **`toJSON()`** method of the PerformanceResourceTiming interface is a serializer; it returns a JSON representation of the PerformanceResourceTiming object.
* The **`toJSON()`** method of the PerformanceResourceTiming interface returns a JSON-serializable plain object representing the PerformanceResourceTiming object.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceResourceTiming/toJSON)
*/
Expand Down Expand Up @@ -7892,7 +7892,7 @@ interface PerformanceServerTiming {
*/
readonly name: string;
/**
* The **`toJSON()`** method of the PerformanceServerTiming interface is a serializer; it returns a JSON representation of the PerformanceServerTiming object.
* The **`toJSON()`** method of the PerformanceServerTiming interface returns a JSON-serializable plain object representing the PerformanceServerTiming object.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceServerTiming/toJSON)
*/
Expand Down Expand Up @@ -8155,7 +8155,7 @@ interface PushSubscription {
*/
getKey(name: PushEncryptionKeyName): ArrayBuffer | null;
/**
* The **`toJSON()`** method of the PushSubscription interface is a standard serializer: it returns a JSON representation of the subscription properties, providing a useful shortcut.
* The **`toJSON()`** method of the PushSubscription interface returns a JSON-serializable plain object representing the PushSubscription object.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PushSubscription/toJSON)
*/
Expand Down Expand Up @@ -9599,7 +9599,7 @@ interface URL {
*/
username: string;
/**
* The **`toJSON()`** method of the URL interface returns a string containing a serialized version of the URL, although in practice it seems to have the same effect as URL.toString().
* The **`toJSON()`** method of the URL interface returns a string representing the URL object. This is the same string that URL.toString() returns.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/toJSON)
*/
Expand Down
26 changes: 13 additions & 13 deletions baselines/sharedworker.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3014,7 +3014,7 @@ interface DOMMatrixReadOnly {
*/
toFloat64Array(): Float64Array<ArrayBuffer>;
/**
* The **`toJSON()`** method of the DOMMatrixReadOnly interface creates and returns a JSON object. The JSON object includes the 2D matrix elements a through f, the 16 elements of the 4X4 3D matrix, m[1-4][1-4], the boolean is2D property, and the boolean isIdentity property.
* The **`toJSON()`** method of the DOMMatrixReadOnly interface returns a JSON-serializable plain object representing the DOMMatrixReadOnly object.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/toJSON)
*/
Expand Down Expand Up @@ -3136,7 +3136,7 @@ interface DOMPointReadOnly {
*/
matrixTransform(matrix?: DOMMatrixInit): DOMPoint;
/**
* The DOMPointReadOnly method **`toJSON()`** returns an object giving the JSON form of the point object.
* The **`toJSON()`** method of the DOMPointReadOnly interface returns a JSON-serializable plain object representing the DOMPointReadOnly object.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMPointReadOnly/toJSON)
*/
Expand Down Expand Up @@ -3191,7 +3191,7 @@ interface DOMQuad {
*/
getBounds(): DOMRect;
/**
* The DOMQuad method **`toJSON()`** returns a JSON representation of the DOMQuad object.
* The **`toJSON()`** method of the DOMQuad interface returns a JSON-serializable plain object representing the DOMQuad object.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad/toJSON)
*/
Expand Down Expand Up @@ -3313,7 +3313,7 @@ interface DOMRectReadOnly {
*/
readonly y: number;
/**
* The DOMRectReadOnly method **`toJSON()`** returns a JSON representation of the DOMRectReadOnly object.
* The **`toJSON()`** method of the DOMRectReadOnly interface returns a JSON-serializable plain object representing the DOMRectReadOnly object.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMRectReadOnly/toJSON)
*/
Expand Down Expand Up @@ -7163,7 +7163,7 @@ interface Performance extends EventTarget {
*/
setResourceTimingBufferSize(maxSize: number): void;
/**
* The **`toJSON()`** method of the Performance interface is a serializer; it returns a JSON representation of the Performance object.
* The **`toJSON()`** method of the Performance interface returns a JSON-serializable plain object representing the Performance object.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Performance/toJSON)
*/
Expand Down Expand Up @@ -7210,7 +7210,7 @@ interface PerformanceEntry {
*/
readonly startTime: DOMHighResTimeStamp;
/**
* The **`toJSON()`** method is a serializer; it returns a JSON representation of the PerformanceEntry object.
* The **`toJSON()`** method of the PerformanceEntry interface returns a JSON-serializable plain object representing the PerformanceEntry object.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceEntry/toJSON)
*/
Expand Down Expand Up @@ -7353,7 +7353,7 @@ interface PerformanceResourceTiming extends PerformanceEntry {
*/
readonly contentType: string;
/**
* The **`decodedBodySize`** read-only property returns the size (in octets) received from the fetch (HTTP or cache) of the message body after removing any applied content encoding (like gzip or Brotli). If the resource is retrieved from an application cache or local resources, it returns the size of the payload after removing any applied content encoding.
* The **`decodedBodySize`** read-only property returns the size (in octets) received from the fetch (HTTP or cache) of the message body after removing any applied content encoding (like gzip or Brotli).
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceResourceTiming/decodedBodySize)
*/
Expand All @@ -7377,7 +7377,7 @@ interface PerformanceResourceTiming extends PerformanceEntry {
*/
readonly domainLookupStart: DOMHighResTimeStamp;
/**
* The **`encodedBodySize`** read-only property represents the size (in octets) received from the fetch (HTTP or cache) of the payload body before removing any applied content encodings (like gzip or Brotli). If the resource is retrieved from an application cache or a local resource, it must return the size of the payload body before removing any applied content encoding.
* The **`encodedBodySize`** read-only property represents the size (in octets) received from the fetch (HTTP or cache) of the payload body before removing any applied content encodings (like gzip or Brotli).
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceResourceTiming/encodedBodySize)
*/
Expand Down Expand Up @@ -7461,7 +7461,7 @@ interface PerformanceResourceTiming extends PerformanceEntry {
*/
readonly serverTiming: ReadonlyArray<PerformanceServerTiming>;
/**
* The **`transferSize`** read-only property represents the size (in octets) of the fetched resource. The size includes the response header fields plus the response payload body (as defined by RFC7230).
* The **`transferSize`** read-only property represents the size (in octets) of the fetched resource. This is the size of the response body plus a fixed value that stands in for the size of the response headers.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceResourceTiming/transferSize)
*/
Expand All @@ -7475,7 +7475,7 @@ interface PerformanceResourceTiming extends PerformanceEntry {
*/
readonly workerStart: DOMHighResTimeStamp;
/**
* The **`toJSON()`** method of the PerformanceResourceTiming interface is a serializer; it returns a JSON representation of the PerformanceResourceTiming object.
* The **`toJSON()`** method of the PerformanceResourceTiming interface returns a JSON-serializable plain object representing the PerformanceResourceTiming object.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceResourceTiming/toJSON)
*/
Expand Down Expand Up @@ -7512,7 +7512,7 @@ interface PerformanceServerTiming {
*/
readonly name: string;
/**
* The **`toJSON()`** method of the PerformanceServerTiming interface is a serializer; it returns a JSON representation of the PerformanceServerTiming object.
* The **`toJSON()`** method of the PerformanceServerTiming interface returns a JSON-serializable plain object representing the PerformanceServerTiming object.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceServerTiming/toJSON)
*/
Expand Down Expand Up @@ -7711,7 +7711,7 @@ interface PushSubscription {
*/
getKey(name: PushEncryptionKeyName): ArrayBuffer | null;
/**
* The **`toJSON()`** method of the PushSubscription interface is a standard serializer: it returns a JSON representation of the subscription properties, providing a useful shortcut.
* The **`toJSON()`** method of the PushSubscription interface returns a JSON-serializable plain object representing the PushSubscription object.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PushSubscription/toJSON)
*/
Expand Down Expand Up @@ -9092,7 +9092,7 @@ interface URL {
*/
username: string;
/**
* The **`toJSON()`** method of the URL interface returns a string containing a serialized version of the URL, although in practice it seems to have the same effect as URL.toString().
* The **`toJSON()`** method of the URL interface returns a string representing the URL object. This is the same string that URL.toString() returns.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/toJSON)
*/
Expand Down
2 changes: 1 addition & 1 deletion baselines/ts5.5/audioworklet.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1336,7 +1336,7 @@ interface URL {
*/
username: string;
/**
* The **`toJSON()`** method of the URL interface returns a string containing a serialized version of the URL, although in practice it seems to have the same effect as URL.toString().
* The **`toJSON()`** method of the URL interface returns a string representing the URL object. This is the same string that URL.toString() returns.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/toJSON)
*/
Expand Down
Loading
Loading