Skip to content

Commit d43c44f

Browse files
authored
Update to bcd@5.5.35 (microsoft#1746)
Co-authored-by: saschanaz <saschanaz@users.noreply.github.com>
1 parent 4d34d6d commit d43c44f

File tree

7 files changed

+131
-9
lines changed

7 files changed

+131
-9
lines changed

baselines/audioworklet.generated.d.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1026,6 +1026,8 @@ declare var URL: {
10261026
new(url: string | URL, base?: string | URL): URL;
10271027
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/canParse_static) */
10281028
canParse(url: string | URL, base?: string): boolean;
1029+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/parse_static) */
1030+
parse(url: string | URL, base?: string): URL | null;
10291031
};
10301032

10311033
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLSearchParams) */

baselines/dom.generated.d.ts

Lines changed: 64 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -578,6 +578,11 @@ interface GetAnimationsOptions {
578578
subtree?: boolean;
579579
}
580580

581+
interface GetHTMLOptions {
582+
serializableShadowRoots?: boolean;
583+
shadowRoots?: ShadowRoot[];
584+
}
585+
581586
interface GetNotificationOptions {
582587
tag?: string;
583588
}
@@ -840,6 +845,10 @@ interface MediaKeySystemMediaCapability {
840845
robustness?: string;
841846
}
842847

848+
interface MediaKeysPolicy {
849+
minHdcpVersion?: string;
850+
}
851+
843852
interface MediaMetadataInit {
844853
album?: string;
845854
artist?: string;
@@ -4648,6 +4657,8 @@ interface CSSStyleDeclaration {
46484657
vectorEffect: string;
46494658
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/vertical-align) */
46504659
verticalAlign: string;
4660+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/view-transition-name) */
4661+
viewTransitionName: string;
46514662
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/visibility) */
46524663
visibility: string;
46534664
/**
@@ -7456,6 +7467,8 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEve
74567467
releaseEvents(): void;
74577468
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/requestStorageAccess) */
74587469
requestStorageAccess(): Promise<void>;
7470+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/startViewTransition) */
7471+
startViewTransition(callbackOptions?: UpdateCallback): ViewTransition;
74597472
/**
74607473
* Writes one or more HTML expressions to a document in the specified window.
74617474
* @param content Specifies the text and HTML tags to write.
@@ -7847,6 +7860,7 @@ interface Element extends Node, ARIAMixin, Animatable, ChildNode, NonDocumentTyp
78477860
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
78487861
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1998/Math/MathML", localName: string): HTMLCollectionOf<MathMLElement>;
78497862
getElementsByTagNameNS(namespace: string | null, localName: string): HTMLCollectionOf<Element>;
7863+
getHTML(options?: GetHTMLOptions): string;
78507864
/**
78517865
* Returns true if element has an attribute whose qualified name is qualifiedName, and false otherwise.
78527866
*
@@ -8899,6 +8913,7 @@ interface GeolocationCoordinates {
88998913
readonly longitude: number;
89008914
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GeolocationCoordinates/speed) */
89018915
readonly speed: number | null;
8916+
toJSON(): any;
89028917
}
89038918

89048919
declare var GeolocationCoordinates: {
@@ -8916,6 +8931,7 @@ interface GeolocationPosition {
89168931
readonly coords: GeolocationCoordinates;
89178932
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GeolocationPosition/timestamp) */
89188933
readonly timestamp: EpochTimeStamp;
8934+
toJSON(): any;
89198935
}
89208936

89218937
declare var GeolocationPosition: {
@@ -10172,6 +10188,7 @@ interface HTMLElement extends Element, ElementCSSInlineStyle, ElementContentEdit
1017210188
accessKey: string;
1017310189
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/accessKeyLabel) */
1017410190
readonly accessKeyLabel: string;
10191+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/autocapitalize) */
1017510192
autocapitalize: string;
1017610193
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/dir) */
1017710194
dir: string;
@@ -10245,7 +10262,11 @@ interface HTMLEmbedElement extends HTMLElement {
1024510262
* @deprecated
1024610263
*/
1024710264
name: string;
10248-
/** Sets or retrieves a URL to be loaded by the object. */
10265+
/**
10266+
* Sets or retrieves a URL to be loaded by the object.
10267+
*
10268+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLEmbedElement/src)
10269+
*/
1024910270
src: string;
1025010271
type: string;
1025110272
/**
@@ -13365,6 +13386,8 @@ interface HTMLTemplateElement extends HTMLElement {
1336513386
shadowRootDelegatesFocus: boolean;
1336613387
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTemplateElement/shadowRootMode) */
1336713388
shadowRootMode: string;
13389+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTemplateElement/shadowRootSerializable) */
13390+
shadowRootSerializable: boolean;
1336813391
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLTemplateElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
1336913392
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
1337013393
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLTemplateElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
@@ -15321,6 +15344,7 @@ declare var MediaKeySystemAccess: {
1532115344
interface MediaKeys {
1532215345
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaKeys/createSession) */
1532315346
createSession(sessionType?: MediaKeySessionType): MediaKeySession;
15347+
getStatusForPolicy(policy?: MediaKeysPolicy): Promise<MediaKeyStatus>;
1532415348
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaKeys/setServerCertificate) */
1532515349
setServerCertificate(serverCertificate: BufferSource): Promise<boolean>;
1532615350
}
@@ -15538,10 +15562,21 @@ interface MediaSource extends EventTarget {
1553815562
declare var MediaSource: {
1553915563
prototype: MediaSource;
1554015564
new(): MediaSource;
15565+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaSource/canConstructInDedicatedWorker_static) */
15566+
readonly canConstructInDedicatedWorker: boolean;
1554115567
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaSource/isTypeSupported_static) */
1554215568
isTypeSupported(type: string): boolean;
1554315569
};
1554415570

15571+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaSourceHandle) */
15572+
interface MediaSourceHandle {
15573+
}
15574+
15575+
declare var MediaSourceHandle: {
15576+
prototype: MediaSourceHandle;
15577+
new(): MediaSourceHandle;
15578+
};
15579+
1554515580
interface MediaStreamEventMap {
1554615581
"addtrack": MediaStreamTrackEvent;
1554715582
"removetrack": MediaStreamTrackEvent;
@@ -17934,6 +17969,7 @@ declare var PointerEvent: {
1793417969
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PopStateEvent)
1793517970
*/
1793617971
interface PopStateEvent extends Event {
17972+
readonly hasUAVisualTransition: boolean;
1793717973
/**
1793817974
* Returns a copy of the information that was provided to pushState() or replaceState().
1793917975
*
@@ -21605,8 +21641,10 @@ interface ShadowRoot extends DocumentFragment, DocumentOrShadowRoot {
2160521641
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ShadowRoot/mode) */
2160621642
readonly mode: ShadowRootMode;
2160721643
onslotchange: ((this: ShadowRoot, ev: Event) => any) | null;
21644+
readonly serializable: boolean;
2160821645
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ShadowRoot/slotAssignment) */
2160921646
readonly slotAssignment: SlotAssignmentMode;
21647+
getHTML(options?: GetHTMLOptions): string;
2161021648
setHTMLUnsafe(html: string): void;
2161121649
/** Throws a "NotSupportedError" DOMException if context object is a shadow root. */
2161221650
addEventListener<K extends keyof ShadowRootEventMap>(type: K, listener: (this: ShadowRoot, ev: ShadowRootEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
@@ -22954,6 +22992,8 @@ declare var URL: {
2295422992
canParse(url: string | URL, base?: string): boolean;
2295522993
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/createObjectURL_static) */
2295622994
createObjectURL(obj: Blob | MediaSource): string;
22995+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/parse_static) */
22996+
parse(url: string | URL, base?: string): URL | null;
2295722997
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/revokeObjectURL_static) */
2295822998
revokeObjectURL(url: string): void;
2295922999
};
@@ -23275,6 +23315,23 @@ declare var VideoPlaybackQuality: {
2327523315
new(): VideoPlaybackQuality;
2327623316
};
2327723317

23318+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ViewTransition) */
23319+
interface ViewTransition {
23320+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ViewTransition/finished) */
23321+
readonly finished: Promise<undefined>;
23322+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ViewTransition/ready) */
23323+
readonly ready: Promise<undefined>;
23324+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ViewTransition/updateCallbackDone) */
23325+
readonly updateCallbackDone: Promise<undefined>;
23326+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ViewTransition/skipTransition) */
23327+
skipTransition(): void;
23328+
}
23329+
23330+
declare var ViewTransition: {
23331+
prototype: ViewTransition;
23332+
new(): ViewTransition;
23333+
};
23334+
2327823335
interface VisualViewportEventMap {
2327923336
"resize": Event;
2328023337
"scroll": Event;
@@ -25023,6 +25080,7 @@ declare var WebGLRenderingContext: {
2502325080
interface WebGLRenderingContextBase {
2502425081
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/canvas) */
2502525082
readonly canvas: HTMLCanvasElement | OffscreenCanvas;
25083+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/drawingBufferColorSpace) */
2502625084
drawingBufferColorSpace: PredefinedColorSpace;
2502725085
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/drawingBufferHeight) */
2502825086
readonly drawingBufferHeight: GLsizei;
@@ -27316,6 +27374,10 @@ interface UnderlyingSourceStartCallback<R> {
2731627374
(controller: ReadableStreamController<R>): any;
2731727375
}
2731827376

27377+
interface UpdateCallback {
27378+
(): any;
27379+
}
27380+
2731927381
interface VideoFrameOutputCallback {
2732027382
(output: VideoFrame): void;
2732127383
}
@@ -28458,7 +28520,7 @@ type ReportList = Report[];
2845828520
type RequestInfo = Request | string;
2845928521
type TexImageSource = ImageBitmap | ImageData | HTMLImageElement | HTMLCanvasElement | HTMLVideoElement | OffscreenCanvas | VideoFrame;
2846028522
type TimerHandler = string | Function;
28461-
type Transferable = OffscreenCanvas | ImageBitmap | MessagePort | ReadableStream | WritableStream | TransformStream | VideoFrame | ArrayBuffer;
28523+
type Transferable = OffscreenCanvas | ImageBitmap | MessagePort | MediaSourceHandle | ReadableStream | WritableStream | TransformStream | VideoFrame | ArrayBuffer;
2846228524
type Uint32List = Uint32Array | GLuint[];
2846328525
type VibratePattern = number | number[];
2846428526
type WindowProxy = Window;

baselines/serviceworker.generated.d.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5323,6 +5323,8 @@ declare var URL: {
53235323
new(url: string | URL, base?: string | URL): URL;
53245324
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/canParse_static) */
53255325
canParse(url: string | URL, base?: string): boolean;
5326+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/parse_static) */
5327+
parse(url: string | URL, base?: string): URL | null;
53265328
};
53275329

53285330
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLSearchParams) */
@@ -7026,6 +7028,7 @@ declare var WebGLRenderingContext: {
70267028
};
70277029

70287030
interface WebGLRenderingContextBase {
7031+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/drawingBufferColorSpace) */
70297032
drawingBufferColorSpace: PredefinedColorSpace;
70307033
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/drawingBufferHeight) */
70317034
readonly drawingBufferHeight: GLsizei;
@@ -8021,7 +8024,9 @@ interface WorkerGlobalScope extends EventTarget, FontFaceSource, WindowOrWorkerG
80218024
onoffline: ((this: WorkerGlobalScope, ev: Event) => any) | null;
80228025
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/online_event) */
80238026
ononline: ((this: WorkerGlobalScope, ev: Event) => any) | null;
8027+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/rejectionhandled_event) */
80248028
onrejectionhandled: ((this: WorkerGlobalScope, ev: PromiseRejectionEvent) => any) | null;
8029+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/unhandledrejection_event) */
80258030
onunhandledrejection: ((this: WorkerGlobalScope, ev: PromiseRejectionEvent) => any) | null;
80268031
/**
80278032
* Returns workerGlobal.
@@ -8482,7 +8487,9 @@ declare var onlanguagechange: ((this: ServiceWorkerGlobalScope, ev: Event) => an
84828487
declare var onoffline: ((this: ServiceWorkerGlobalScope, ev: Event) => any) | null;
84838488
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/online_event) */
84848489
declare var ononline: ((this: ServiceWorkerGlobalScope, ev: Event) => any) | null;
8490+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/rejectionhandled_event) */
84858491
declare var onrejectionhandled: ((this: ServiceWorkerGlobalScope, ev: PromiseRejectionEvent) => any) | null;
8492+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/unhandledrejection_event) */
84868493
declare var onunhandledrejection: ((this: ServiceWorkerGlobalScope, ev: PromiseRejectionEvent) => any) | null;
84878494
/**
84888495
* Returns workerGlobal.

baselines/sharedworker.generated.d.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5134,6 +5134,8 @@ declare var URL: {
51345134
canParse(url: string | URL, base?: string): boolean;
51355135
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/createObjectURL_static) */
51365136
createObjectURL(obj: Blob): string;
5137+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/parse_static) */
5138+
parse(url: string | URL, base?: string): URL | null;
51375139
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/revokeObjectURL_static) */
51385140
revokeObjectURL(url: string): void;
51395141
};
@@ -6839,6 +6841,7 @@ declare var WebGLRenderingContext: {
68396841
};
68406842

68416843
interface WebGLRenderingContextBase {
6844+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/drawingBufferColorSpace) */
68426845
drawingBufferColorSpace: PredefinedColorSpace;
68436846
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/drawingBufferHeight) */
68446847
readonly drawingBufferHeight: GLsizei;
@@ -7852,7 +7855,9 @@ interface WorkerGlobalScope extends EventTarget, FontFaceSource, WindowOrWorkerG
78527855
onoffline: ((this: WorkerGlobalScope, ev: Event) => any) | null;
78537856
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/online_event) */
78547857
ononline: ((this: WorkerGlobalScope, ev: Event) => any) | null;
7858+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/rejectionhandled_event) */
78557859
onrejectionhandled: ((this: WorkerGlobalScope, ev: PromiseRejectionEvent) => any) | null;
7860+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/unhandledrejection_event) */
78567861
onunhandledrejection: ((this: WorkerGlobalScope, ev: PromiseRejectionEvent) => any) | null;
78577862
/**
78587863
* Returns workerGlobal.
@@ -8488,7 +8493,9 @@ declare var onlanguagechange: ((this: SharedWorkerGlobalScope, ev: Event) => any
84888493
declare var onoffline: ((this: SharedWorkerGlobalScope, ev: Event) => any) | null;
84898494
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/online_event) */
84908495
declare var ononline: ((this: SharedWorkerGlobalScope, ev: Event) => any) | null;
8496+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/rejectionhandled_event) */
84918497
declare var onrejectionhandled: ((this: SharedWorkerGlobalScope, ev: PromiseRejectionEvent) => any) | null;
8498+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/unhandledrejection_event) */
84928499
declare var onunhandledrejection: ((this: SharedWorkerGlobalScope, ev: PromiseRejectionEvent) => any) | null;
84938500
/**
84948501
* Returns workerGlobal.

baselines/webworker.generated.d.ts

Lines changed: 32 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -392,6 +392,10 @@ interface MediaEncodingConfiguration extends MediaConfiguration {
392392
type: MediaEncodingType;
393393
}
394394

395+
interface MediaStreamTrackProcessorInit {
396+
maxBufferSize?: number;
397+
}
398+
395399
interface MessageEventInit<T = any> extends EventInit {
396400
data?: T;
397401
lastEventId?: string;
@@ -3904,6 +3908,26 @@ declare var MediaCapabilities: {
39043908
new(): MediaCapabilities;
39053909
};
39063910

3911+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaSourceHandle) */
3912+
interface MediaSourceHandle {
3913+
}
3914+
3915+
declare var MediaSourceHandle: {
3916+
prototype: MediaSourceHandle;
3917+
new(): MediaSourceHandle;
3918+
};
3919+
3920+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaStreamTrackProcessor) */
3921+
interface MediaStreamTrackProcessor {
3922+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaStreamTrackProcessor/readable) */
3923+
readonly readable: ReadableStream;
3924+
}
3925+
3926+
declare var MediaStreamTrackProcessor: {
3927+
prototype: MediaStreamTrackProcessor;
3928+
new(init: MediaStreamTrackProcessorInit): MediaStreamTrackProcessor;
3929+
};
3930+
39073931
/**
39083932
* This Channel Messaging API interface allows us to create a new message channel and send data through it via its two MessagePort properties.
39093933
*
@@ -5680,6 +5704,8 @@ declare var URL: {
56805704
canParse(url: string | URL, base?: string): boolean;
56815705
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/createObjectURL_static) */
56825706
createObjectURL(obj: Blob): string;
5707+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/parse_static) */
5708+
parse(url: string | URL, base?: string): URL | null;
56835709
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/revokeObjectURL_static) */
56845710
revokeObjectURL(url: string): void;
56855711
};
@@ -7514,6 +7540,7 @@ declare var WebGLRenderingContext: {
75147540
};
75157541

75167542
interface WebGLRenderingContextBase {
7543+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/drawingBufferColorSpace) */
75177544
drawingBufferColorSpace: PredefinedColorSpace;
75187545
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/drawingBufferHeight) */
75197546
readonly drawingBufferHeight: GLsizei;
@@ -8548,7 +8575,9 @@ interface WorkerGlobalScope extends EventTarget, FontFaceSource, WindowOrWorkerG
85488575
onoffline: ((this: WorkerGlobalScope, ev: Event) => any) | null;
85498576
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/online_event) */
85508577
ononline: ((this: WorkerGlobalScope, ev: Event) => any) | null;
8578+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/rejectionhandled_event) */
85518579
onrejectionhandled: ((this: WorkerGlobalScope, ev: PromiseRejectionEvent) => any) | null;
8580+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/unhandledrejection_event) */
85528581
onunhandledrejection: ((this: WorkerGlobalScope, ev: PromiseRejectionEvent) => any) | null;
85538582
/**
85548583
* Returns workerGlobal.
@@ -9211,7 +9240,9 @@ declare var onlanguagechange: ((this: DedicatedWorkerGlobalScope, ev: Event) =>
92119240
declare var onoffline: ((this: DedicatedWorkerGlobalScope, ev: Event) => any) | null;
92129241
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/online_event) */
92139242
declare var ononline: ((this: DedicatedWorkerGlobalScope, ev: Event) => any) | null;
9243+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/rejectionhandled_event) */
92149244
declare var onrejectionhandled: ((this: DedicatedWorkerGlobalScope, ev: PromiseRejectionEvent) => any) | null;
9245+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/unhandledrejection_event) */
92159246
declare var onunhandledrejection: ((this: DedicatedWorkerGlobalScope, ev: PromiseRejectionEvent) => any) | null;
92169247
/**
92179248
* Returns workerGlobal.
@@ -9330,7 +9361,7 @@ type ReportList = Report[];
93309361
type RequestInfo = Request | string;
93319362
type TexImageSource = ImageBitmap | ImageData | OffscreenCanvas | VideoFrame;
93329363
type TimerHandler = string | Function;
9333-
type Transferable = OffscreenCanvas | ImageBitmap | MessagePort | ReadableStream | WritableStream | TransformStream | VideoFrame | ArrayBuffer;
9364+
type Transferable = OffscreenCanvas | ImageBitmap | MessagePort | MediaSourceHandle | ReadableStream | WritableStream | TransformStream | VideoFrame | ArrayBuffer;
93349365
type Uint32List = Uint32Array | GLuint[];
93359366
type XMLHttpRequestBodyInit = Blob | BufferSource | FormData | URLSearchParams | string;
93369367
type AlphaOption = "discard" | "keep";

0 commit comments

Comments
 (0)