Issue #2332 - Update most tests to skip RTCSessionDescription construction

Backport of https://bugzilla.mozilla.org/show_bug.cgi?id=1263312 part 6
This commit is contained in:
Basilisk-Dev 2023-10-09 17:09:04 -04:00 • committed by roytam1
commit 763cdb00cb
9 changed files with 24 additions and 37 deletions

View file

@ -86,8 +86,7 @@ function testMultipleFingerprints() {
fingerprintSdp(fingerprints.slice(1)) +
offer.sdp.slice(match.index);
var desc = new RTCSessionDescription({ type: 'offer', sdp: sdp });
return pcStrict.setRemoteDescription(desc);
return pcStrict.setRemoteDescription({ type: 'offer', sdp });
})
.then(() => {
ok(true, 'Modified fingerprints were accepted');