Go to the source code of this file.
Functions | |
function | LOG (aMsg) |
function | uri (spec) |
catch (e) | |
if (!profileDir) | |
Cc["@mozilla.org/preferences-service;1"] | getService (Ci.nsIPrefBranch).setBoolPref("browser.privatebrowsing.keep_current_session" |
function | cleanUp () |
function | shutdownPlaces () |
function | run_test_on_all_services () |
Variables | |
const | Cc = Components.classes |
const | Ci = Components.interfaces |
const | Cr = Components.results |
const | Cu = Components.utils |
const | kPrivateBrowsingNotification = "private-browsing" |
const | kPrivateBrowsingCancelVoteNotification = "private-browsing-cancel-vote" |
const | kPrivateBrowsingTransitionCompleteNotification = "private-browsing-transition-complete" |
const | kEnter = "enter" |
const | kExit = "exit" |
const | NS_APP_USER_PROFILE_50_DIR = "ProfD" |
const | NS_APP_HISTORY_50_FILE = "UHist" |
var | dirSvc = Cc["@mozilla.org/file/directory_service;1"].getService(Ci.nsIProperties) |
var | profileDir = null |
try | |
Cc["@mozilla.org/preferences-service;1"] | true |
var | PRIVATEBROWSING_CONTRACT_ID |
catch | ( | e | ) |
Definition at line 70 of file head_privatebrowsing.js.
cleanUp | ( | ) |
Removes any files that could make our tests fail.
Definition at line 106 of file head_privatebrowsing.js.
Cc ["@mozilla.org/preferences-service;1"] getService | ( | Ci. | nsIPrefBranch | ) |
Definition at line 4 of file browser_sanitize-passwordDisabledHosts.js.
if | ( | ! | profileDir | ) |
function LOG | ( | aMsg | ) |
Definition at line 52 of file head_privatebrowsing.js.
function run_test_on_all_services | ( | ) |
Definition at line 135 of file head_privatebrowsing.js.
function shutdownPlaces | ( | ) |
Finalize Places statements during quit-application in order to prevent leaks
Definition at line 128 of file head_privatebrowsing.js.
function uri | ( | spec | ) |
const Cc = Components.classes |
Definition at line 38 of file head_privatebrowsing.js.
const Ci = Components.interfaces |
Definition at line 39 of file head_privatebrowsing.js.
const Cr = Components.results |
Definition at line 40 of file head_privatebrowsing.js.
const Cu = Components.utils |
Definition at line 41 of file head_privatebrowsing.js.
Definition at line 66 of file head_privatebrowsing.js.
const kEnter = "enter" |
Definition at line 46 of file head_privatebrowsing.js.
const kExit = "exit" |
Definition at line 47 of file head_privatebrowsing.js.
const kPrivateBrowsingCancelVoteNotification = "private-browsing-cancel-vote" |
Definition at line 44 of file head_privatebrowsing.js.
const kPrivateBrowsingNotification = "private-browsing" |
Definition at line 43 of file head_privatebrowsing.js.
const kPrivateBrowsingTransitionCompleteNotification = "private-browsing-transition-complete" |
Definition at line 45 of file head_privatebrowsing.js.
const NS_APP_HISTORY_50_FILE = "UHist" |
Definition at line 50 of file head_privatebrowsing.js.
const NS_APP_USER_PROFILE_50_DIR = "ProfD" |
Definition at line 49 of file head_privatebrowsing.js.
var PRIVATEBROWSING_CONTRACT_ID |
Definition at line 134 of file head_privatebrowsing.js.
var profileDir = null |
Definition at line 67 of file head_privatebrowsing.js.
Cc ["@mozilla.org/preferences-service;1"] true |
Definition at line 101 of file head_privatebrowsing.js.
try |
Definition at line 68 of file head_privatebrowsing.js.