From a00cb9d760a7711d27009c296f106587f4547a05 Mon Sep 17 00:00:00 2001 From: Mohitlikestocode Date: Sun, 25 Jan 2026 18:08:18 +0530 Subject: [PATCH 1/3] Fix MDN links for requestAnimationFrame/cancelAnimationFrame --- baselines/dom.generated.d.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/baselines/dom.generated.d.ts b/baselines/dom.generated.d.ts index be9136355..12c485214 100644 --- a/baselines/dom.generated.d.ts +++ b/baselines/dom.generated.d.ts @@ -3424,9 +3424,9 @@ declare var AnimationEvent: { }; interface AnimationFrameProvider { - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DedicatedWorkerGlobalScope/cancelAnimationFrame) */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/cancelAnimationFrame) */ cancelAnimationFrame(handle: number): void; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DedicatedWorkerGlobalScope/requestAnimationFrame) */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/requestAnimationFrame) */ requestAnimationFrame(callback: FrameRequestCallback): number; } @@ -42988,7 +42988,7 @@ declare function toString(): string; declare function dispatchEvent(event: Event): boolean; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DedicatedWorkerGlobalScope/cancelAnimationFrame) */ declare function cancelAnimationFrame(handle: number): void; -/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DedicatedWorkerGlobalScope/requestAnimationFrame) */ +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/requestAnimationFrame) */ declare function requestAnimationFrame(callback: FrameRequestCallback): number; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/abort_event) */ declare var onabort: ((this: Window, ev: UIEvent) => any) | null; From ab6523325c536b48048bce871a8a6557542594f8 Mon Sep 17 00:00:00 2001 From: Mohitlikestocode Date: Sun, 25 Jan 2026 18:10:16 +0530 Subject: [PATCH 2/3] Fix MDN link for cancelAnimationFrame --- baselines/dom.generated.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/baselines/dom.generated.d.ts b/baselines/dom.generated.d.ts index 12c485214..a5bb3c8f3 100644 --- a/baselines/dom.generated.d.ts +++ b/baselines/dom.generated.d.ts @@ -42986,7 +42986,7 @@ declare function toString(): string; * [MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/dispatchEvent) */ declare function dispatchEvent(event: Event): boolean; -/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DedicatedWorkerGlobalScope/cancelAnimationFrame) */ +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/cancelAnimationFrame) */ declare function cancelAnimationFrame(handle: number): void; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/requestAnimationFrame) */ declare function requestAnimationFrame(callback: FrameRequestCallback): number; From c78673a16d03717fe0945eddde886990f79b8588 Mon Sep 17 00:00:00 2001 From: Mohitlikestocode Date: Sun, 25 Jan 2026 18:41:04 +0530 Subject: [PATCH 3/3] Fix MDN links for requestAnimationFrame/cancelAnimationFrame --- baselines/dom.generated.d.ts | 8 ++++---- inputfiles/mdn.json | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/baselines/dom.generated.d.ts b/baselines/dom.generated.d.ts index a5bb3c8f3..be9136355 100644 --- a/baselines/dom.generated.d.ts +++ b/baselines/dom.generated.d.ts @@ -3424,9 +3424,9 @@ declare var AnimationEvent: { }; interface AnimationFrameProvider { - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/cancelAnimationFrame) */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DedicatedWorkerGlobalScope/cancelAnimationFrame) */ cancelAnimationFrame(handle: number): void; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/requestAnimationFrame) */ + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DedicatedWorkerGlobalScope/requestAnimationFrame) */ requestAnimationFrame(callback: FrameRequestCallback): number; } @@ -42986,9 +42986,9 @@ declare function toString(): string; * [MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/dispatchEvent) */ declare function dispatchEvent(event: Event): boolean; -/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/cancelAnimationFrame) */ +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DedicatedWorkerGlobalScope/cancelAnimationFrame) */ declare function cancelAnimationFrame(handle: number): void; -/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/requestAnimationFrame) */ +/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DedicatedWorkerGlobalScope/requestAnimationFrame) */ declare function requestAnimationFrame(callback: FrameRequestCallback): number; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/abort_event) */ declare var onabort: ((this: Window, ev: UIEvent) => any) | null; diff --git a/inputfiles/mdn.json b/inputfiles/mdn.json index 5295e775b..be242565e 100644 --- a/inputfiles/mdn.json +++ b/inputfiles/mdn.json @@ -5410,9 +5410,9 @@ "summary": "The DedicatedWorkerGlobalScope object (the Worker global scope) is accessible through the self keyword. Some additional global functions, namespaces objects, and constructors, not typically associated with the worker global scope, but available on it, are listed in the JavaScript Reference. See also: Functions available to workers." }, { - "mdn_url": "/en-US/docs/Web/API/DedicatedWorkerGlobalScope/cancelAnimationFrame", + "mdn_url": "/en-US/docs/Web/API/Window/cancelAnimationFrame", "pageType": "web-api-instance-method", - "summary": "The cancelAnimationFrame() method of the DedicatedWorkerGlobalScope interface cancels an animation frame request previously scheduled through a call to requestAnimationFrame()." + "summary": "The cancelAnimationFrame() method of the Window interface cancels an animation frame request previously scheduled through a call to requestAnimationFrame()." }, { "mdn_url": "/en-US/docs/Web/API/DedicatedWorkerGlobalScope/close", @@ -5440,9 +5440,9 @@ "summary": "The postMessage() method of the DedicatedWorkerGlobalScope interface sends a message to the main thread that spawned it." }, { - "mdn_url": "/en-US/docs/Web/API/DedicatedWorkerGlobalScope/requestAnimationFrame", + "mdn_url": "/en-US/docs/Web/API/Window/requestAnimationFrame", "pageType": "web-api-instance-method", - "summary": "The requestAnimationFrame() method of the DedicatedWorkerGlobalScope interface tells the browser you wish to perform an animation frame request and call a user-supplied callback function before the next repaint." + "summary": "The requestAnimationFrame() method of the Window interface ..." }, { "mdn_url": "/en-US/docs/Web/API/DedicatedWorkerGlobalScope/rtctransform_event",