42 var prefsService =
Cc[
"@mozilla.org/preferences-service;1"].
44 prefsService.setBoolPref(
"browser.privatebrowsing.autostart",
true);
45 do_check_true(prefsService.getBoolPref(
"browser.privatebrowsing.autostart"));
52 do_check_false(pb.autoStarted);
55 pb.observe(
null,
"profile-after-change",
"");
58 do_check_true(pb.privateBrowsingEnabled);
61 do_check_true(pb.autoStarted);
64 pb.privateBrowsingEnabled =
false;
67 do_check_false(pb.autoStarted);
70 pb.privateBrowsingEnabled =
true;
73 do_check_true(pb.autoStarted);
sbOSDControlService prototype QueryInterface
getService(Ci.sbIFaceplateManager)
var PRIVATEBROWSING_CONTRACT_ID