diff --git a/browser/base/content/browser.js b/browser/base/content/browser.js index bf2bec4873dd..240e3005cf8b 100644 --- a/browser/base/content/browser.js +++ b/browser/base/content/browser.js @@ -1478,11 +1478,16 @@ function nonBrowserWindowDelayedStartup() // Set up Sanitize Item initializeSanitizer(); + + // initialize the private browsing UI + gPrivateBrowsingUI.init(); } function nonBrowserWindowShutdown() { BrowserOffline.uninit(); + + gPrivateBrowsingUI.uninit(); } #endif