Bug 1605861 - test fix. r=dminor
authorJulien Cristau <jcristau@mozilla.com>
Mon, 30 Dec 2019 13:35:18 +0000
changeset 508486 9672864a4e788fef5f55e3aae14e415923c38cd1
parent 508485 6aad53d9e44782365a8419b21e75d83d15c2f6e1
child 508487 7b011055261868306c8f2289f80068a792b24449
push id104018
push userjcristau@mozilla.com
push dateMon, 30 Dec 2019 13:37:51 +0000
treeherderautoland@9672864a4e78 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdminor
bugs1605861
milestone73.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 1605861 - test fix. r=dminor Differential Revision: https://phabricator.services.mozilla.com/D58368
dom/media/tests/mochitest/test_dataChannel_hostnameObfuscationWhitelist.html
--- a/dom/media/tests/mochitest/test_dataChannel_hostnameObfuscationWhitelist.html
+++ b/dom/media/tests/mochitest/test_dataChannel_hostnameObfuscationWhitelist.html
@@ -40,16 +40,19 @@
 
     // This inlines test.run(), to allow for multiple tests to run.
     test.updateChainSteps();
     await test.chain.execute();
     await test.close();
   }
 
   runNetworkTest(async (options) => {
+    await SpecialPowers.pushPrefEnv({
+      set: [["media.peerconnection.ice.obfuscate_host_addresses", true]]
+    });
     await testWhitelist(options, null, true);
     await testWhitelist(options, "", true);
     await testWhitelist(options, "example.com", true);
     await testWhitelist(options, "mochi.test", false);
     await testWhitelist(options, "example.com,mochi.test", false);
     await testWhitelist(options, "*.test", false);
 
     networkTestFinished();