43 let
pb =
Cc[
"@mozilla.org/privatebrowsing;1"].
47 pb.privateBrowsingEnabled =
true;
49 let
win = OpenBrowserWindow();
50 win.addEventListener(
"load",
function() {
51 executeSoon(
function() {
52 executeSoon(
function() {
53 let cmd = win.document.getElementById(
"Tools:PrivateBrowsing");
54 ok(!cmd.hasAttribute(
"disabled"),
55 "The Private Browsing command in a new window should be enabled");
58 pb.privateBrowsingEnabled =
false;
getService(Ci.sbIFaceplateManager)