mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Follow-up to bug 1099128 - temporarily turn off rooms for mochitests to fix bc1 test failures. rs+a=bustage-fix
This commit is contained in:
parent
bddbb75ccc
commit
200e49a7be
@ -77,6 +77,11 @@ function promiseGetMozLoopAPI() {
|
|||||||
* This assumes that the tests are running in a generatorTest.
|
* This assumes that the tests are running in a generatorTest.
|
||||||
*/
|
*/
|
||||||
function loadLoopPanel(aOverrideOptions = {}) {
|
function loadLoopPanel(aOverrideOptions = {}) {
|
||||||
|
Services.prefs.setBoolPref("loop.rooms.enabled", false);
|
||||||
|
registerCleanupFunction(function() {
|
||||||
|
Services.prefs.clearUserPref("loop.rooms.enabled");
|
||||||
|
});
|
||||||
|
|
||||||
// Set prefs to ensure we don't access the network externally.
|
// Set prefs to ensure we don't access the network externally.
|
||||||
Services.prefs.setCharPref("services.push.serverURL", aOverrideOptions.pushURL || "ws://localhost/");
|
Services.prefs.setCharPref("services.push.serverURL", aOverrideOptions.pushURL || "ws://localhost/");
|
||||||
Services.prefs.setCharPref("loop.server", aOverrideOptions.loopURL || "http://localhost/");
|
Services.prefs.setCharPref("loop.server", aOverrideOptions.loopURL || "http://localhost/");
|
||||||
|
Loading…
Reference in New Issue
Block a user