Skip to content

Commit 4d34d6d

Browse files
authored
Update to webref/[email protected] (#1745)
Co-authored-by: saschanaz <[email protected]>
1 parent 5477b7d commit 4d34d6d

File tree

4 files changed

+32
-19
lines changed

4 files changed

+32
-19
lines changed

baselines/dom.generated.d.ts

+5-5
Original file line numberDiff line numberDiff line change
@@ -1362,11 +1362,6 @@ interface RTCIceCandidateInit {
13621362
usernameFragment?: string | null;
13631363
}
13641364

1365-
interface RTCIceCandidatePair {
1366-
local: RTCIceCandidate;
1367-
remote: RTCIceCandidate;
1368-
}
1369-
13701365
interface RTCIceCandidatePairStats extends RTCStats {
13711366
availableIncomingBitrate?: number;
13721367
availableOutgoingBitrate?: number;
@@ -18356,6 +18351,11 @@ declare var RTCIceCandidate: {
1835618351
new(candidateInitDict?: RTCIceCandidateInit): RTCIceCandidate;
1835718352
};
1835818353

18354+
interface RTCIceCandidatePair {
18355+
local: RTCIceCandidate;
18356+
remote: RTCIceCandidate;
18357+
}
18358+
1835918359
interface RTCIceTransportEventMap {
1836018360
"gatheringstatechange": Event;
1836118361
"selectedcandidatepairchange": Event;

inputfiles/overridingTypes.jsonc

+17-6
Original file line numberDiff line numberDiff line change
@@ -2086,6 +2086,23 @@
20862086
]
20872087
}
20882088
},
2089+
"RTCIceCandidatePair": {
2090+
// https://github.com/w3c/webrtc-pc/pull/2961 made this from dictionary to interface,
2091+
// but nobody did the change as of 2024-06.
2092+
// For now let's roll this back to the dictionary form.
2093+
"exposed": "Window",
2094+
"noInterfaceObject": true,
2095+
"properties": {
2096+
"property": {
2097+
"local": {
2098+
"readonly": false
2099+
},
2100+
"remote": {
2101+
"readonly": false
2102+
}
2103+
}
2104+
}
2105+
},
20892106
"RTCPeerConnection": {
20902107
"events": {
20912108
"event": [
@@ -3122,12 +3139,6 @@
31223139
]
31233140
}
31243141
},
3125-
"MIDIInputMap": {
3126-
"iterator": {
3127-
// https://github.com/mdn/browser-compat-data/pull/18352
3128-
"exposed": "Window"
3129-
}
3130-
},
31313142
"MIDIPort": {
31323143
"events": {
31333144
"event": [

inputfiles/removedTypes.jsonc

+7-5
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,11 @@
2323
"value": [
2424
"enterpictureinpicture", // Blink only as of 2023-10
2525
"hangup", // Blink only as of 2022-09
26-
"nextslide", // No implementation as of 2022-09
27-
"previousslide", // No implementation as of 2022-09
26+
"nextslide", // Blink only as of as of 2024-06
27+
"previousslide", // Blink only as of as of 2024-06
2828
"togglecamera", // Blink only as of 2022-09
29-
"togglemicrophone" // Blink only as of 2022-09
29+
"togglemicrophone", // Blink only as of 2022-09
30+
"togglescreenshare" // No implementation as of 2022-09
3031
]
3132
},
3233
"RequestDestination": {
@@ -234,8 +235,9 @@
234235
"CredentialCreationOptions": {
235236
"members": {
236237
"member": {
237-
"federated": null,
238-
"password": null
238+
"federated": null, // Blink only as of 2024-06
239+
"password": null, // Blink only as of 2024-06
240+
"mediation": null // WebKit only as of 2024-06
239241
}
240242
}
241243
},

package-lock.json

+3-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)