mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-08 19:04:45 +00:00
Bug 832325 - Finish the initialization of nsSessionStartup correctly if permanent PB is turned on; r=ttaubert
This commit is contained in:
parent
0e64e088c2
commit
3e9e5b5963
@ -72,8 +72,11 @@ SessionStartup.prototype = {
|
||||
*/
|
||||
init: function sss_init() {
|
||||
// do not need to initialize anything in auto-started private browsing sessions
|
||||
if (PrivateBrowsingUtils.permanentPrivateBrowsing)
|
||||
if (PrivateBrowsingUtils.permanentPrivateBrowsing) {
|
||||
this._initialized = true;
|
||||
gOnceInitializedDeferred.resolve();
|
||||
return;
|
||||
}
|
||||
|
||||
_SessionFile.read().then(
|
||||
this._onSessionFileRead.bind(this)
|
||||
|
Loading…
Reference in New Issue
Block a user