diff --git a/baselines/dom.generated.d.ts b/baselines/dom.generated.d.ts index c5d95cf2d..03b89d75c 100644 --- a/baselines/dom.generated.d.ts +++ b/baselines/dom.generated.d.ts @@ -40070,7 +40070,7 @@ type RTCRtpTransceiverDirection = "inactive" | "recvonly" | "sendonly" | "sendre type RTCSctpTransportState = "closed" | "connected" | "connecting"; type RTCSdpType = "answer" | "offer" | "pranswer" | "rollback"; type RTCSignalingState = "closed" | "have-local-offer" | "have-local-pranswer" | "have-remote-offer" | "have-remote-pranswer" | "stable"; -type RTCStatsIceCandidatePairState = "failed" | "frozen" | "in-progress" | "inprogress" | "succeeded" | "waiting"; +type RTCStatsIceCandidatePairState = "failed" | "frozen" | "in-progress" | "succeeded" | "waiting"; type RTCStatsType = "candidate-pair" | "certificate" | "codec" | "data-channel" | "inbound-rtp" | "local-candidate" | "media-playout" | "media-source" | "outbound-rtp" | "peer-connection" | "remote-candidate" | "remote-inbound-rtp" | "remote-outbound-rtp" | "transport"; type ReadableStreamReaderMode = "byob"; type ReadableStreamType = "bytes"; diff --git a/baselines/ts5.5/dom.generated.d.ts b/baselines/ts5.5/dom.generated.d.ts index f86f3f164..44ab53108 100644 --- a/baselines/ts5.5/dom.generated.d.ts +++ b/baselines/ts5.5/dom.generated.d.ts @@ -40047,7 +40047,7 @@ type RTCRtpTransceiverDirection = "inactive" | "recvonly" | "sendonly" | "sendre type RTCSctpTransportState = "closed" | "connected" | "connecting"; type RTCSdpType = "answer" | "offer" | "pranswer" | "rollback"; type RTCSignalingState = "closed" | "have-local-offer" | "have-local-pranswer" | "have-remote-offer" | "have-remote-pranswer" | "stable"; -type RTCStatsIceCandidatePairState = "failed" | "frozen" | "in-progress" | "inprogress" | "succeeded" | "waiting"; +type RTCStatsIceCandidatePairState = "failed" | "frozen" | "in-progress" | "succeeded" | "waiting"; type RTCStatsType = "candidate-pair" | "certificate" | "codec" | "data-channel" | "inbound-rtp" | "local-candidate" | "media-playout" | "media-source" | "outbound-rtp" | "peer-connection" | "remote-candidate" | "remote-inbound-rtp" | "remote-outbound-rtp" | "transport"; type ReadableStreamReaderMode = "byob"; type ReadableStreamType = "bytes"; diff --git a/baselines/ts5.6/dom.generated.d.ts b/baselines/ts5.6/dom.generated.d.ts index 7e1558a17..2b04bdbdc 100644 --- a/baselines/ts5.6/dom.generated.d.ts +++ b/baselines/ts5.6/dom.generated.d.ts @@ -40070,7 +40070,7 @@ type RTCRtpTransceiverDirection = "inactive" | "recvonly" | "sendonly" | "sendre type RTCSctpTransportState = "closed" | "connected" | "connecting"; type RTCSdpType = "answer" | "offer" | "pranswer" | "rollback"; type RTCSignalingState = "closed" | "have-local-offer" | "have-local-pranswer" | "have-remote-offer" | "have-remote-pranswer" | "stable"; -type RTCStatsIceCandidatePairState = "failed" | "frozen" | "in-progress" | "inprogress" | "succeeded" | "waiting"; +type RTCStatsIceCandidatePairState = "failed" | "frozen" | "in-progress" | "succeeded" | "waiting"; type RTCStatsType = "candidate-pair" | "certificate" | "codec" | "data-channel" | "inbound-rtp" | "local-candidate" | "media-playout" | "media-source" | "outbound-rtp" | "peer-connection" | "remote-candidate" | "remote-inbound-rtp" | "remote-outbound-rtp" | "transport"; type ReadableStreamReaderMode = "byob"; type ReadableStreamType = "bytes"; diff --git a/inputfiles/addedTypes.jsonc b/inputfiles/addedTypes.jsonc index be3ed4cce..bb44167e9 100644 --- a/inputfiles/addedTypes.jsonc +++ b/inputfiles/addedTypes.jsonc @@ -23,95 +23,6 @@ } } }, - "callbackInterfaces": { - "interface": {} - }, - "enums": { - "enum": { - "InsertPosition": { - "name": "InsertPosition", - "value": [ - "beforebegin", - "beforeend", - "afterbegin", - "afterend" - ] - }, - "FontDisplay": { - "name": "FontDisplay", - // https://w3c.github.io/csswg-drafts/css-fonts-4/#font-display-desc - "value": [ - "auto", - "block", - "swap", - "fallback", - "optional" - ] - }, - "RTCStatsIceCandidatePairState": { - "value": [ - "inprogress" - ] - }, - "GlobalCompositeOperation": { - "name": "GlobalCompositeOperation", - "value": [ - "source-over", - "source-in", - "source-out", - "source-atop", - "destination-over", - "destination-in", - "destination-out", - "destination-atop", - "lighter", - "copy", - "xor", - "multiply", - "screen", - "overlay", - "darken", - "lighten", - "color-dodge", - "color-burn", - "hard-light", - "soft-light", - "difference", - "exclusion", - "hue", - "saturation", - "color", - "luminosity" - ] - }, - "PermissionName": { - "name": "PermissionName", - // This is a subset of the permissions defined in the spec: - // https://w3c.github.io/powerful-features-registry/#registry-table-of-powerful-features - // Please add a feature only when it's supported by multiple engines. - "value": [ - // Full support: https://developer.mozilla.org/en-US/docs/Web/API/Permissions_API#browser_compatibility - "camera", - // Full support: https://developer.mozilla.org/en-US/docs/Web/API/Geolocation_API#browser_compatibility - "geolocation", - // Full support: https://developer.mozilla.org/en-US/docs/Web/API/Permissions_API#browser_compatibility - "microphone", - // Gecko and Blink: https://developer.mozilla.org/en-US/docs/Web/API/Web_MIDI_API#browser_compatibility - "midi", - // Full support: https://developer.mozilla.org/en-US/docs/Web/API/Notifications_API#browser_compatibility - "notifications", - // Gecko and Blink: https://developer.mozilla.org/en-US/docs/Web/API/Storage_API#browser_compatibility - "persistent-storage", - // Full support: https://developer.mozilla.org/en-US/docs/Web/API/Push_API#browser_compatibility - "push", - // Full support: https://developer.mozilla.org/en-US/docs/Web/API/Screen_Wake_Lock_API#browser_compatibility - "screen-wake-lock", - // Full support: https://developer.mozilla.org/en-US/docs/Web/API/Storage_Access_API#browser_compatibility - "storage-access" - ] - } - } - }, "interfaces": { "interface": { // ImportMeta is not a true DOM interface, but we are forced to declare it as one in order to emit method definitions. diff --git a/inputfiles/patches/css-font.kdl b/inputfiles/patches/css-font.kdl new file mode 100644 index 000000000..f7bcaa78f --- /dev/null +++ b/inputfiles/patches/css-font.kdl @@ -0,0 +1,8 @@ +enum FontDisplay { + // https://w3c.github.io/csswg-drafts/css-fonts-4/#font-display-desc + auto + block + swap + fallback + optional +} diff --git a/inputfiles/patches/dom.kdl b/inputfiles/patches/dom.kdl new file mode 100644 index 000000000..bca3da9d0 --- /dev/null +++ b/inputfiles/patches/dom.kdl @@ -0,0 +1,6 @@ +enum InsertPosition { + beforebegin + beforeend + afterbegin + afterend +} diff --git a/inputfiles/patches/html-canvas.kdl b/inputfiles/patches/html-canvas.kdl new file mode 100644 index 000000000..e5361f72e --- /dev/null +++ b/inputfiles/patches/html-canvas.kdl @@ -0,0 +1,28 @@ +enum GlobalCompositeOperation { + source-over + source-in + source-out + source-atop + destination-over + destination-in + destination-out + destination-atop + lighter + copy + xor + multiply + screen + overlay + darken + lighten + color-dodge + color-burn + hard-light + soft-light + difference + exclusion + hue + saturation + color + luminosity +} diff --git a/inputfiles/patches/permissions.kdl b/inputfiles/patches/permissions.kdl new file mode 100644 index 000000000..6c18d17c0 --- /dev/null +++ b/inputfiles/patches/permissions.kdl @@ -0,0 +1,23 @@ +// This is a subset of the permissions defined in the spec: +// https://w3c.github.io/powerful-features-registry/#registry-table-of-powerful-features +// Please add a feature only when it's supported by multiple engines. +enum PermissionName { + // Full support: https://developer.mozilla.org/en-US/docs/Web/API/Permissions_API#browser_compatibility + camera + // Full support: https://developer.mozilla.org/en-US/docs/Web/API/Geolocation_API#browser_compatibility + geolocation + // Full support: https://developer.mozilla.org/en-US/docs/Web/API/Permissions_API#browser_compatibility + microphone + // Gecko and Blink: https://developer.mozilla.org/en-US/docs/Web/API/Web_MIDI_API#browser_compatibility + midi + // Full support: https://developer.mozilla.org/en-US/docs/Web/API/Notifications_API#browser_compatibility + notifications + // Gecko and Blink: https://developer.mozilla.org/en-US/docs/Web/API/Storage_API#browser_compatibility + persistent-storage + // Full support: https://developer.mozilla.org/en-US/docs/Web/API/Push_API#browser_compatibility + push + // Full support: https://developer.mozilla.org/en-US/docs/Web/API/Screen_Wake_Lock_API#browser_compatibility + screen-wake-lock + // Full support: https://developer.mozilla.org/en-US/docs/Web/API/Storage_Access_API#browser_compatibility + storage-access +}