Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion baselines/dom.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29909,7 +29909,7 @@ interface RTCRtpScriptTransform {

declare var RTCRtpScriptTransform: {
prototype: RTCRtpScriptTransform;
new(worker: Worker, options?: any, transfer?: any[]): RTCRtpScriptTransform;
new(workerOrWorkerAndParameters: Worker, options?: any, transfer?: any[]): RTCRtpScriptTransform;
};

/**
Expand Down
2 changes: 1 addition & 1 deletion baselines/ts5.5/dom.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29885,7 +29885,7 @@ interface RTCRtpScriptTransform {

declare var RTCRtpScriptTransform: {
prototype: RTCRtpScriptTransform;
new(worker: Worker, options?: any, transfer?: any[]): RTCRtpScriptTransform;
new(workerOrWorkerAndParameters: Worker, options?: any, transfer?: any[]): RTCRtpScriptTransform;
};

/**
Expand Down
2 changes: 1 addition & 1 deletion baselines/ts5.6/dom.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29906,7 +29906,7 @@ interface RTCRtpScriptTransform {

declare var RTCRtpScriptTransform: {
prototype: RTCRtpScriptTransform;
new(worker: Worker, options?: any, transfer?: any[]): RTCRtpScriptTransform;
new(workerOrWorkerAndParameters: Worker, options?: any, transfer?: any[]): RTCRtpScriptTransform;
};

/**
Expand Down
2 changes: 1 addition & 1 deletion baselines/ts5.9/dom.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29906,7 +29906,7 @@ interface RTCRtpScriptTransform {

declare var RTCRtpScriptTransform: {
prototype: RTCRtpScriptTransform;
new(worker: Worker, options?: any, transfer?: any[]): RTCRtpScriptTransform;
new(workerOrWorkerAndParameters: Worker, options?: any, transfer?: any[]): RTCRtpScriptTransform;
};

/**
Expand Down
9 changes: 9 additions & 0 deletions inputfiles/patches/webrtc-encoded-transform.kdl
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,15 @@ interface RTCEncodedVideoFrame {
property timestamp type="long long" readonly=#true mdnUrl="https://developer.mozilla.org/docs/Web/API/RTCEncodedVideoFrame/timestamp"
}

interface RTCRtpScriptTransform {
constructor signatureIndex=0 {
// WorkerOrWorkerAndParameters has no implementation as of 2026-04
param workerOrWorkerAndParameters name="worker" {
type Worker
}
}
}

removals {
dictionary RTCEncodedAudioFrameMetadata {
member audioLevel // No implementation as of 2025-05
Expand Down
6 changes: 3 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/build/patches.ts
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ function handleMixinAndInterfaces(
node: Node,
type: "mixin" | "interface",
): DeepPartial<Interface> {
const name = string(node.properties?.name || node.values[0]);
const name = string(node.properties.name || node.values[0]);

const event: Event[] = [];
const property: Record<string, DeepPartial<Property>> = {};
Expand Down
Loading