diff --git a/inputfiles/patches/credential-management.kdl b/inputfiles/patches/credential-management.kdl new file mode 100644 index 000000000..e0cc8ce61 --- /dev/null +++ b/inputfiles/patches/credential-management.kdl @@ -0,0 +1,8 @@ +removals { + dictionary CredentialCreationOptions { + member digital // Blink test-only as of 2025-05 + member federated // Blink only as of 2025-05 + member password // Blink only as of 2025-05 + member mediation // WebKit only as of 2025-05 + } +} diff --git a/inputfiles/patches/html.kdl b/inputfiles/patches/html.kdl index 3136a6da9..7f2c13105 100644 --- a/inputfiles/patches/html.kdl +++ b/inputfiles/patches/html.kdl @@ -19,3 +19,13 @@ interface HTMLImageElement { property decoding overrideType=#""async" | "sync" | "auto""# property loading overrideType=#""eager" | "lazy""# } + +removals { + dictionary CanvasRenderingContext2DSettings { + member colorType // No implementation as of 2025-02 + } + + dictionary FocusOptions { + member focusVisible // Gecko only as of 2022-09 + } +} diff --git a/inputfiles/patches/screen-capture.kdl b/inputfiles/patches/screen-capture.kdl new file mode 100644 index 000000000..4dfc5fe4a --- /dev/null +++ b/inputfiles/patches/screen-capture.kdl @@ -0,0 +1,13 @@ +removals { + dictionary DisplayMediaStreamOptions { + // Only `audio` and `video` are implemented by 2+ engines, everything else is currently Blink only. + // https://searchfox.org/mozilla-central/source/dom/webidl/MediaStream.webidl + // https://searchfox.org/wubkat/source/Source/WebCore/Modules/mediastream/MediaDevices.idl + // https://source.chromium.org/chromium/chromium/src/+/main:third_party/devtools-frontend/src/node_modules/@webref/idl/screen-capture.idl + member monitorTypeSurfaces + member selfBrowserSurface + member surfaceSwitching + member systemAudio + member windowAudio + } +} diff --git a/inputfiles/patches/service-workers.kdl b/inputfiles/patches/service-workers.kdl new file mode 100644 index 000000000..ed59447ae --- /dev/null +++ b/inputfiles/patches/service-workers.kdl @@ -0,0 +1,5 @@ +removals { + dictionary FetchEventInit { + member replacesClientId // Not implemented as of 2025-04 + } +} diff --git a/inputfiles/patches/web-animations.kdl b/inputfiles/patches/web-animations.kdl new file mode 100644 index 000000000..769c6e48e --- /dev/null +++ b/inputfiles/patches/web-animations.kdl @@ -0,0 +1,5 @@ +removals { + dictionary GetAnimationsOptions { + member pseudoElement // No implementation as of 2024-11 + } +} diff --git a/inputfiles/patches/webaudio.kdl b/inputfiles/patches/webaudio.kdl new file mode 100644 index 000000000..daff35450 --- /dev/null +++ b/inputfiles/patches/webaudio.kdl @@ -0,0 +1,6 @@ +removals { + dictionary AudioContextOptions { + member renderSizeHint // No implementation as of 2023-10 + member sinkId // Blink only as of 2023-10 + } +} diff --git a/inputfiles/patches/webcodecs.kdl b/inputfiles/patches/webcodecs.kdl index 05e953b92..4bc5f617e 100644 --- a/inputfiles/patches/webcodecs.kdl +++ b/inputfiles/patches/webcodecs.kdl @@ -31,4 +31,22 @@ removals { linear // Blink only as of 2022-10 pq // Blink only as of 2022-10 } + + dictionary EncodedVideoChunkInit { + member transfer // Blink only as of 2023-11 + } + + dictionary EncodedVideoChunkMetadata { + member alphaSideData // Blink only as of 2023-03 + member svc // Blink only as of 2023-03 + } + + dictionary AudioEncoderConfig { + // https://w3c.github.io/webcodecs/aac_codec_registration.html + // Blink only as of 2024-09 + member aac + // https://w3c.github.io/webcodecs/flac_codec_registration.html + // Blink only as of 2024-09 + member flac + } } diff --git a/inputfiles/removedTypes.jsonc b/inputfiles/removedTypes.jsonc index df54f0c09..0dbcf5286 100644 --- a/inputfiles/removedTypes.jsonc +++ b/inputfiles/removedTypes.jsonc @@ -118,90 +118,6 @@ }, "dictionaries": { "dictionary": { - "AudioContextOptions": { - "members": { - "member": { - "renderSizeHint": null, // No implementation as of 2023-10 - "sinkId": null // Blink only as of 2023-10 - } - } - }, - "AudioEncoderConfig": { - "members": { - "member": { - "aac": null, // Blink only as of 2024-09 - "flac": null // Blink only as of 2024-09 - } - } - }, - "CanvasRenderingContext2DSettings": { - "members": { - "member": { - "colorType": null // No implementation as of 2025-02 - } - } - }, - "CredentialCreationOptions": { - "members": { - "member": { - "digital": null, // Blink test-only as of 2025-05 - "federated": null, // Blink only as of 2025-05 - "password": null, // Blink only as of 2025-05 - "mediation": null // WebKit only as of 2025-05 - } - } - }, - "DisplayMediaStreamOptions": { - "members": { - "member": { - // Only `audio` and `video` are implemented by 2+ engines, everything else is currently Blink only. - // https://searchfox.org/mozilla-central/source/dom/webidl/MediaStream.webidl - // https://searchfox.org/wubkat/source/Source/WebCore/Modules/mediastream/MediaDevices.idl - // https://source.chromium.org/chromium/chromium/src/+/main:third_party/devtools-frontend/src/node_modules/@webref/idl/screen-capture.idl - "monitorTypeSurfaces": null, - "selfBrowserSurface": null, - "surfaceSwitching": null, - "systemAudio": null, - "windowAudio": null - } - } - }, - "EncodedVideoChunkInit": { - "members": { - "member": { - "transfer": null, // Blink only as of 2023-11 - } - } - }, - "EncodedVideoChunkMetadata": { - "members": { - "member": { - "alphaSideData": null, // Blink only as of 2023-03 - "svc": null // Blink only as of 2023-03 - } - } - }, - "FetchEventInit": { - "members": { - "member": { - "replacesClientId": null // Not implemented as of 2025-04 - } - } - }, - "FocusOptions": { - "members": { - "member": { - "focusVisible": null // Gecko only as of 2022-09 - } - } - }, - "GetAnimationsOptions": { - "members": { - "member": { - "pseudoElement": null // No implementation as of 2024-11 - } - } - }, "ImageDataSettings": { "members": { "member": {