mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-19 14:04:13 +01:00
Override RealSet#add to match Set.add
This commit is contained in:
@@ -206,10 +206,9 @@ var Cache = Module("Cache", XPCOM(Ci.nsIRequestObserver), {
|
||||
}
|
||||
|
||||
if (hasOwnProperty(this.providers, name)) {
|
||||
util.assert(!this.providing.has(name),
|
||||
util.assert(!this.providing.add(name),
|
||||
"Already generating cache for " + name,
|
||||
false);
|
||||
this.providing.add(name);
|
||||
|
||||
let [func, long] = this.providers[name];
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user