41 const accessToken =
'{"location":{"latitude":51.5090332,"longitude":-0.1212726,"accuracy":150.0},"access_token":"2:jVhRZJ-j6PiRchH_:RGMrR0W1BiwdZs12"}'
43 var prefBranch =
Cc[
"@mozilla.org/preferences-service;1"].
47 prefBranch.setCharPref(
"geo.wifi.access_token.test", accessToken);
48 var token = prefBranch.getCharPref(
"geo.wifi.access_token.test");
50 pb.privateBrowsingEnabled =
true;
53 token = prefBranch.getCharPref(
"geo.wifi.access_token.test");
60 prefBranch.setCharPref(
"geo.wifi.access_token.test", accessToken);
61 pb.privateBrowsingEnabled =
false;
63 token = prefBranch.getCharPref(
"geo.wifi.access_token.test");
do_check_eq(typeof PlacesUtils,"object")
getService(Ci.sbIFaceplateManager)
function run_test_on_all_services()
var PRIVATEBROWSING_CONTRACT_ID
function run_test_on_service()