41 let
Cc = Components.classes;
42 let
Ci = Components.interfaces;
43 let
Cu = Components.utils;
44 Cu.import(
"resource:///modules/openLocationLastURL.jsm");
48 let
pref = Cc[
"@mozilla.org/preferences-service;1"].
55 const url1 =
"mozilla.org";
56 const url2 =
"mozilla.com";
58 gOpenLocationLastURL.value = url1;
61 gOpenLocationLastURL.value =
"";
64 gOpenLocationLastURL.value = url2;
67 pb.privateBrowsingEnabled =
true;
70 pb.privateBrowsingEnabled =
false;
72 pb.privateBrowsingEnabled =
true;
74 gOpenLocationLastURL.value = url1;
77 pb.privateBrowsingEnabled =
false;
do_check_eq(typeof PlacesUtils,"object")
getService(Ci.sbIFaceplateManager)
function run_test_on_all_services()
var PRIVATEBROWSING_CONTRACT_ID
function run_test_on_service()