Skip to content

Commit

Permalink
Update to webref/[email protected] (#1745)
Browse files Browse the repository at this point in the history
Co-authored-by: saschanaz <[email protected]>
  • Loading branch information
saschanaz and saschanaz authored Jun 25, 2024
1 parent 5477b7d commit 4d34d6d
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 19 deletions.
10 changes: 5 additions & 5 deletions baselines/dom.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1362,11 +1362,6 @@ interface RTCIceCandidateInit {
usernameFragment?: string | null;
}

interface RTCIceCandidatePair {
local: RTCIceCandidate;
remote: RTCIceCandidate;
}

interface RTCIceCandidatePairStats extends RTCStats {
availableIncomingBitrate?: number;
availableOutgoingBitrate?: number;
Expand Down Expand Up @@ -18356,6 +18351,11 @@ declare var RTCIceCandidate: {
new(candidateInitDict?: RTCIceCandidateInit): RTCIceCandidate;
};

interface RTCIceCandidatePair {
local: RTCIceCandidate;
remote: RTCIceCandidate;
}

interface RTCIceTransportEventMap {
"gatheringstatechange": Event;
"selectedcandidatepairchange": Event;
Expand Down
23 changes: 17 additions & 6 deletions inputfiles/overridingTypes.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -2086,6 +2086,23 @@
]
}
},
"RTCIceCandidatePair": {
// https://github.com/w3c/webrtc-pc/pull/2961 made this from dictionary to interface,
// but nobody did the change as of 2024-06.
// For now let's roll this back to the dictionary form.
"exposed": "Window",
"noInterfaceObject": true,
"properties": {
"property": {
"local": {
"readonly": false
},
"remote": {
"readonly": false
}
}
}
},
"RTCPeerConnection": {
"events": {
"event": [
Expand Down Expand Up @@ -3122,12 +3139,6 @@
]
}
},
"MIDIInputMap": {
"iterator": {
// https://github.com/mdn/browser-compat-data/pull/18352
"exposed": "Window"
}
},
"MIDIPort": {
"events": {
"event": [
Expand Down
12 changes: 7 additions & 5 deletions inputfiles/removedTypes.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,11 @@
"value": [
"enterpictureinpicture", // Blink only as of 2023-10
"hangup", // Blink only as of 2022-09
"nextslide", // No implementation as of 2022-09
"previousslide", // No implementation as of 2022-09
"nextslide", // Blink only as of as of 2024-06
"previousslide", // Blink only as of as of 2024-06
"togglecamera", // Blink only as of 2022-09
"togglemicrophone" // Blink only as of 2022-09
"togglemicrophone", // Blink only as of 2022-09
"togglescreenshare" // No implementation as of 2022-09
]
},
"RequestDestination": {
Expand Down Expand Up @@ -234,8 +235,9 @@
"CredentialCreationOptions": {
"members": {
"member": {
"federated": null,
"password": null
"federated": null, // Blink only as of 2024-06
"password": null, // Blink only as of 2024-06
"mediation": null // WebKit only as of 2024-06
}
}
},
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.

0 comments on commit 4d34d6d

Please sign in to comment.