Issue #2332 - Update most tests to skip RTCIceCandidate construction

Backport of https://bugzilla.mozilla.org/show_bug.cgi?id=1263312 part 5
This commit is contained in:
Basilisk-Dev 2023-10-09 17:08:07 -04:00 • committed by roytam1
commit f615587ab7
4 changed files with 12 additions and 12 deletions

View file

@ -118,7 +118,7 @@ var commandsPeerConnectionInitial = [
test.setupSignalingClient();
test.registerSignalingCallback("ice_candidate", function (message) {
var pc = test.pcRemote ? test.pcRemote : test.pcLocal;
pc.storeOrAddIceCandidate(new RTCIceCandidate(message.ice_candidate));
pc.storeOrAddIceCandidate(message.ice_candidate);
});
test.registerSignalingCallback("end_of_trickle_ice", function (message) {
test.signalingMessagesFinished();