Skip to content

Commit e33c346

Browse files
Bashamegasaschanaz
andauthored
Migrate 9 removed dictionaries (#2294)
Co-authored-by: saschanaz <saschanaz@users.noreply.github.com>
1 parent da23e62 commit e33c346

File tree

8 files changed

+57
-75
lines changed

8 files changed

+57
-75
lines changed
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
removals {
2+
dictionary CredentialCreationOptions {
3+
member digital // Blink test-only as of 2025-12
4+
member federated // Blink only as of 2025-12
5+
member password // Blink only as of 2025-12
6+
member mediation // WebKit only as of 2025-12 (and under test in Blink)
7+
}
8+
}

inputfiles/patches/html.kdl

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,9 @@ interface HTMLImageElement {
1919
property decoding overrideType=#""async" | "sync" | "auto""#
2020
property loading overrideType=#""eager" | "lazy""#
2121
}
22+
23+
removals {
24+
dictionary CanvasRenderingContext2DSettings {
25+
member colorType // Blink-only as of 2025-12, being tested in WebKit
26+
}
27+
}
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
removals {
2+
dictionary DisplayMediaStreamOptions {
3+
// Only `audio` and `video` are implemented by 2+ engines, everything else is Blink only as of 2025-12.
4+
// https://searchfox.org/mozilla-central/source/dom/webidl/MediaStream.webidl
5+
// https://searchfox.org/wubkat/source/Source/WebCore/Modules/mediastream/MediaDevices.idl
6+
// https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/renderer/modules/mediastream/media_stream_constraints.idl
7+
member monitorTypeSurfaces
8+
member selfBrowserSurface
9+
member surfaceSwitching
10+
member systemAudio
11+
member windowAudio
12+
}
13+
}
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
removals {
2+
dictionary FetchEventInit {
3+
member replacesClientId // Not implemented as of 2025-12
4+
}
5+
}
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
removals {
2+
dictionary GetAnimationsOptions {
3+
member pseudoElement // No implementation as of 2025-12
4+
}
5+
}

inputfiles/patches/webaudio.kdl

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
removals {
2+
dictionary AudioContextOptions {
3+
member renderSizeHint // Blink test only as of 2025-12
4+
member sinkId // Blink only as of 2025-12
5+
}
6+
}

inputfiles/patches/webcodecs.kdl

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,20 @@ removals {
3232
pq // Blink only as of 2022-10
3333
}
3434

35+
dictionary EncodedVideoChunkInit {
36+
member transfer // Blink only as of 2025-12
37+
}
38+
39+
dictionary EncodedVideoChunkMetadata {
40+
member alphaSideData // Blink only as of 2025-12
41+
}
42+
43+
dictionary AudioEncoderConfig {
44+
// https://w3c.github.io/webcodecs/flac_codec_registration.html
45+
// Blink only as of 2025-12
46+
member flac
47+
}
48+
3549
dictionary VideoFrameBufferInit {
3650
member flip // Blink only as of 2025-12
3751
member metadata // No implementation as of 2025-12. Linked to VideoFrame.metadata()

inputfiles/removedTypes.jsonc

Lines changed: 0 additions & 75 deletions
Original file line numberDiff line numberDiff line change
@@ -111,81 +111,6 @@
111111
},
112112
"dictionaries": {
113113
"dictionary": {
114-
"AudioContextOptions": {
115-
"members": {
116-
"member": {
117-
"renderSizeHint": null, // No implementation as of 2023-10
118-
"sinkId": null // Blink only as of 2023-10
119-
}
120-
}
121-
},
122-
"AudioEncoderConfig": {
123-
"members": {
124-
"member": {
125-
"flac": null // Blink only as of 2024-09
126-
}
127-
}
128-
},
129-
"CanvasRenderingContext2DSettings": {
130-
"members": {
131-
"member": {
132-
"colorType": null // No implementation as of 2025-02
133-
}
134-
}
135-
},
136-
"CredentialCreationOptions": {
137-
"members": {
138-
"member": {
139-
"digital": null, // Blink test-only as of 2025-05
140-
"federated": null, // Blink only as of 2025-05
141-
"password": null, // Blink only as of 2025-05
142-
"mediation": null // WebKit only as of 2025-05
143-
}
144-
}
145-
},
146-
"DisplayMediaStreamOptions": {
147-
"members": {
148-
"member": {
149-
// Only `audio` and `video` are implemented by 2+ engines, everything else is currently Blink only.
150-
// https://searchfox.org/mozilla-central/source/dom/webidl/MediaStream.webidl
151-
// https://searchfox.org/wubkat/source/Source/WebCore/Modules/mediastream/MediaDevices.idl
152-
// https://source.chromium.org/chromium/chromium/src/+/main:third_party/devtools-frontend/src/node_modules/@webref/idl/screen-capture.idl
153-
"monitorTypeSurfaces": null,
154-
"selfBrowserSurface": null,
155-
"surfaceSwitching": null,
156-
"systemAudio": null,
157-
"windowAudio": null
158-
}
159-
}
160-
},
161-
"EncodedVideoChunkInit": {
162-
"members": {
163-
"member": {
164-
"transfer": null, // Blink only as of 2023-11
165-
}
166-
}
167-
},
168-
"EncodedVideoChunkMetadata": {
169-
"members": {
170-
"member": {
171-
"alphaSideData": null, // Blink only as of 2023-03
172-
}
173-
}
174-
},
175-
"FetchEventInit": {
176-
"members": {
177-
"member": {
178-
"replacesClientId": null // Not implemented as of 2025-04
179-
}
180-
}
181-
},
182-
"GetAnimationsOptions": {
183-
"members": {
184-
"member": {
185-
"pseudoElement": null // No implementation as of 2024-11
186-
}
187-
}
188-
},
189114
"ImageDataSettings": {
190115
"members": {
191116
"member": {

0 commit comments

Comments
 (0)