gecko/dom/tests/unit/test_geolocation_timeout_wrap.js

9 lines
341 B
JavaScript
Raw Normal View History

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");
}