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
parent 992e9a914c
commit 265fc02f4b

View File

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