Backout last change to nsSessionStore.js (from bug 299372), was unrelated testing cruft that snuck into my patch.

This commit is contained in:
dolske@mozilla.com 2008-04-03 13:46:48 -07:00
Родитель f6d8b9c335
Коммит b19009fcf2
1 изменённых файлов: 1 добавлений и 3 удалений

Просмотреть файл

@ -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();
},