Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws.
This commit is contained in:
@@ -164,7 +164,7 @@ let StartupCache = {
|
||||
},
|
||||
};
|
||||
|
||||
Services.obs.addObserver(StartupCache, "startupcache-invalidate", false);
|
||||
Services.obs.addObserver(StartupCache, "startupcache-invalidate");
|
||||
|
||||
class CacheStore {
|
||||
constructor(storeName) {
|
||||
@@ -1061,7 +1061,7 @@ function promiseObserved(topic, test = () => true) {
|
||||
resolve({subject, data});
|
||||
}
|
||||
};
|
||||
Services.obs.addObserver(observer, topic, false);
|
||||
Services.obs.addObserver(observer, topic);
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user