mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-01 06:35:42 +00:00
11 lines
405 B
JavaScript
11 lines
405 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");
|
|
prefs.setBoolPref("geo.testing.ignore_ipc_principal", true);
|
|
run_test_in_child("./test_geolocation_timeout.js");
|
|
}
|