mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1218746 - Invalid ClientID Fix in ClientID.jsm. r=gfritzsche
This commit is contained in:
parent
eb3643516f
commit
e7668eb67c
@ -174,6 +174,9 @@ var ClientIDImpl = {
|
||||
|
||||
// Not yet loaded, return the cached client id if we have one.
|
||||
let id = Preferences.get(PREF_CACHED_CLIENTID, null);
|
||||
if (id === null) {
|
||||
return null;
|
||||
}
|
||||
if (!isValidClientID(id)) {
|
||||
this._log.error("getCachedClientID - invalid client id in preferences, resetting", id);
|
||||
Preferences.reset(PREF_CACHED_CLIENTID);
|
||||
|
Loading…
Reference in New Issue
Block a user