mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1042161 - Set dummy URL for GMP addon updates for xpcshell tests. r=jmaher
This commit is contained in:
parent
c94a818f23
commit
5b0317c11b
@ -1342,3 +1342,13 @@ try {
|
||||
prefs.setBoolPref("geo.provider.testing", true);
|
||||
}
|
||||
} catch (e) { }
|
||||
|
||||
// We need to avoid hitting the network with certain components.
|
||||
try {
|
||||
if (runningInParent) {
|
||||
let prefs = Components.classes["@mozilla.org/preferences-service;1"]
|
||||
.getService(Components.interfaces.nsIPrefBranch);
|
||||
|
||||
prefs.setCharPref("media.gmp-manager.url.override", "http://%(server)s/dummy.xml");
|
||||
}
|
||||
} catch (e) { }
|
||||
|
Loading…
Reference in New Issue
Block a user