Skip to content

Commit

Permalink
Fix tests for RTC (#1832)
Browse files Browse the repository at this point in the history
  • Loading branch information
queengooborg authored Sep 20, 2024
1 parent 2424de5 commit 1c977c7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions custom/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4298,7 +4298,7 @@ api:
}
var instance = new RTCDTMFToneChangeEvent('tonechange', {tone: ''});
RTCIceCandidate:
__base: "var instance = new RTCIceCandidate({candidate: 'candidate:4234997325 1 udp 2043278322 192.168.0.56 44323 typ host', sdpMid: ''});"
__base: "var instance = new (self.RTCIceCandidate || self.mozRTCIceCandidate)({candidate: 'candidate:4234997325 1 udp 2043278322 192.168.0.56 44323 typ host', sdpMid: ''});"
RTCIdentityAssertion:
__base: |-
<%api.RTCPeerConnection:rpc%>
Expand All @@ -4309,7 +4309,7 @@ api:
RTCPeerConnection:
__base: |-
/* Firefox briefly defines RTCPeerConnection in older versions, but it is not a valid constructor until later versions. */
var constructor = window.mozRTCPeerConnection || window.RTCPeerConnection || window.webkitRTCPeerConnection;
var constructor = self.mozRTCPeerConnection || self.RTCPeerConnection || self.webkitRTCPeerConnection;
if (!constructor) {
return {result: false, message: '(moz/webkit)RTCPeerConnection is not defined or is falsy'};
};
Expand Down

0 comments on commit 1c977c7

Please sign in to comment.