mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 603272 - starting private browsing from the taskbar button in Win7 doesn't launch Minefield; r=zpao a=gavin
This commit is contained in:
parent
c0da31f7bf
commit
29c8a40a12
@ -367,10 +367,14 @@ SessionStoreService.prototype = {
|
||||
|
||||
/**
|
||||
* Start tracking a window.
|
||||
* Important note: despite its name, this function doesn't initialize
|
||||
* the component!
|
||||
* This function also initializes the component if it's not already
|
||||
* initialized.
|
||||
*/
|
||||
init: function sss_init(aWindow) {
|
||||
// Initialize the service if needed.
|
||||
if (!this._initialized)
|
||||
this.initService();
|
||||
|
||||
if (!aWindow || this._loadState == STATE_RUNNING) {
|
||||
// make sure that all browser windows which try to initialize
|
||||
// SessionStore are really tracked by it
|
||||
@ -386,10 +390,6 @@ SessionStoreService.prototype = {
|
||||
return;
|
||||
}
|
||||
|
||||
// Initialize the service if needed.
|
||||
if (!this._initialized)
|
||||
this.initService();
|
||||
|
||||
// As this is called at delayedStartup, restoration must be initiated here
|
||||
this.onLoad(aWindow);
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user