Skip to content

Commit 5cef9ee

Browse files
ortagithub-actions[bot]
authored andcommitted
🤖 Update core dependencies
1 parent 97eb3b3 commit 5cef9ee

6 files changed

+115
-38
lines changed

baselines/dom.generated.d.ts

Lines changed: 87 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1333,6 +1333,10 @@ interface RTCEncodedAudioFrameMetadata {
13331333
synchronizationSource?: number;
13341334
}
13351335

1336+
interface RTCEncodedAudioFrameOptions {
1337+
metadata?: RTCEncodedAudioFrameMetadata;
1338+
}
1339+
13361340
interface RTCEncodedVideoFrameMetadata {
13371341
contributingSources?: number[];
13381342
dependencies?: number[];
@@ -1346,6 +1350,10 @@ interface RTCEncodedVideoFrameMetadata {
13461350
width?: number;
13471351
}
13481352

1353+
interface RTCEncodedVideoFrameOptions {
1354+
metadata?: RTCEncodedVideoFrameMetadata;
1355+
}
1356+
13491357
interface RTCErrorEventInit extends EventInit {
13501358
error: RTCError;
13511359
}
@@ -2079,6 +2087,8 @@ interface VideoFrameCallbackMetadata {
20792087
}
20802088

20812089
interface VideoFrameCopyToOptions {
2090+
colorSpace?: PredefinedColorSpace;
2091+
format?: VideoPixelFormat;
20822092
layout?: PlaneLayout[];
20832093
rect?: DOMRectInit;
20842094
}
@@ -4887,7 +4897,11 @@ interface CSSStyleDeclaration {
48874897
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/justify-content)
48884898
*/
48894899
webkitJustifyContent: string;
4890-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/-webkit-line-clamp) */
4900+
/**
4901+
* @deprecated This is a legacy alias of `lineClamp`.
4902+
*
4903+
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/-webkit-line-clamp)
4904+
*/
48914905
webkitLineClamp: string;
48924906
/**
48934907
* @deprecated This is a legacy alias of `mask`.
@@ -5549,6 +5563,8 @@ interface CanvasShadowStyles {
55495563
}
55505564

55515565
interface CanvasState {
5566+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/isContextLost) */
5567+
isContextLost(): boolean;
55525568
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/reset) */
55535569
reset(): void;
55545570
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/restore) */
@@ -7263,6 +7279,7 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEve
72637279
createEvent(eventInterface: "SpeechSynthesisEvent"): SpeechSynthesisEvent;
72647280
createEvent(eventInterface: "StorageEvent"): StorageEvent;
72657281
createEvent(eventInterface: "SubmitEvent"): SubmitEvent;
7282+
createEvent(eventInterface: "TextEvent"): TextEvent;
72667283
createEvent(eventInterface: "ToggleEvent"): ToggleEvent;
72677284
createEvent(eventInterface: "TouchEvent"): TouchEvent;
72687285
createEvent(eventInterface: "TrackEvent"): TrackEvent;
@@ -7699,7 +7716,7 @@ interface ElementEventMap {
76997716
*
77007717
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element)
77017718
*/
7702-
interface Element extends Node, ARIAMixin, Animatable, ChildNode, InnerHTML, NonDocumentTypeChildNode, ParentNode, Slottable {
7719+
interface Element extends Node, ARIAMixin, Animatable, ChildNode, NonDocumentTypeChildNode, ParentNode, Slottable {
77037720
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/attributes) */
77047721
readonly attributes: NamedNodeMap;
77057722
/**
@@ -7728,6 +7745,8 @@ interface Element extends Node, ARIAMixin, Animatable, ChildNode, InnerHTML, Non
77287745
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/id)
77297746
*/
77307747
id: string;
7748+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/innerHTML) */
7749+
innerHTML: string;
77317750
/**
77327751
* Returns the local name.
77337752
*
@@ -7867,7 +7886,7 @@ interface Element extends Node, ARIAMixin, Animatable, ChildNode, InnerHTML, Non
78677886
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/insertAdjacentElement) */
78687887
insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
78697888
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/insertAdjacentHTML) */
7870-
insertAdjacentHTML(position: InsertPosition, text: string): void;
7889+
insertAdjacentHTML(position: InsertPosition, string: string): void;
78717890
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/insertAdjacentText) */
78727891
insertAdjacentText(where: InsertPosition, data: string): void;
78737892
/**
@@ -8957,7 +8976,9 @@ interface GlobalEventHandlersEventMap {
89578976
"compositionend": CompositionEvent;
89588977
"compositionstart": CompositionEvent;
89598978
"compositionupdate": CompositionEvent;
8979+
"contextlost": Event;
89608980
"contextmenu": MouseEvent;
8981+
"contextrestored": Event;
89618982
"copy": ClipboardEvent;
89628983
"cuechange": Event;
89638984
"cut": ClipboardEvent;
@@ -9098,13 +9119,17 @@ interface GlobalEventHandlers {
90989119
onclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
90999120
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDialogElement/close_event) */
91009121
onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
9122+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLCanvasElement/webglcontextlost_event) */
9123+
oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
91019124
/**
91029125
* Fires when the user clicks the right mouse button in the client area, opening the context menu.
91039126
* @param ev The mouse event.
91049127
*
91059128
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/contextmenu_event)
91069129
*/
91079130
oncontextmenu: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
9131+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLCanvasElement/contextrestored_event) */
9132+
oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
91089133
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/copy_event) */
91099134
oncopy: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
91109135
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTrackElement/cuechange_event) */
@@ -10873,6 +10898,7 @@ interface HTMLIFrameElement extends HTMLElement {
1087310898
name: string;
1087410899
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLIFrameElement/referrerPolicy) */
1087510900
referrerPolicy: ReferrerPolicy;
10901+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLIFrameElement/sandbox) */
1087610902
readonly sandbox: DOMTokenList;
1087710903
/**
1087810904
* Sets or retrieves whether the frame can be scrolled.
@@ -11429,6 +11455,7 @@ interface HTMLLinkElement extends HTMLElement, LinkStyle {
1142911455
hreflang: string;
1143011456
imageSizes: string;
1143111457
imageSrcset: string;
11458+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/integrity) */
1143211459
integrity: string;
1143311460
/** Sets or retrieves the media type. */
1143411461
media: string;
@@ -11454,7 +11481,11 @@ interface HTMLLinkElement extends HTMLElement, LinkStyle {
1145411481
* @deprecated
1145511482
*/
1145611483
target: string;
11457-
/** Sets or retrieves the MIME type of the object. */
11484+
/**
11485+
* Sets or retrieves the MIME type of the object.
11486+
*
11487+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/type)
11488+
*/
1145811489
type: string;
1145911490
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLLinkElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
1146011491
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
@@ -12478,6 +12509,7 @@ declare var HTMLQuoteElement: {
1247812509
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLScriptElement)
1247912510
*/
1248012511
interface HTMLScriptElement extends HTMLElement {
12512+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLScriptElement/async) */
1248112513
async: boolean;
1248212514
/**
1248312515
* Sets or retrieves the character set used to encode the object.
@@ -12486,28 +12518,47 @@ interface HTMLScriptElement extends HTMLElement {
1248612518
charset: string;
1248712519
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLScriptElement/crossOrigin) */
1248812520
crossOrigin: string | null;
12489-
/** Sets or retrieves the status of the script. */
12521+
/**
12522+
* Sets or retrieves the status of the script.
12523+
*
12524+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLScriptElement/defer)
12525+
*/
1249012526
defer: boolean;
1249112527
/**
1249212528
* Sets or retrieves the event for which the script is written.
1249312529
* @deprecated
1249412530
*/
1249512531
event: string;
12532+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLScriptElement/fetchPriority) */
1249612533
fetchPriority: string;
1249712534
/**
1249812535
* Sets or retrieves the object that is bound to the event script.
1249912536
* @deprecated
1250012537
*/
1250112538
htmlFor: string;
12539+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLScriptElement/integrity) */
1250212540
integrity: string;
12541+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLScriptElement/noModule) */
1250312542
noModule: boolean;
1250412543
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLScriptElement/referrerPolicy) */
1250512544
referrerPolicy: string;
12506-
/** Retrieves the URL to an external file that contains the source code or data. */
12545+
/**
12546+
* Retrieves the URL to an external file that contains the source code or data.
12547+
*
12548+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLScriptElement/src)
12549+
*/
1250712550
src: string;
12508-
/** Retrieves or sets the text of the object as a string. */
12551+
/**
12552+
* Retrieves or sets the text of the object as a string.
12553+
*
12554+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLScriptElement/text)
12555+
*/
1250912556
text: string;
12510-
/** Sets or retrieves the MIME type for the associated scripting engine. */
12557+
/**
12558+
* Sets or retrieves the MIME type for the associated scripting engine.
12559+
*
12560+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLScriptElement/type)
12561+
*/
1251112562
type: string;
1251212563
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLScriptElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
1251312564
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
@@ -13317,6 +13368,11 @@ interface HTMLTemplateElement extends HTMLElement {
1331713368
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTemplateElement/content)
1331813369
*/
1331913370
readonly content: DocumentFragment;
13371+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTemplateElement/shadowRootClonable) */
13372+
shadowRootClonable: boolean;
13373+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTemplateElement/shadowRootDelegatesFocus) */
13374+
shadowRootDelegatesFocus: boolean;
13375+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTemplateElement/shadowRootMode) */
1332013376
shadowRootMode: string;
1332113377
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLTemplateElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
1332213378
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
@@ -14503,11 +14559,6 @@ declare var ImageData: {
1450314559
new(data: Uint8ClampedArray, sw: number, sh?: number, settings?: ImageDataSettings): ImageData;
1450414560
};
1450514561

14506-
interface InnerHTML {
14507-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/innerHTML) */
14508-
innerHTML: string;
14509-
}
14510-
1451114562
/**
1451214563
* Available only in secure contexts.
1451314564
*
@@ -16896,8 +16947,6 @@ declare var OffscreenCanvas: {
1689616947
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/OffscreenCanvasRenderingContext2D) */
1689716948
interface OffscreenCanvasRenderingContext2D extends CanvasCompositing, CanvasDrawImage, CanvasDrawPath, CanvasFillStrokeStyles, CanvasFilters, CanvasImageData, CanvasImageSmoothing, CanvasPath, CanvasPathDrawingStyles, CanvasRect, CanvasShadowStyles, CanvasState, CanvasText, CanvasTextDrawingStyles, CanvasTransform {
1689816949
readonly canvas: OffscreenCanvas;
16899-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/OffscreenCanvasRenderingContext2D/commit) */
16900-
commit(): void;
1690116950
}
1690216951

1690316952
declare var OffscreenCanvasRenderingContext2D: {
@@ -18213,7 +18262,7 @@ interface RTCEncodedAudioFrame {
1821318262

1821418263
declare var RTCEncodedAudioFrame: {
1821518264
prototype: RTCEncodedAudioFrame;
18216-
new(): RTCEncodedAudioFrame;
18265+
new(originalFrame: RTCEncodedAudioFrame, options?: RTCEncodedAudioFrameOptions): RTCEncodedAudioFrame;
1821718266
};
1821818267

1821918268
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCEncodedVideoFrame) */
@@ -18230,7 +18279,7 @@ interface RTCEncodedVideoFrame {
1823018279

1823118280
declare var RTCEncodedVideoFrame: {
1823218281
prototype: RTCEncodedVideoFrame;
18233-
new(): RTCEncodedVideoFrame;
18282+
new(originalFrame: RTCEncodedVideoFrame, options?: RTCEncodedVideoFrameOptions): RTCEncodedVideoFrame;
1823418283
};
1823518284

1823618285
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCError) */
@@ -18497,6 +18546,7 @@ declare var RTCPeerConnectionIceEvent: {
1849718546
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpReceiver)
1849818547
*/
1849918548
interface RTCRtpReceiver {
18549+
jitterBufferTarget: DOMHighResTimeStamp | null;
1850018550
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpReceiver/track) */
1850118551
readonly track: MediaStreamTrack;
1850218552
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpReceiver/transform) */
@@ -18575,7 +18625,7 @@ interface RTCRtpTransceiver {
1857518625
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpTransceiver/sender) */
1857618626
readonly sender: RTCRtpSender;
1857718627
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpTransceiver/setCodecPreferences) */
18578-
setCodecPreferences(codecs: RTCRtpCodecCapability[]): void;
18628+
setCodecPreferences(codecs: RTCRtpCodec[]): void;
1857918629
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpTransceiver/stop) */
1858018630
stop(): void;
1858118631
}
@@ -18695,7 +18745,7 @@ interface Range extends AbstractRange {
1869518745
*/
1869618746
comparePoint(node: Node, offset: number): number;
1869718747
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Range/createContextualFragment) */
18698-
createContextualFragment(fragment: string): DocumentFragment;
18748+
createContextualFragment(string: string): DocumentFragment;
1869918749
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Range/deleteContents) */
1870018750
deleteContents(): void;
1870118751
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Range/detach) */
@@ -21369,6 +21419,7 @@ interface Selection {
2136921419
readonly anchorNode: Node | null;
2137021420
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Selection/anchorOffset) */
2137121421
readonly anchorOffset: number;
21422+
readonly direction: string;
2137221423
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Selection/focusNode) */
2137321424
readonly focusNode: Node | null;
2137421425
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Selection/focusOffset) */
@@ -21541,13 +21592,15 @@ interface ShadowRootEventMap {
2154121592
}
2154221593

2154321594
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ShadowRoot) */
21544-
interface ShadowRoot extends DocumentFragment, DocumentOrShadowRoot, InnerHTML {
21595+
interface ShadowRoot extends DocumentFragment, DocumentOrShadowRoot {
2154521596
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ShadowRoot/clonable) */
2154621597
readonly clonable: boolean;
2154721598
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ShadowRoot/delegatesFocus) */
2154821599
readonly delegatesFocus: boolean;
2154921600
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ShadowRoot/host) */
2155021601
readonly host: Element;
21602+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ShadowRoot/innerHTML) */
21603+
innerHTML: string;
2155121604
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ShadowRoot/mode) */
2155221605
readonly mode: ShadowRootMode;
2155321606
onslotchange: ((this: ShadowRoot, ev: Event) => any) | null;
@@ -22294,6 +22347,16 @@ declare var TextEncoderStream: {
2229422347
new(): TextEncoderStream;
2229522348
};
2229622349

22350+
interface TextEvent extends UIEvent {
22351+
readonly data: string;
22352+
initTextEvent(type: string, bubbles?: boolean, cancelable?: boolean, view?: Window | null, data?: string): void;
22353+
}
22354+
22355+
declare var TextEvent: {
22356+
prototype: TextEvent;
22357+
new(): TextEvent;
22358+
};
22359+
2229722360
/**
2229822361
* The dimensions of a piece of text in the canvas, as created by the CanvasRenderingContext2D.measureText() method.
2229922362
*
@@ -27855,13 +27918,17 @@ declare var onchange: ((this: Window, ev: Event) => any) | null;
2785527918
declare var onclick: ((this: Window, ev: MouseEvent) => any) | null;
2785627919
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDialogElement/close_event) */
2785727920
declare var onclose: ((this: Window, ev: Event) => any) | null;
27921+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLCanvasElement/webglcontextlost_event) */
27922+
declare var oncontextlost: ((this: Window, ev: Event) => any) | null;
2785827923
/**
2785927924
* Fires when the user clicks the right mouse button in the client area, opening the context menu.
2786027925
* @param ev The mouse event.
2786127926
*
2786227927
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/contextmenu_event)
2786327928
*/
2786427929
declare var oncontextmenu: ((this: Window, ev: MouseEvent) => any) | null;
27930+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLCanvasElement/contextrestored_event) */
27931+
declare var oncontextrestored: ((this: Window, ev: Event) => any) | null;
2786527932
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/copy_event) */
2786627933
declare var oncopy: ((this: Window, ev: ClipboardEvent) => any) | null;
2786727934
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTrackElement/cuechange_event) */

baselines/dom.iterable.generated.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ interface PluginArray {
248248

249249
interface RTCRtpTransceiver {
250250
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpTransceiver/setCodecPreferences) */
251-
setCodecPreferences(codecs: Iterable<RTCRtpCodecCapability>): void;
251+
setCodecPreferences(codecs: Iterable<RTCRtpCodec>): void;
252252
}
253253

254254
interface RTCStatsReport extends ReadonlyMap<string, any> {

baselines/serviceworker.generated.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1506,6 +1506,8 @@ interface CanvasShadowStyles {
15061506
}
15071507

15081508
interface CanvasState {
1509+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/isContextLost) */
1510+
isContextLost(): boolean;
15091511
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/reset) */
15101512
reset(): void;
15111513
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/restore) */
@@ -4088,8 +4090,6 @@ declare var OffscreenCanvas: {
40884090
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/OffscreenCanvasRenderingContext2D) */
40894091
interface OffscreenCanvasRenderingContext2D extends CanvasCompositing, CanvasDrawImage, CanvasDrawPath, CanvasFillStrokeStyles, CanvasFilters, CanvasImageData, CanvasImageSmoothing, CanvasPath, CanvasPathDrawingStyles, CanvasRect, CanvasShadowStyles, CanvasState, CanvasText, CanvasTextDrawingStyles, CanvasTransform {
40904092
readonly canvas: OffscreenCanvas;
4091-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/OffscreenCanvasRenderingContext2D/commit) */
4092-
commit(): void;
40934093
}
40944094

40954095
declare var OffscreenCanvasRenderingContext2D: {

baselines/sharedworker.generated.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1478,6 +1478,8 @@ interface CanvasShadowStyles {
14781478
}
14791479

14801480
interface CanvasState {
1481+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/isContextLost) */
1482+
isContextLost(): boolean;
14811483
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/reset) */
14821484
reset(): void;
14831485
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/restore) */
@@ -3960,8 +3962,6 @@ declare var OffscreenCanvas: {
39603962
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/OffscreenCanvasRenderingContext2D) */
39613963
interface OffscreenCanvasRenderingContext2D extends CanvasCompositing, CanvasDrawImage, CanvasDrawPath, CanvasFillStrokeStyles, CanvasFilters, CanvasImageData, CanvasImageSmoothing, CanvasPath, CanvasPathDrawingStyles, CanvasRect, CanvasShadowStyles, CanvasState, CanvasText, CanvasTextDrawingStyles, CanvasTransform {
39623964
readonly canvas: OffscreenCanvas;
3963-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/OffscreenCanvasRenderingContext2D/commit) */
3964-
commit(): void;
39653965
}
39663966

39673967
declare var OffscreenCanvasRenderingContext2D: {

0 commit comments

Comments
 (0)