mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
9 lines
341 B
JavaScript
9 lines
341 B
JavaScript
|
const Cc = Components.classes;
|
||
|
const Ci = Components.interfaces;
|
||
|
|
||
|
function run_test() {
|
||
|
var prefs = Cc["@mozilla.org/preferences-service;1"].getService(Ci.nsIPrefBranch);
|
||
|
prefs.setBoolPref("geo.wifi.scan", false);
|
||
|
prefs.setCharPref("geo.wifi.uri", "http://localhost:4444/geo");
|
||
|
run_test_in_child("./test_geolocation_timeout.js");
|
||
|
}
|