mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-14 05:45:37 +00:00
further fix prefs saving problem by not recording error when ANY prefs file failes to open, just when evaluation fails
This commit is contained in:
parent
4cafca9923
commit
37043e78db
@ -287,7 +287,8 @@ NS_IMETHODIMP nsPref::ReadUserPrefsFrom(nsIFileSpec* inFile)
|
||||
!= PREF_NOERROR)
|
||||
rv = NS_ERROR_FAILURE;
|
||||
JS_EndRequest(gMochaContext);
|
||||
gErrorOpeningUserPrefs = NS_FAILED(rv);
|
||||
// pref_OpenFileSpec will set this for us, we don't need to.
|
||||
// gErrorOpeningUserPrefs = NS_FAILED(rv);
|
||||
return rv;
|
||||
} // nsPref::ReadUserPrefsFrom
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user