tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

test_geolocation_position_unavailable_wrap.js (450B)


      1 function run_test() {
      2  // XPCShell does not get a profile by default. The ContentParent
      3  // depends on the remote settings service which uses IndexedDB and
      4  // IndexedDB needs a place where it can store databases.
      5  do_get_profile();
      6 
      7  Services.prefs.setBoolPref("geo.provider.network.scan", false);
      8  Services.prefs.setCharPref("geo.provider.network.url", "UrlNotUsedHere");
      9 
     10  run_test_in_child("./test_geolocation_position_unavailable.js");
     11 }