mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
14 lines
449 B
JavaScript
14 lines
449 B
JavaScript
const Cc = Components.classes;
|
|
const Ci = Components.interfaces;
|
|
const 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");
|
|
}
|