diff --git a/dom/media/tests/mochitest/test_peerConnection_basicScreenshare.html b/dom/media/tests/mochitest/test_peerConnection_basicScreenshare.html index b0d8b295119a..afc2cd76a7a7 100644 --- a/dom/media/tests/mochitest/test_peerConnection_basicScreenshare.html +++ b/dom/media/tests/mochitest/test_peerConnection_basicScreenshare.html @@ -27,7 +27,7 @@ }, fake: false }; - test.setMediaConstraints([constraints], [constraints]); + test.setMediaConstraints([constraints], []); test.run(); }); diff --git a/dom/media/tests/mochitest/test_peerConnection_basicWindowshare.html b/dom/media/tests/mochitest/test_peerConnection_basicWindowshare.html index b6a729dd3326..0ca94ec57eb8 100644 --- a/dom/media/tests/mochitest/test_peerConnection_basicWindowshare.html +++ b/dom/media/tests/mochitest/test_peerConnection_basicWindowshare.html @@ -27,7 +27,7 @@ }, fake: false }; - test.setMediaConstraints([constraints], [constraints]); + test.setMediaConstraints([constraints], []); test.run(); });