diff --git a/baselines/audioworklet.generated.d.ts b/baselines/audioworklet.generated.d.ts index 7c6a48a44..f1a6df4cc 100644 --- a/baselines/audioworklet.generated.d.ts +++ b/baselines/audioworklet.generated.d.ts @@ -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) */ diff --git a/baselines/dom.generated.d.ts b/baselines/dom.generated.d.ts index 184d43a1c..7eb94b74e 100644 --- a/baselines/dom.generated.d.ts +++ b/baselines/dom.generated.d.ts @@ -12231,7 +12231,7 @@ interface DOMMatrixReadOnly { */ toFloat64Array(): Float64Array; /** - * 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) */ @@ -12376,7 +12376,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) */ @@ -12431,7 +12431,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) */ @@ -12582,7 +12582,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) */ @@ -17201,7 +17201,7 @@ interface GeolocationCoordinates { */ readonly speed: number | null; /** - * The **`toJSON()`** method of the GeolocationCoordinates interface is a serializer; it returns a JSON representation of the GeolocationCoordinates object. + * The **`toJSON()`** method of the GeolocationCoordinates interface returns a JSON-serializable plain object representing the GeolocationCoordinates object. * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GeolocationCoordinates/toJSON) */ @@ -17233,7 +17233,7 @@ interface GeolocationPosition { */ readonly timestamp: EpochTimeStamp; /** - * The **`toJSON()`** method of the GeolocationPosition interface is a serializer; it returns a JSON representation of the GeolocationPosition object. + * The **`toJSON()`** method of the GeolocationPosition interface returns a JSON-serializable plain object representing the GeolocationPosition object. * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GeolocationPosition/toJSON) */ @@ -19581,7 +19581,7 @@ interface HTMLInputElement extends HTMLElement, PopoverTargetAttributes { */ reportValidity(): boolean; /** - * The **`HTMLInputElement.select()`** method selects all the text in a