summaryrefslogtreecommitdiff
path: root/dom/media/tests/mochitest/identity/test_fingerprints.html
diff options
context:
space:
mode:
Diffstat (limited to 'dom/media/tests/mochitest/identity/test_fingerprints.html')
-rw-r--r--dom/media/tests/mochitest/identity/test_fingerprints.html3
1 files changed, 1 insertions, 2 deletions
diff --git a/dom/media/tests/mochitest/identity/test_fingerprints.html b/dom/media/tests/mochitest/identity/test_fingerprints.html
index 0fd065af26..bf26c2fdd5 100644
--- a/dom/media/tests/mochitest/identity/test_fingerprints.html
+++ b/dom/media/tests/mochitest/identity/test_fingerprints.html
@@ -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');