Bug 1057621: remove default STUN server from mochitests r=bwc
authorNils Ohlmeier [:drno] <drno@ohlmeier.org>
Sun, 24 Aug 2014 09:10:04 -0400
changeset 201245 274540a1331f3d0ebd58de319ff947516803ca06
parent 201244 14cf1ce4b6671ed87a985a96cbba320701c28191
child 201246 4aad525f0dac704aefb252d444eac608365c9c56
push id48128
push userrjesup@wgate.com
push dateSun, 24 Aug 2014 13:11:29 +0000
treeherdermozilla-inbound@274540a1331f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbwc
bugs1057621
milestone34.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1057621: remove default STUN server from mochitests r=bwc
dom/media/tests/mochitest/head.js
--- a/dom/media/tests/mochitest/head.js
+++ b/dom/media/tests/mochitest/head.js
@@ -128,16 +128,17 @@ function runTest(aCallback) {
   if (window.SimpleTest) {
     // Running as a Mochitest.
     SimpleTest.waitForExplicitFinish();
     SpecialPowers.pushPrefEnv({'set': [
       ['dom.messageChannel.enabled', true],
       ['media.peerconnection.enabled', true],
       ['media.peerconnection.identity.enabled', true],
       ['media.peerconnection.identity.timeout', 12000],
+      ['media.peerconnection.default_iceservers', '[]'],
       ['media.navigator.permission.disabled', true],
       ['media.getusermedia.screensharing.enabled', true],
       ['media.getusermedia.screensharing.allowed_domains', "mochi.test"]]
     }, function () {
       try {
         aCallback();
       }
       catch (err) {