зеркало из https://github.com/mozilla/pjs.git
Backout last change to nsSessionStore.js (from bug 299372), was unrelated testing cruft that snuck into my patch.
This commit is contained in:
Родитель
f6d8b9c335
Коммит
b19009fcf2
|
@ -1893,9 +1893,7 @@ SessionStoreService.prototype = {
|
|||
this._dirty = aUpdateAll;
|
||||
var oState = this._getCurrentState();
|
||||
oState.session = { state: ((this._loadState == STATE_RUNNING) ? STATE_RUNNING_STR : STATE_STOPPED_STR) };
|
||||
//var oStateString = this._toJSONString(oState);
|
||||
var oStateString = oState.toSource();
|
||||
this._writeFile(this._sessionFile, oStateString);
|
||||
this._writeFile(this._sessionFile, oState.toSource());
|
||||
this._lastSaveTime = Date.now();
|
||||
},
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче