mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 395621. SessionStore tries to read sessionstore.js when it doesn't exist. r=dietrich, a=mconnor
This commit is contained in:
parent
19b6fcc0f0
commit
3de9f64d4e
@ -110,7 +110,7 @@ SessionStartup.prototype = {
|
||||
|
||||
// only read the session file if config allows possibility of restoring
|
||||
var resumeFromCrash = this._prefBranch.getBoolPref("sessionstore.resume_from_crash");
|
||||
if (resumeFromCrash || this._doResumeSession()) {
|
||||
if ((resumeFromCrash || this._doResumeSession()) && this._sessionFile.exists()) {
|
||||
// get string containing session state
|
||||
this._iniString = this._readFile(this._sessionFile);
|
||||
if (this._iniString) {
|
||||
|
Loading…
Reference in New Issue
Block a user