blob: 6bd5cc48c8802320de98742c1d0cbc0095415fbc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
var Cc = Components.classes;
var Ci = Components.interfaces;
var Cu = Components.utils;
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", "UrlNotUsedHere");
prefs.setBoolPref("dom.testing.ignore_ipc_principal", true);
run_test_in_child("./test_geolocation_position_unavailable.js");
}
|