summaryrefslogtreecommitdiff
path: root/dom/media/tests/mochitest/test_peerConnection_localReofferRollback.html
diff options
context:
space:
mode:
Diffstat (limited to 'dom/media/tests/mochitest/test_peerConnection_localReofferRollback.html')
-rw-r--r--dom/media/tests/mochitest/test_peerConnection_localReofferRollback.html7
1 files changed, 3 insertions, 4 deletions
diff --git a/dom/media/tests/mochitest/test_peerConnection_localReofferRollback.html b/dom/media/tests/mochitest/test_peerConnection_localReofferRollback.html
index 0b0b35fe80..ed149747ca 100644
--- a/dom/media/tests/mochitest/test_peerConnection_localReofferRollback.html
+++ b/dom/media/tests/mochitest/test_peerConnection_localReofferRollback.html
@@ -37,10 +37,9 @@
},
function PC_REMOTE_ROLLBACK(test) {
- return test.setLocalDescription(
- test.pcRemote,
- new RTCSessionDescription({ type: "rollback", sdp: ""}),
- STABLE);
+ return test.setLocalDescription(test.pcRemote,
+ { type: "rollback", sdp: "" },
+ STABLE);
},
// Rolling back should shut down gathering