Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws.

This commit is contained in:
Florian Queze
2017-04-14 21:51:38 +02:00
parent fbeeb9cd6b
commit 9b4f73599f
834 changed files with 1454 additions and 1473 deletions

View File

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