Skip to content

Commit ca77744

Browse files
authored
Update webref/idl to 2.2.7 (#1066)
1 parent 3336cb6 commit ca77744

6 files changed

+190
-151
lines changed

baselines/dom.generated.d.ts

+3-2
Original file line numberDiff line numberDiff line change
@@ -9749,7 +9749,7 @@ interface MediaKeySessionEventMap {
97499749

97509750
/** This EncryptedMediaExtensions API interface represents a context for message exchange with a content decryption module (CDM). */
97519751
interface MediaKeySession extends EventTarget {
9752-
readonly closed: Promise<undefined>;
9752+
readonly closed: Promise<MediaKeySessionClosedReason>;
97539753
readonly expiration: number;
97549754
readonly keyStatuses: MediaKeyStatusMap;
97559755
onkeystatuseschange: ((this: MediaKeySession, ev: Event) => any) | null;
@@ -18778,6 +18778,7 @@ type MediaDecodingType = "file" | "media-source" | "webrtc";
1877818778
type MediaDeviceKind = "audioinput" | "audiooutput" | "videoinput";
1877918779
type MediaEncodingType = "record" | "webrtc";
1878018780
type MediaKeyMessageType = "individualization-request" | "license-release" | "license-renewal" | "license-request";
18781+
type MediaKeySessionClosedReason = "closed-by-application" | "hardware-context-reset" | "internal-error" | "release-acknowledged" | "resource-evicted";
1878118782
type MediaKeySessionType = "persistent-license" | "temporary";
1878218783
type MediaKeyStatus = "expired" | "internal-error" | "output-downscaled" | "output-restricted" | "released" | "status-pending" | "usable" | "usable-in-future";
1878318784
type MediaKeysRequirement = "not-allowed" | "optional" | "required";
@@ -18793,7 +18794,7 @@ type OscillatorType = "custom" | "sawtooth" | "sine" | "square" | "triangle";
1879318794
type OverSampleType = "2x" | "4x" | "none";
1879418795
type PanningModelType = "HRTF" | "equalpower";
1879518796
type PaymentComplete = "fail" | "success" | "unknown";
18796-
type PermissionName = "gamepad" | "geolocation" | "notifications" | "persistent-storage" | "push";
18797+
type PermissionName = "gamepad" | "geolocation" | "notifications" | "persistent-storage" | "push" | "screen-wake-lock";
1879718798
type PermissionState = "denied" | "granted" | "prompt";
1879818799
type PlaybackDirection = "alternate" | "alternate-reverse" | "normal" | "reverse";
1879918800
type PositionAlignSetting = "auto" | "center" | "line-left" | "line-right";

baselines/serviceworker.generated.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -5680,7 +5680,7 @@ type MediaDecodingType = "file" | "media-source" | "webrtc";
56805680
type MediaEncodingType = "record" | "webrtc";
56815681
type NotificationDirection = "auto" | "ltr" | "rtl";
56825682
type NotificationPermission = "default" | "denied" | "granted";
5683-
type PermissionName = "gamepad" | "geolocation" | "notifications" | "persistent-storage" | "push";
5683+
type PermissionName = "gamepad" | "geolocation" | "notifications" | "persistent-storage" | "push" | "screen-wake-lock";
56845684
type PermissionState = "denied" | "granted" | "prompt";
56855685
type PredefinedColorSpace = "display-p3" | "srgb";
56865686
type PremultiplyAlpha = "default" | "none" | "premultiply";

baselines/sharedworker.generated.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -5721,7 +5721,7 @@ type MediaDecodingType = "file" | "media-source" | "webrtc";
57215721
type MediaEncodingType = "record" | "webrtc";
57225722
type NotificationDirection = "auto" | "ltr" | "rtl";
57235723
type NotificationPermission = "default" | "denied" | "granted";
5724-
type PermissionName = "gamepad" | "geolocation" | "notifications" | "persistent-storage" | "push";
5724+
type PermissionName = "gamepad" | "geolocation" | "notifications" | "persistent-storage" | "push" | "screen-wake-lock";
57255725
type PermissionState = "denied" | "granted" | "prompt";
57265726
type PredefinedColorSpace = "display-p3" | "srgb";
57275727
type PremultiplyAlpha = "default" | "none" | "premultiply";

baselines/webworker.generated.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -5954,7 +5954,7 @@ type MediaDecodingType = "file" | "media-source" | "webrtc";
59545954
type MediaEncodingType = "record" | "webrtc";
59555955
type NotificationDirection = "auto" | "ltr" | "rtl";
59565956
type NotificationPermission = "default" | "denied" | "granted";
5957-
type PermissionName = "gamepad" | "geolocation" | "notifications" | "persistent-storage" | "push";
5957+
type PermissionName = "gamepad" | "geolocation" | "notifications" | "persistent-storage" | "push" | "screen-wake-lock";
59585958
type PermissionState = "denied" | "granted" | "prompt";
59595959
type PredefinedColorSpace = "display-p3" | "srgb";
59605960
type PremultiplyAlpha = "default" | "none" | "premultiply";

inputfiles/removedTypes.jsonc

-1
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,6 @@
141141
}
142142
}
143143
},
144-
"SVGAltGlyphElement": null,
145144
"SVGAnimationElement": {
146145
"properties": {
147146
"property": {

0 commit comments

Comments
 (0)