Skip to content

Commit 2d1c958

Browse files
authored
Update bcd to 3.3.12 (#1076)
1 parent fbe4f99 commit 2d1c958

File tree

6 files changed

+143
-219
lines changed

6 files changed

+143
-219
lines changed

baselines/dom.generated.d.ts

+7-17
Original file line numberDiff line numberDiff line change
@@ -1604,11 +1604,6 @@ interface ShareData {
16041604
url?: string;
16051605
}
16061606

1607-
interface SpeechRecognitionErrorEventInit extends EventInit {
1608-
error: SpeechRecognitionErrorCode;
1609-
message?: string;
1610-
}
1611-
16121607
interface SpeechSynthesisErrorEventInit extends SpeechSynthesisEventInit {
16131608
error: SpeechSynthesisErrorCode;
16141609
}
@@ -4414,6 +4409,8 @@ interface Document extends Node, DocumentAndElementEventHandlers, DocumentOrShad
44144409
* Gets the URL of the location that referred the user to the current page.
44154410
*/
44164411
readonly referrer: string;
4412+
/** @deprecated */
4413+
readonly rootElement: SVGSVGElement | null;
44174414
/**
44184415
* Retrieves a collection of all script objects in the document.
44194416
*/
@@ -4538,7 +4535,6 @@ interface Document extends Node, DocumentAndElementEventHandlers, DocumentOrShad
45384535
createEvent(eventInterface: "RTCPeerConnectionIceEvent"): RTCPeerConnectionIceEvent;
45394536
createEvent(eventInterface: "RTCTrackEvent"): RTCTrackEvent;
45404537
createEvent(eventInterface: "SecurityPolicyViolationEvent"): SecurityPolicyViolationEvent;
4541-
createEvent(eventInterface: "SpeechRecognitionErrorEvent"): SpeechRecognitionErrorEvent;
45424538
createEvent(eventInterface: "SpeechSynthesisErrorEvent"): SpeechSynthesisErrorEvent;
45434539
createEvent(eventInterface: "SpeechSynthesisEvent"): SpeechSynthesisEvent;
45444540
createEvent(eventInterface: "StorageEvent"): StorageEvent;
@@ -9553,6 +9549,8 @@ interface KeyboardEvent extends UIEvent {
95539549
readonly repeat: boolean;
95549550
readonly shiftKey: boolean;
95559551
getModifierState(keyArg: string): boolean;
9552+
/** @deprecated */
9553+
initKeyboardEvent(typeArg: string, bubblesArg?: boolean, cancelableArg?: boolean, viewArg?: Window | null, keyArg?: string, locationArg?: number, ctrlKey?: boolean, altKey?: boolean, shiftKey?: boolean, metaKey?: boolean): void;
95569554
readonly DOM_KEY_LOCATION_LEFT: number;
95579555
readonly DOM_KEY_LOCATION_NUMPAD: number;
95589556
readonly DOM_KEY_LOCATION_RIGHT: number;
@@ -11471,6 +11469,7 @@ interface PointerEvent extends MouseEvent {
1147111469
readonly twist: number;
1147211470
readonly width: number;
1147311471
getCoalescedEvents(): PointerEvent[];
11472+
getPredictedEvents(): PointerEvent[];
1147411473
}
1147511474

1147611475
declare var PointerEvent: {
@@ -11790,8 +11789,10 @@ declare var RTCPeerConnection: {
1179011789
};
1179111790

1179211791
interface RTCPeerConnectionIceErrorEvent extends Event {
11792+
readonly address: string | null;
1179311793
readonly errorCode: number;
1179411794
readonly errorText: string;
11795+
readonly port: number | null;
1179511796
readonly url: string;
1179611797
}
1179711798

@@ -14150,16 +14151,6 @@ declare var SpeechRecognitionAlternative: {
1415014151
new(): SpeechRecognitionAlternative;
1415114152
};
1415214153

14153-
interface SpeechRecognitionErrorEvent extends Event {
14154-
readonly error: SpeechRecognitionErrorCode;
14155-
readonly message: string;
14156-
}
14157-
14158-
declare var SpeechRecognitionErrorEvent: {
14159-
prototype: SpeechRecognitionErrorEvent;
14160-
new(type: string, eventInitDict: SpeechRecognitionErrorEventInit): SpeechRecognitionErrorEvent;
14161-
};
14162-
1416314154
interface SpeechRecognitionResult {
1416414155
readonly isFinal: boolean;
1416514156
readonly length: number;
@@ -18890,7 +18881,6 @@ type ServiceWorkerState = "activated" | "activating" | "installed" | "installing
1889018881
type ServiceWorkerUpdateViaCache = "all" | "imports" | "none";
1889118882
type ShadowRootMode = "closed" | "open";
1889218883
type SlotAssignmentMode = "manual" | "named";
18893-
type SpeechRecognitionErrorCode = "aborted" | "audio-capture" | "bad-grammar" | "language-not-supported" | "network" | "no-speech" | "not-allowed" | "service-not-allowed";
1889418884
type SpeechSynthesisErrorCode = "audio-busy" | "audio-hardware" | "canceled" | "interrupted" | "invalid-argument" | "language-unavailable" | "network" | "not-allowed" | "synthesis-failed" | "synthesis-unavailable" | "text-too-long" | "voice-unavailable";
1889518885
type TextTrackKind = "captions" | "chapters" | "descriptions" | "metadata" | "subtitles";
1889618886
type TextTrackMode = "disabled" | "hidden" | "showing";

baselines/serviceworker.generated.d.ts

+1
Original file line numberDiff line numberDiff line change
@@ -1453,6 +1453,7 @@ declare var ExtendableMessageEvent: {
14531453
/** This is the event type for fetch events dispatched on the service worker global scope. It contains information about the fetch, including the request and how the receiver will treat the response. It provides the event.respondWith() method, which allows us to provide a response to this fetch. */
14541454
interface FetchEvent extends ExtendableEvent {
14551455
readonly clientId: string;
1456+
readonly handled: Promise<undefined>;
14561457
readonly request: Request;
14571458
readonly resultingClientId: string;
14581459
respondWith(r: Response | PromiseLike<Response>): void;

baselines/webworker.generated.d.ts

+1
Original file line numberDiff line numberDiff line change
@@ -1497,6 +1497,7 @@ declare var ExtendableMessageEvent: {
14971497
/** This is the event type for fetch events dispatched on the service worker global scope. It contains information about the fetch, including the request and how the receiver will treat the response. It provides the event.respondWith() method, which allows us to provide a response to this fetch. */
14981498
interface FetchEvent extends ExtendableEvent {
14991499
readonly clientId: string;
1500+
readonly handled: Promise<undefined>;
15001501
readonly request: Request;
15011502
readonly resultingClientId: string;
15021503
respondWith(r: Response | PromiseLike<Response>): void;

inputfiles/addedTypes.jsonc

-18
Original file line numberDiff line numberDiff line change
@@ -725,24 +725,6 @@
725725
}
726726
}
727727
},
728-
"SpeechRecognition": {
729-
"events": {
730-
"event": [
731-
{
732-
"name": "result",
733-
"type": "SpeechRecognitionEvent"
734-
},
735-
{
736-
"name": "nomatch",
737-
"type": "SpeechRecognitionEvent"
738-
},
739-
{
740-
"name": "error",
741-
"type": "SpeechRecognitionErrorEvent"
742-
}
743-
]
744-
}
745-
},
746728
"SpeechSynthesisUtterance": {
747729
"events": {
748730
"event": [

0 commit comments

Comments
 (0)