summaryrefslogtreecommitdiff
path: root/dom/media/tests/mochitest/test_peerConnection_remoteRollback.html
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2023-10-10 11:13:22 +0000
committerMoonchild <moonchild@palemoon.org>2023-10-10 11:13:22 +0000
commitcdfd243b5ab6848fe169e6aef426d953b296ffbd (patch)
tree592a9386995b895476337c0482ee08f1ec06b504 /dom/media/tests/mochitest/test_peerConnection_remoteRollback.html
parentb32687387167a35e9ab249889f6222a2c1aacdaf (diff)
parent95a8edc5fc34800f4823a216fad64de5b966d0a0 (diff)
downloaduxp-cdfd243b5ab6848fe169e6aef426d953b296ffbd.tar.gz
Merge pull request 'Issue #2332 - WebRTC Spec Updates' (#2338) from Basilisk-Dev/UXP-contrib:master into master
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2338
Diffstat (limited to 'dom/media/tests/mochitest/test_peerConnection_remoteRollback.html')
-rw-r--r--dom/media/tests/mochitest/test_peerConnection_remoteRollback.html6
1 files changed, 2 insertions, 4 deletions
diff --git a/dom/media/tests/mochitest/test_peerConnection_remoteRollback.html b/dom/media/tests/mochitest/test_peerConnection_remoteRollback.html
index 099628ab88..35a51d03c0 100644
--- a/dom/media/tests/mochitest/test_peerConnection_remoteRollback.html
+++ b/dom/media/tests/mochitest/test_peerConnection_remoteRollback.html
@@ -20,10 +20,8 @@
function PC_REMOTE_ROLLBACK(test) {
// We still haven't negotiated the tracks
test.pcRemote.expectNegotiationNeeded();
- return test.setRemoteDescription(
- test.pcRemote,
- new RTCSessionDescription({ type: "rollback" }),
- STABLE)
+ return test.setRemoteDescription(test.pcRemote, { type: "rollback" },
+ STABLE)
.then(() => test.pcRemote.rollbackRemoteTracksIfNotNegotiated());
},